Copter-4.7.0-beta8 has been released for beta testing and can be downloaded using Mission Planner, QGC or directly downloaded from firmware.ardupilot.org.
As with earlier, versions, if you’re using QGC, please use the daily build which has been updated for the parameter changes in 4.7.
I just had a autotune crash on beta8. TBS lucid h7 board, tekko f4 am32 esc’s. I have run autotune several times in the past on this rig, first time crash and just upgraded to beta 8. Any help is apperciated.
This file is not a *.bin log, it is a *.log log, plot.ardupilot.log do not parse *.log logs, and right now I don’t have anything else to analyse logs. I would suggest you check whether the extension is correct before uploading and giving hope.
If you open it in a text editor, you will see it’s not a binary, it’s a CSV file. The extension is misleading. I would imagine that if one wants to support both formats, this text-based and the true binary format, it’s totally possible to ignore the extension whatsoever. But web tools chose not to support the text-based format. (And for numerous reasons I will not use Mission Planner anyway)
I found a compilation bug in the Custom Firmware Builder for Copter 4.7.0 on Pixhawk1.
When AP_COMPASS_IST8310 is disabled/deselected from the feature list, the build fails in AP_Compass.cpp because _probe_external_i2c_compasses() still references AP_COMPASS_IST8310_DEFAULT_ROTATION, which is not defined when the driver is omitted.
Error output:
Plaintext
../build_src/libraries/AP_Compass/AP_Compass.cpp: In member function 'void Compass::_probe_external_i2c_compasses()':
../build_src/libraries/AP_Compass/AP_Compass.cpp:1264:42: error: 'AP_COMPASS_IST8310_DEFAULT_ROTATION' was not declared in this scope
1264 | enum Rotation default_rotation = AP_COMPASS_IST8310_DEFAULT_ROTATION;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated due to -Wfatal-errors.[cite: 1]
Workaround: Re-enabling AP_COMPASS_IST8310 allows the compilation to succeed without errors[cite: 1].
I attached the full build.log file[cite: 1]. Looks like a missing #ifdef AP_COMPASS_IST8310_ENABLED guard in AP_Compass.cpp[cite: 1].
Txs very much for the report! I’ve added it to the 4.7 issues list so hopefully we can get a fix and backport it. If you’re up for creating a PR that’s also very welcome but no pressure, thanks!
EDIT: we’ve got this PR that should resolve the issue so we will include this in 4.7.1
Thanks a lot for the quick update and fix, Randy! It’s great to talk to you again after a while. Really appreciate all your hard work as always. Cheers!