connect button will show different stage:
-connnect to dronee
-connecting
-connected, press to disconnect
-disconnected
and works as described
time countdown is more accurate
TODO: handle the case where user unload the page without pressing the disconnect button, currently user remaining time will not be set if user turn off the page directly
connect button will show different stage: -connnect to dronee -connecting -connected, press to disconnect -disconnected and works as described time countdown is more accurate TODO: handle the case where user unload the page without pressing the disconnect button, currently user remaining time will not be set if user turn off the page directly