upkie 9.0.0
Open-source wheeled biped robots
Loading...
Searching...
No Matches

◆ changeDynamics()

bool 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.

Parameters
[in]bodyUniqueIdThe body which links will be modified
[in]linkIndexThe link id
[in]argsStructure which contains the values to modify
Returns
True if changes were applied successfully, false if there was an issue.