Skip to content

Commit

Permalink
system_params: clarify SYS_HAS_MAG description
Browse files Browse the repository at this point in the history
after answering the questions:
Ah the value can be 2? Should I set the number of magnetometers the board has or include the external ones?
  • Loading branch information
MaEtUgR committed Jan 8, 2025
1 parent 8070a9b commit ab0062f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/lib/systemlib/system_params.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,11 +189,10 @@ PARAM_DEFINE_INT32(SYS_CAL_TMAX, 10);
PARAM_DEFINE_INT32(SYS_HAS_GPS, 1);

/**
* Control if the vehicle has a magnetometer
* Control if and how many magnetometers are expected
*
* Set this to 0 if the board has no magnetometer.
* If set to 0, the preflight checks will not check for the presence of a
* magnetometer, otherwise N sensors are required.
* 0: System has no magnetometer, preflight checks should pass without one.
* 1-N: Require the presence of N magnetometer sensors for check to pass.
*
* @reboot_required true
* @group System
Expand Down

0 comments on commit ab0062f

Please sign in to comment.