Control Servos

Python API can be used to control servos during a simulation. For example, you can write a component script that can manage the movements and target values of joints assigned to a servo.

In this tutorial you learn how to:
  • Get and set joint targets for servo movements.
  • Use joints as triggers and conditions for moving other joints.
  • Calculate and set cycle times for servo movements.
  • Operate a servo in heartbeat mode and use events to modify joint targets

Software Version: 4.0.2


  1. Getting Started
  2. Joint Targets
  3. Joint Conditions
  4. Cycle Times
  5. Joint Movements
  6. Heartbeat Mode