GetRigidBodies¶
-
virtual std::map<std::string, PRigidBody> IRobot::GetRigidBodies() const = 0¶
Gets the collection of rigid bodies of this robot.
- Returns
std::map<std::string, PRigidBody> – Collection of rigid bodies of this robot.
- Throws
CCommunicationErrorException– Protocol error.CConnectionLostException– Connection to controller lost.CObjectDestroyedException– Object is destroyed.CRebootedException– Controller has been rebooted since this object reference was retrieved, invalidating this reference.