Summary

We covered many new topics as we made our smartest robot yet.

We introduced two navigation sensors used by self-driving cars in the real world: the GPS receiver and the magnetic compass. We discussed how they work and learned about the basic principles behind using these sensors.

Before we started programming, we learned how to import third-party software into the EV3 software to allow us to use these sensors with the EV3. We wrote a simple program to test the GPS and get a feel for using the sensor. Then, we wrote a more sophisticated navigation program in which the EV3 used its GPS and compass to navigate to a pair of coordinates defined by the user. While programming, we expanded our knowledge of MyBlocks by introducing parameters, ...

Get Building Smart LEGO MINDSTORMS EV3 Robots 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.