gz/physics/Link.hh
Go to the documentation of this file.
The implementation API for setting force/torque on a link.
Definition: gz/physics/Link.hh:106
virtual void AddLinkExternalTorqueInWorld(const Identity &_id, const AngularVectorType &_torque)=0
typename FromPolicy< PolicyT >::template Use< AngularVector > AngularVectorType
Definition: gz/physics/Link.hh:111
virtual void AddLinkExternalForceInWorld(const Identity &_id, const LinearVectorType &_force, const LinearVectorType &_position)=0
typename FromPolicy< PolicyT >::template Use< LinearVector > LinearVectorType
Definition: gz/physics/Link.hh:108
The Link API for adding link force/torque.
Definition: gz/physics/Link.hh:37
typename FromPolicy< PolicyT >::template Use< RelativePosition > RelativePositionType
Definition: gz/physics/Link.hh:42
typename FromPolicy< PolicyT >::template Use< AngularVector > AngularVectorType
Definition: gz/physics/Link.hh:48
void AddExternalTorque(const AngularVectorType &_torque, const FrameID &_inCoordinatesOf=FrameID::World())
Add an external torque on the link. The torque is applied for one simulation step only.
void AddExternalTorque(const RelativeTorqueType &_torque)
Add an external torque on the link. The torque is applied for one simulation step only.
typename FromPolicy< PolicyT >::template Use< RelativeTorque > RelativeTorqueType
Definition: gz/physics/Link.hh:51
void AddExternalForce(const RelativeForceType &_force, const RelativePositionType &_position)
Add a force on the link applied at a specified position. This force is applied for one simulation ste...
typename FromPolicy< PolicyT >::template Use< LinearVector > LinearVectorType
Definition: gz/physics/Link.hh:39
typename FromPolicy< PolicyT >::template Use< RelativeForce > RelativeForceType
Definition: gz/physics/Link.hh:45
void AddExternalForce(const LinearVectorType &_force, const FrameID &_forceInCoordinatesOf=FrameID::World(), const LinearVectorType &_position=LinearVectorType::Zero())
Add a force on the link applied at a specified position. This force is applied for one simulation ste...
Definition: gz/physics/Link.hh:33
Definition: gz/physics/Feature.hh:93
Container for specifying Frame IDs. We do not want to use a generic integer type for this,...
Definition: gz/physics/FrameID.hh:47
Base class for the API of a Frame. This will be inherited by any objects that are able to express Fra...
Definition: gz/physics/FrameSemantics.hh:101
If your feature is known to require any other features, then you should have your feature class inher...
Definition: gz/physics/FeatureList.hh:118
This struct is used to conveniently convert from a policy to a geometric type. Example usage:
Definition: gz/physics/Geometry.hh:78