_modular_robot_control_interface_impl

Module Contents

Classes

ModularRobotControlInterfaceImpl

Implementation for ModularRobotControlInterface.

class ModularRobotControlInterfaceImpl(simulation_control: revolve2.simulation.scene.ControlInterface, body_to_multi_body_system_mapping: modular_robot_simulation._build_multi_body_systems.BodyToMultiBodySystemMapping)

Bases: revolve2.modular_robot.ModularRobotControlInterface

Inheritance diagram of modular_robot_simulation._modular_robot_control_interface_impl.ModularRobotControlInterfaceImpl

Implementation for ModularRobotControlInterface.

set_active_hinge_target(active_hinge: revolve2.modular_robot.body.base.ActiveHinge, target: float) None

Set the position target for an active hinge.

Parameters:
  • active_hinge – The active hinge to set the target for.

  • target – The target to set.