O'Reilly logo

Make: JavaScript Robotics by Rick Waldron, Backstop Media

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Controlling a Hexapod with Johnny-Five

In this chapter, you will learn how to build a simple walking hexapod—a six-legged robot. The hexapod in this chapter, shown in Figure 5-1, will have three joints in each leg. The robot will be controlled using Johnny-Five’s Animation class. The Animation class is useful for scripting servos over time. It gives us a timeline, key frames, tweening, and easing functions. When you are done, you will have an excellent platform for building a more complex and interesting robot in the future.

mjsr 05in01
Figure 5-1. The finished hexapod

Bill of Materials

The materials used in this chapter are ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required