These are chat archives for dronekit/dronekit-android
@fernando-s97 , I'm using the latest code from Master. Regarding an example, just start with the MainActivity example under dronekit-android/samples/StarterApp/src/main/java/org/droidplanner/sample/hellodrone/MainActivity.java
I'm trying to create simple mission:
Mission myMission = new Mission();
Takeoff to = new Takeoff();
ReturnToLaunch rtl = new ReturnToLaunch();
//set Altitude in meters
The problem is that sometimes it works, and sometimes it doesn't...
I don't know why it not working... I'm not getting any errors in the code.
I'm listening to the
but only the
AttributeEvent.MISSION_UPDATED is fired when I run the code.
I just don't understand why it is working sometimes and sometimes not.
I did make sure that the drone connected to the app.
Also I made sure that the drone is ok, and arm-able.
I really stuck here... and any help will be appreciated.
Again, as stated in the library it is pretty straight.
eventsDispatchingPeriod Dictates how long (in milliseconds) to wait before dispatching
buffered drone events. A value of OL means events should be
dispatched as soon as they are received.