RobotModelArtist.update

RobotModelArtist.update(joint_state, visual=True, collision=True)[source]

Triggers the update of the robot geometry.

Parameters
  • joint_state (dict or compas.robots.Configuration) – A dictionary with joint names as keys and joint positions as values.

  • visual (bool, optional) – True if the visual geometry should be also updated, otherwise False. Defaults to True.

  • collision (bool, optional) – True if the collision geometry should be also updated, otherwise False. Defaults to True.