Servos are great tools for creating movement in our robotics projects but we need more control in order to create truly mobile walking robots. Each servo is different; for example, each servo moves at slightly different max speeds. If you want a bot to walk, you need timing control, and the ability to know when a servo has finished its movement. Enter the animation library; this powerful tool inside Johnny-Five allows you to fine-tune your servo movements to allow you more in-depth control.
The following topics will be covered in this chapter:
- Animating movement
- The terminology of the animation library
- The construction of the animation object
- Easing into your servo animations
- Learning more about queuing and playing animation segments
- Animation object events