harmsm / rpyBot

software for controlling an autonomous car via a raspberry pi
MIT License
0 stars 1 forks source link

Improve messaging #10

Closed harmsm closed 9 years ago

harmsm commented 9 years ago

Improved messaging significantly. Three major changes. 1) device messages are now lists of messages rather than individuals. This means that multiple messages can stack up without wiping one another out. 2) devices automatically ping back the message they receive when they execute it and 3) web client interface only updates user interface when it receives the ping back. This means that the interface reflects the state of the robot rather than what the user hopes the state of the robot is. This will introduce latency, but the new button will appear selected prior to updating, so the user has a cue that they did indeed push the button. On my cell network/comcast (LTE, in city) the latency is barely noticeable.