ESC Calibration Error Voxl2
-
This post is deleted! -
@AP123
Same question here,
Did you solve the this?
-
@Abdullah01 , the original issue was that ESC calibration was actually done without propellers mounted, you can see the current at 94% power was very small, 0.4A
However, the script still produced the a0, a1, a2 parameters (which would have been wrong to use because calibration was done without a propeller..)
The error at the end was a result of attempted plot - since voxl2 does not have a display attached, the plot failed. Since that version, we have transitioned to using
plotlyfor plotting, and calibration plots are saved to disk in addition to attempt to plot it to display. The plot feature was updated after SDK 1.1.2 release, but you can get it directly from gitlab here : https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-esc/-/blob/dev/voxl-esc-tools/voxl-esc-calibrate.py (just get the wholevoxl-escrepo from dev branch on your voxl2 and run the calibration procedure).Meanwhile, we will add additional checking of the calibration to catch the conditions that do not look like proper calibration (when propeller is not mounted, etc..).