These are chat archives for dronekit/dronekit-android

Mar 2016
Mar 03 2016 22:39
Hi, I am trying to get 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();