These are chat archives for dronekit/dronekit-android

3rd
Aug 2016
Bill Bonney
@billbonney
Aug 03 2016 05:30
@ne0fhyk Are you rewriting the functionality from scratch?
Fredia Huya-Kouadio
@ne0fhyk
Aug 03 2016 07:09
@billbonney partially.. I'm focusing on stabilizing the library first. The layer 'inspired' by 3DR Services will be rewritten once that first goal is accomplished. That layer is minimal as most of the 3DR Services machinery relies on the dronekit-android library
pablomar13
@pablomar13
Aug 03 2016 15:44
@ne0fhyk you guys want to be able to run dronekit apps without 3DR Services App?
Kelly Schrock
@kellyschrock
Aug 03 2016 15:44
Yes. That's what I'm doing.
pablomar13
@pablomar13
Aug 03 2016 15:44
Awesome!
Fredia Huya-Kouadio
@ne0fhyk
Aug 03 2016 16:19
@pablomar13 yes, it's supported in the version_3.0 branch. It's not yet ready for release, but it's fairly stable, so feel free to give a try.
Kelly Schrock
@kellyschrock
Aug 03 2016 16:19
I've been using it, and so far haven't seen anything strange. Looking good.
pablomar13
@pablomar13
Aug 03 2016 17:39
@ne0fhyk I will once it's out :)
Fredia Huya-Kouadio
@ne0fhyk
Aug 03 2016 17:40
@pablomar13 sounds good.. although I may have to delay the release a bit more, I didn't get to work on it as much as I hoped due to some other tasks at work
pablomar13
@pablomar13
Aug 03 2016 17:42
@ne0fhyk oh that's fine. I'm done coding in my app. I just wish there's not much to change when the new release comes out.
Fredia Huya-Kouadio
@ne0fhyk
Aug 03 2016 17:43
@pablomar13 all the deprecated methods were removed, so as long as you're not using any of them, you should be good to go
pablomar13
@pablomar13
Aug 03 2016 17:44
@ne0fhyk oh damn, then I'll have to remove the Connection Result...
Fredia Huya-Kouadio
@ne0fhyk
Aug 03 2016 17:45
@pablomar13 there are also updates to the way the connection parameters are being constructed. You can now specify where the tlog datalog should be stored, and whether to buffer the telemetry events
pablomar13
@pablomar13
Aug 03 2016 17:51
@ne0fhyk that sounds great.
@ne0fhyk though, I still don't get how you implement DroneListener with no onDroneDisconnected(ConnectionResult) method...
Fredia Huya-Kouadio
@ne0fhyk
Aug 03 2016 18:00
@pablomar13 DroneListener doesn't contain the onDroneDisconnected(ConnectionResult) method anymore. Instead you can pass a LinkListener instance to the Drone#connect(...) method
pablomar13
@pablomar13
Aug 03 2016 18:01
@ne0fhyk ok, then I'll just have to delete it...
Fredia Huya-Kouadio
@ne0fhyk
Aug 03 2016 18:01
The events passed to the LinkListener instance are a superset of the events that were provided by ConnectionResult.