@tom There is also another anomaly: voxl-inspect-battery shows voltage and current, but charge is listed as 0%. Is there some service that needs to be restarted/configured, like voxl-px4, in order to get a reading of the battery charge?
I also ran px4-listener battery_status which also doesn't seem right. The cells that came with the Starling MAX I believe are 7.2V (two 2s in series, so 4 cells total).
voxl2:/$ px4-listener battery_status
TOPIC: battery_status
battery_status
timestamp: 1051478873 (0.067609 seconds ago)
voltage_v: 5.76600
voltage_filtered_v: 5.76056
current_a: 1.00800
current_filtered_a: 0.96054
current_average_a: 3.40000
discharged_mah: 299.21326
remaining: 0.00000
scale: 1.30000
time_remaining_s: 0.00000
temperature: nan
voltage_cell_v: [0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000]
max_cell_voltage_delta: 0.00000
custom_faults: 0
average_power: 0.00000
available_energy: 0.00000
full_charge_capacity_wh: 0.00000
remaining_capacity_wh: 0.00000
design_capacity: 0.00000
nominal_voltage: 0.00000
capacity: 3950
cycle_count: 0
average_time_to_empty: 0
serial_number: 0
manufacture_date: 0
state_of_health: 0
max_error: 0
interface_error: 0
faults: 0
average_time_to_full: 0
over_discharge_count: 0
connected: True
cell_count: 4
source: 0
priority: 0
id: 1
is_powering_off: False
is_required: False
warning: 3
mode: 0
Do I need to change the POWER_MANAGER in /etc/modalai/voxl-px4.conf from VOXLPM to NONE and restar the voxl-px4 service? The comments seem to indicate that we should be using NONE with the Mini-ESC 4 in1:
# POWER_MANAGER:
# Tell PX4 which power manager to use.
# Use NONE for ModalAI Mini-ESC since the ESC driver handles PM.
# Use EXTERNAL when not using the ModalAI APM power manager to power the board
# This also just disables the voxlpm driver, same as the NONE option
# Options include: [VOXLPM, EXTERNAL, NONE]