upkie  11.0.0
Open-source wheeled biped robots

◆ get_position_link_in_world()

Eigen::Vector3d upkie::cpp::interfaces::bullet::get_position_link_in_world ( b3RobotSimulatorClientAPI &  bullet,
int  robot,
int  link_index 
)
inlinenoexcept

Get the position of a link frame in the world frame.

Parameters
[in]bulletBullet client.
[in]robotIndex of the robot to search.
[in]link_indexIndex of the link frame.
Returns
Link index if found, -1 otherwise.
Note
This function will recompute forward kinematics.