_control_interface_impl

Module Contents

Classes

ControlInterfaceImpl

Implementation of the control interface for MuJoCo.

class ControlInterfaceImpl(data: mujoco.MjData, abstraction_to_mujoco_mapping: mujoco_simulator._abstraction_to_mujoco_mapping.AbstractionToMujocoMapping)

Bases: revolve2.simulation.scene.ControlInterface

Inheritance diagram of mujoco_simulator._control_interface_impl.ControlInterfaceImpl

Implementation of the control interface for MuJoCo.

set_joint_hinge_position_target(joint_hinge: revolve2.simulation.scene.JointHinge, position: float) None

Set the position target of a hinge joint.

Parameters:
  • joint_hinge – The hinge to set the position target for.

  • position – The position target.