DroidPlanner / tower-pebble

Other
4 stars 12 forks source link

Clicking pause sometimes changes to "guided" #14

Closed squilter closed 9 years ago

squilter commented 9 years ago

Clicking pause should change to guided::pause but instead just changes to guided. Not sure if it isn't changing the mode properly after clicking pause, or if the app isn't parsing the mode properly.

squilter commented 9 years ago

@ne0fhyk I have a suspicion that this bug might be in 3DR-Services. Here's a brief explanation:

Step 1: Call drone.pauseAtCurrentLocation();

Step 2: Get drone.getAttribute(AttributeType.GUIDED_STATE).isIdle();

Expected outcome is that the mode changes to guided and that the second call starts returning true. That usually happens. But sometime the mode changes to guided but the second call continues returning false.

m4gr3d commented 9 years ago

@squilter found and fixed the issue. It should be in version 1.2.5.beta.

squilter commented 9 years ago

Great, Thanks!