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