Parameters that describe the kinematic frame and force-production properties of a single propeller.
#include <drake/multibody/plant/propeller.h>
Public Member Functions | |
PropellerInfo (const BodyIndex &body_index_, const math::RigidTransform< double > &X_BP_=math::RigidTransform< double >::Identity(), double thrust_ratio_=1.0, double moment_ratio_=0.0) | |
Implements CopyConstructible, CopyAssignable, MoveConstructible, MoveAssignable | |
PropellerInfo (const PropellerInfo &)=default | |
PropellerInfo & | operator= (const PropellerInfo &)=default |
PropellerInfo (PropellerInfo &&)=default | |
PropellerInfo & | operator= (PropellerInfo &&)=default |
Public Attributes | |
BodyIndex | body_index |
The BodyIndex of a RigidBody in the MultibodyPlant to which the propeller is attached. More... | |
math::RigidTransform< double > | X_BP {} |
Pose of the propeller frame P measured in the body frame B. More... | |
double | thrust_ratio {1.0} |
The z component (in frame P) of the spatial force will have magnitude thrust_ratio*command in Newtons. More... | |
double | moment_ratio {0.0} |
The moment about the z axis (in frame P) of the spatial force will have magnitude moment_ratio*command in Newton-meters. More... | |
|
default |
|
default |
|
explicit |
|
default |
|
default |
BodyIndex body_index |
The BodyIndex of a RigidBody in the MultibodyPlant to which the propeller is attached.
The spatial forces will be applied to this body.
double moment_ratio {0.0} |
The moment about the z axis (in frame P) of the spatial force will have magnitude moment_ratio*command
in Newton-meters.
The default is 0, which makes the propeller a simple Cartesian force generator.
double thrust_ratio {1.0} |
The z component (in frame P) of the spatial force will have magnitude thrust_ratio*command
in Newtons.
The default is 1 (command in Newtons), but this can also be used to scale an actuator command to the resulting force.
math::RigidTransform<double> X_BP {} |
Pose of the propeller frame P measured in the body frame B.
Default: is the identity matrix.