These are chat archives for dronekit/dronekit-android

8th
Apr 2016
chaviw
@chaviw
Apr 08 2016 00:17
@pablomar13 Why not use has3DLock()
Ahmed Agbabiaka
@franknitty69
Apr 08 2016 04:41
@pablomar13 i was able to get gps status using getFixStatus(). if you look at the dk android starter you'll see onDroneEvent. duplicate the switch case for altitude but change it to AttributeEvent.GPS_FIX and change it to call a new method. duplicate the updateAltitude method and name it whatever you called it in the GPS_FIX case statement. in this new method use AttributeType.GPS and getFixStatus()
pablomar13
@pablomar13
Apr 08 2016 18:09
@chaviw @franknitty69 thank you both. Sometimes the answer is right in front of your face and you don't see it...