upkie 6.1.0
Open-source wheeled biped robots
|
Child class to enable modification of inertia matrices. More...
#include <RobotSimulator.h>
Public Member Functions | |
bool | changeDynamics (int bodyUniqueId, int linkIndex, RobotSimulatorChangeDynamicsArgs &args) |
Modifies the dynamic properties of a link. More... | |
Child class to enable modification of inertia matrices.
bool upkie::cpp::actuation::bullet::RobotSimulatorClientAPI::changeDynamics | ( | int | bodyUniqueId, |
int | linkIndex, | ||
RobotSimulatorChangeDynamicsArgs & | args | ||
) |
Modifies the dynamic properties of a link.
This is a variant of b3RobotSimulatorClientAPI::changeDynamics that allows updating inertia matrices as well. Its usage is identical to the original.
[in] | bodyUniqueId | The body which links will be modified |
[in] | linkIndex | The link id |
[in] | args | Structure which contains the values to modify |