These are chat archives for dronekit/dronekit-android

7th
Jul 2016
Fredia Huya-Kouadio
@ne0fhyk
Jul 07 2016 16:42
@phmagic the issue @TShapinsky found has to be affecting the iOS app, and the Site scan app. Is there a resolution in sight?
Phu Nguyen
@phmagic
Jul 07 2016 17:17
the drone altitude?
TShapinsky
@TShapinsky
Jul 07 2016 17:43
Yesterday I sat down with Nick and made bug report.
Fredia Huya-Kouadio
@ne0fhyk
Jul 07 2016 17:46
@phmagic yes
@TShapinsky is that issue also affecting the iOS and SiteScan app?
TShapinsky
@TShapinsky
Jul 07 2016 17:48
It'll affect iOS but not site scan is currently running on an older version of ardupilot solo
Mouli
@MouliKav
Jul 07 2016 18:55
Hi, I am trying to read the battery voltage from the drone, but I am getting Voltage 0.0, Current -0.01 and Battery remain in -1.0. Could anyone help me with that? battery=this.drone.getAttribute(AttributeType.BATTERY);
double voltage=battery.getBatteryVoltage();
double current=battery.getBatteryCurrent();
double batteryRemain=battery.getBatteryRemain();
TShapinsky
@TShapinsky
Jul 07 2016 19:14
@MouliKav when you connect with tower do you get a battery reading?
Mouli
@MouliKav
Jul 07 2016 19:28
yes
I get the same reading
Mouli
@MouliKav
Jul 07 2016 19:47
Sorry
I just tried and got 19.2V
in tower app
TShapinsky
@TShapinsky
Jul 07 2016 20:37
@MouliKav is that what you should be getting?
Mouli
@MouliKav
Jul 07 2016 20:37
yes :P
When I tried few days back I got 0.0
I think it is because of the battery
TShapinsky
@TShapinsky
Jul 07 2016 20:38
are you still getting the weird values when you run your code or is that fixed aswell
Mouli
@MouliKav
Jul 07 2016 20:39
Yes that is fixed too
TShapinsky
@TShapinsky
Jul 07 2016 20:39
cool :thumbsup:
Mouli
@MouliKav
Jul 07 2016 20:39
I will check with another battery and update the result
Thank you :)