Challenges
Try these ideas to enhance your learning from this chapter:
- Sketch out another simple path and write code for the robot to follow it. For example, try to get it to follow a figure-of-eight shape.
- What topics would you subscribe to if you had an additional output to control – perhaps some LED (light-emitting diode) lights?
- Consider how you would lay out a service for a robot with kart-style steering. What topics would it use? You don't need to write the code yet, but having an interface in mind is a good start. Hint: It would probably have one motor speed for the drive and a motor position for the steering.