For our final act, we will get T.A.R.A.S to respond to control signals sent using MQTT from a JavaScript client. We will do this by modifying the code we have wrote up to this point. If you have been reading this book from the start, thank you for your perseverance. It has been a long journey to get here. We have finally made it. By the end of this chapter, we will have finished building the ultimate in IoT devices, an internet-controlled robot car.
Buckle up (pun intended)—it's time to take T.A.R.A.S to the next level.
In this chapter we will cover following topics:
- Build a JavaScript client to connect to our Raspberry Pi
- JavaScript client to access our Robot Carʼs sensory data
- Enhance our JavaScript client to control our Robot Car