dennisss / tansa

Dancing Robotics Platform
MIT License
39 stars 16 forks source link

GUI - Transition from prepare only when successful #116

Open zls29 opened 7 years ago

zls29 commented 7 years ago

'Prepare' currently always transitions to 'play' in the GUI. The backend should send a confirmation that the GUI will receive, only transitioning to the 'play' mode when 'prepare' is successful.

dennisss commented 7 years ago

Backend already sends a playing boolean to the GUI periodically. GUI should read the current state from the last status message received rather than maintaining its own state.