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

◆ find_link_index()

int find_link_index ( b3RobotSimulatorClientAPI &  bullet,
int  robot,
const std::string &  link_name 
)
inlinenoexcept

Find the index of a link.

Parameters
[in]bulletBullet client.
[in]robotIndex of the robot to search.
[in]link_nameName of the searched link.
Returns
Link index if found, -1 otherwise.