Technical requirements
For this chapter, you will need the following items:
- The robot from at least Chapter 14, Line-Following with a Camera in Python
- The robot code from Chapter 14, Line-Following with a Camera in Python, at https://github.com/PacktPublishing/Learn-Robotics-Programming-Second-Edition/tree/master/chapter14
- The IMU code from Chapter 12, IMU Programming with Python, at https://github.com/PacktPublishing/Learn-Robotics-Programming-Second-Edition/tree/master/chapter12
- A wide driving space without many magnets
- A magnetic compass
For the complete code for this chapter, go to https://github.com/PacktPublishing/Learn-Robotics-Programming-Second-Edition/tree/master/chapter16.
Check out the following video to see the Code in Action: https://bit.ly/2LztwOO