PyBulletClient.get_cached_robot

PyBulletClient.get_cached_robot(robot)[source]

Returns the editable copy of the robot’s model for shadowing the state of the robot on the PyBullet server.

Parameters:
robotcompas_fab.robots.Robot

The robot saved for use with PyBullet.

Returns:
compas_robots.RobotModel
Raises:
Exception

If the robot has not been cached.