Stores the contact wrench (spatial force) from Body A to Body B applied at point Cb.
#include <drake/multibody/optimization/contact_wrench.h>
Public Member Functions | |
ContactWrench (BodyIndex bodyA_index_in, BodyIndex bodyB_index_in, Eigen::Vector3d p_WCb_W_in, SpatialForce< double > F_Cb_W_in) | |
Refer to the documentation for each attribute. More... | |
Public Attributes | |
BodyIndex | bodyA_index |
The index of Body A. More... | |
BodyIndex | bodyB_index |
The index of Body B. More... | |
Eigen::Vector3d | p_WCb_W |
The position of the point Cb (where the wrench is applied) expressed in the world frame W. More... | |
SpatialForce< double > | F_Cb_W |
F_Cb_W_in The wrench (spatial force) applied at point Cb from Body A to Body B, measured in the world frame. More... | |
ContactWrench | ( | BodyIndex | bodyA_index_in, |
BodyIndex | bodyB_index_in, | ||
Eigen::Vector3d | p_WCb_W_in, | ||
SpatialForce< double > | F_Cb_W_in | ||
) |
Refer to the documentation for each attribute.
BodyIndex bodyA_index |
The index of Body A.
BodyIndex bodyB_index |
The index of Body B.
SpatialForce<double> F_Cb_W |
F_Cb_W_in The wrench (spatial force) applied at point Cb from Body A to Body B, measured in the world frame.
Eigen::Vector3d p_WCb_W |
The position of the point Cb (where the wrench is applied) expressed in the world frame W.