Navio2 ECS Calibration with QGroundControl

Hi guys!

I use Navio2 with the Raspberry Pi3 running v1.5.1rc4. I can go trough the configuration steps until I reach the ECS part, where QGroundControl not let me pass it gives me the following error:

WARN [commander] [cal] calibration failed: Disconnect battery and try again

I tried with master, v1.4.1, v1.4.4 also the problem is still the same. I use the latest Emlid Raspbian Image from:
https://files.emlid.com/images/emlid-raspbian-20160718.img.xz

I try to configure it trough a wifi connection, and it gives me the same error regardless if Im powering the Navio from the lipos or micro USB(I even tried starting on the lipo and after the warn message connect with USB and disconnect the lipo but no luck).

Do you have any idea how can I get this done?

Thanks!!

Peter

And an output example:

pi@navio:/data/v1.5.1rc4 $ sudo ./px4 px4.config
commands file: px4.config


| ___ \ \ \ / / / |
| |/ / \ V / / /| |
| __/ / \ / /
| |
| | / /^\ \ ___ |
_| / / |_/

px4 starting.

SYS_AUTOSTART: curr: 0 → new: 4001
MAV_BROADCAST: curr: 0 → new: 1
Sleeping for 1 s; (1000000 us).
WARN [commander] No RGB LED found at /dev/rgbled0
WARN [commander] Buzzer: px4_open fail

WARN [commander] Buzzer init failed
WARN [commander] Preflight checks always pass on RPI.
INFO [mavlink] mode: Normal, data rate: 1000000 B/s on udp port 14556 remote port 14550
Sleeping for 1 s; (1000000 us).
INFO [mavlink] mode: Normal, data rate: 2880 B/s on /dev/ttyUSB0 @ 57600B
WARN [mavlink] could not open /dev/ttyUSB0
WARN [mavlink] mavlink for device /dev/ttyUSB0 is not running
Command ‘mavlink’ failed, returned 1
WARN [mavlink] mavlink for device /dev/ttyUSB0 is not running
Command ‘mavlink’ failed, returned 1
pxh> INFO [logger] logger started (mode=all)
INFO [mavlink] using network interface wlan0, IP: 192.168.1.70
INFO [mavlink] with broadcast IP: 192.168.1.255
INFO [navio_sysfs_pwm_out] Loaded mixer from file ROMFS/px4fmu_common/mixers/quad_x.main.mix
WARN [position_estimator_inav] [inav] GPS signal found
WARN [position_estimator_inav] init ref: lat=47.4887443, lon=19.0005043, alt=267.7090
INFO [commander] home: 47.4887443, 19.0005043, 267.83
INFO [mavlink] partner IP: 192.168.1.68
WARN [commander] Preflight checks always pass on RPI.
INFO [commander] [cal] calibration started: 2 esc
WARN [commander] [cal] calibration failed: Can’t open PWM device
INFO [commander] [cal] calibration started: 2 esc
WARN [commander] [cal] calibration failed: Disconnect battery and try again

Hi,

The ESC calibration is not supported on Navio. It is designed for Pixhawk. We might eventually add support for it on Navio, however, things are generally moving to UART or CAN ESCs which do not use / require calibration.

You can calibrate the ESCs as well with your radio transmitter and set the PWM MIN and PWM MAX values in PX4 to the correct levels.

-Lorenz

Ohh I see :smiley: Thanks Lorenz!

Is there any update on calibrating ESCs with Navio2 and QGC?

Thanks
Prasanth