These are chat archives for dronekit/dronekit-android

21st
Apr 2016
pablomar13
@pablomar13
Apr 21 2016 22:18
Hi,
Has someone been able to change the colour of the LED's under the motor pods?
Fredia Huya-Kouadio
@ne0fhyk
Apr 21 2016 22:19
@pablomar13 that functionality is not supported.
pablomar13
@pablomar13
Apr 21 2016 22:19
Dammit
thanks @ne0fhyk
Fredia Huya-Kouadio
@ne0fhyk
Apr 21 2016 22:20
@pablomar13 no problem :)
pablomar13
@pablomar13
Apr 21 2016 22:22
And to get raw data from gyroscope or accelerometer? Or simply speed in x,y,z ref?
Gotta use getVerticalSpeed() and getGroundSpeed()?
Fredia Huya-Kouadio
@ne0fhyk
Apr 21 2016 22:24
yea
and you can get the attitude info from the Attitude object
pablomar13
@pablomar13
Apr 21 2016 22:25
Better than nothing I guess... geez the ammount of work :(
yeah yeah
got so much stuff going on with AttributeEvent that I'm starting to worry about the performance
Fredia Huya-Kouadio
@ne0fhyk
Apr 21 2016 22:27
there's an asynchronous version of the call if you're worried about doing too much on the main thread
pablomar13
@pablomar13
Apr 21 2016 22:34
I may have to 'asynchronize' some stuff but I'm trying to go for real time as much as I can...
Fredia Huya-Kouadio
@ne0fhyk
Apr 21 2016 22:38
before doing so, try to measure the impact of the multiple calls to getAttribute(). For the solo and the Tower app, I started with using the async variant before I realized through benchmarking that the synchronous call had not much impact on the main thread...
pablomar13
@pablomar13
Apr 21 2016 22:55
I'm testing through every change on my code... so far so good
But thanks for the tip