mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-12-01 21:52:12 +08:00
commander : add support for calibrating 4 magnetometers
This commit is contained in:
1 parent
c8dad56300
commit
74f4f72a4c
1 file changed
+1
-1
@@ -62,7 +62,7 @@
|
||||
#include <systemlib/err.h>
|
||||
|
||||
static const char *sensor_name = "mag";
|
||||
static constexpr unsigned max_mags = 3;
|
||||
static constexpr unsigned max_mags = 4;
|
||||
static constexpr float mag_sphere_radius = 0.2f;
|
||||
static unsigned int calibration_sides = 6; ///< The total number of sides
|
||||
static constexpr unsigned int calibration_total_points = 240; ///< The total points per magnetometer
|
||||
|
||||
Reference in new issue
Block a user