Dear all,
I would like to ask you guys opinions about how to enforce configuration parameters within the valid ranges based on documentation.
As far as I understand, ArduPilot does not want to limit users’ freedom to assign any values to the parameters.
If I want to constraint the parameters, there are two design options: 1) when ArduPilot parses a MAVLink message which changes the parameter value, ArduPilot can enforce the parameter to have a valid value. 2) Users can freely assign any value to the parameters. However, ArduPilot uses a default parameter value if the parameter assigned by the users has a value outside the valid range. I believe that current ArduPilot version already do that for a small set of the parameters.
Could I ask which option is more feasible and practical? Thank you!