pioneers / dawn-v0

(archived; now in PiECentral) Dawn is a cross-platform frontend for the Pioneers in Engineering robotics control system.
https://pioneers.berkeley.edu
4 stars 33 forks source link

Rework Dawn's system of knowing whether it's connected or not. #196

Closed AllanYangZhou closed 8 years ago

AllanYangZhou commented 8 years ago

Currently Dawn displays "disconnected" if it does not receive data from runtime for a period of time. However, it is possible for Dawn to be connected to the robot and also not receive data from runtime (for example if it crashed). To make things clearer we should have "disconnected" mean not connected to robot (something we can discern through Socket.IO's connect and disconnect events), and "Rutnime error" (or something like that) when it is connected but not receiving data from the Runtime.