Skip to content

Fixed some errors in robots/ur_robot.py and learning/robots/inv_pen_motor.py

  • robots/ur_robot.py: Added parameter "self._model" to methods "set_joint_q", "get_sensor_data", "get_actuator_ctrl" everywhere. Running pick_and_place.py would error because the file robots/ur_robot.py would error out, given that the parameter "self._model" was missing at several method calls.

  • learning/robots/inv_pen_motor.py: in constructor site_name2id was replaced with actuator_name2id in "self._actuator_ids = [site_name2id(self._model, "motor")]" Fixed error due to actuator name2id conversion being done using the method site_name2id() which is not possible.

Merge request reports