April 2018
Intermediate to advanced
248 pages
5h 31m
English
Let's now start sending the commands from MQTT.fx client and see our car in motion.
To move forward, we publish the message forward on topic controlPi/cmd as shown in Figure 8.12.
Command:

On the Subscribe tab we will see the message move forward as acknowledgment sent back from the car as a confirmation that the car is moving forward now. Refer to the following screenshot:
Acknowledgment:

To move backward/reverse we publish command reverse; the car will start moving in a backward direction, the ...
Read now
Unlock full access