This is a node.js app that runs on a PCDuino-controlled 2-wheel Robot. The app can receive and act on MQTT commands from IoT Foundation framework running on IBM Bluemix.
The app reports back on 2 kinds of telemetries from the Robot:
1- The speed of Robot through its wheel encoders.
2- The distance of an object in front of the Robot through infrared sensor (2-80cm range).