8

shot-roller: a robotic defense system

Now that you’ve learned how to control motors, use sensors, and program the NXT, you can begin making more complex machines. This chapter will show you how to build and program the Shot-Roller (Figure 8-1). This three-wheeled construction can shoot balls in any direction.

NOTE Enjoy the Shot-Roller, but remember to never shoot at people! As long as you respect the safety of others, this is not a dangerous robot.

The Shot-Roller can operate in either autonomous or remote-control mode. In autonomous mode, it does everything by itself. You can program it to look around and shoot at targets detected by the Ultrasonic Sensor or to respond to light signals using the Color Sensor. In remote-control mode, you use ...

Get The LEGO MINDSTORMS NXT 2.0 Discovery Book now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.