You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The environment where I use the vehicle is not suitable for the magnetometer, so in older versions of the PX4 Autopilot software, I disabled the magnetometer on the vehicle using the 'make px4_fmu-v6c_default boardconfig' command followed by 'modules->ekf2->mag disable'. However, after updating to the latest version of the PX4 Autopilot software, I encountered errors when performing the same procedure.
error:
/ekf2/EKF2.cpp:2838:28: error: 'vehicle_magnetometer_s' was not declared in this scope; did you mean 'vehicle_odometry_s'?
2838 | uORB::SubscriptionData<vehicle_magnetometer_s> vehicle_mag_sub{ORB_ID(vehicle_magnetometer), mag};
| ^~~~~~~~~~~~~~~~~~~~~~
| vehicle_odometry_s
compilation terminated due to -Wfatal-errors.
To Reproduce
I connected the drone to the computer using a USB cable.
I ran the 'make px4_fmu-v6c_default boardconfig' command in the directory where the PX4 Autopilot software is located.
I disabled the 'modules->ekf2->mag' section.
I attempted to upload to the vehicle using the 'make px4_fmu-v6c_default upload' command.
Expected behavior
In older versions, at the beginning of 1.14 and 1.15, it was building and uploading to the vehicle without any issues, and the vehicle would detect its initial position as 0 every time it was restarted
Screenshot / Media
Flight Log
No response
Software Version
I downloaded the main branch and completed the installation. The active tag on the main branch is 1.16-0-alpha2, but when I checked on QGC, it shows 1.15.0-beta
Flight controller
Holybro Pixhawk 6C Mini
Vehicle type
Multicopter
How are the different components wired up (including port information)
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
The environment where I use the vehicle is not suitable for the magnetometer, so in older versions of the PX4 Autopilot software, I disabled the magnetometer on the vehicle using the 'make px4_fmu-v6c_default boardconfig' command followed by 'modules->ekf2->mag disable'. However, after updating to the latest version of the PX4 Autopilot software, I encountered errors when performing the same procedure.
error:
To Reproduce
Expected behavior
In older versions, at the beginning of 1.14 and 1.15, it was building and uploading to the vehicle without any issues, and the vehicle would detect its initial position as 0 every time it was restarted
Screenshot / Media
Flight Log
No response
Software Version
I downloaded the main branch and completed the installation. The active tag on the main branch is 1.16-0-alpha2, but when I checked on QGC, it shows 1.15.0-beta
Flight controller
Holybro Pixhawk 6C Mini
Vehicle type
Multicopter
How are the different components wired up (including port information)
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: