What does it take for a parameter to become used?
I know I’ve defined it correctly (in
parameters.c under my sensor driver subdir and it is visible under
build/build_name/parameters.xml with correct annotations), I’ve also referenced the parameter in
ROMFS/px4fmu_common/init.d/rc.sensors (as the parameter itself is a simple on/off switch for a sensor driver), but it is not visible in QGroundControl and
param show in nsh does not mark it as used.
If I reference it in
ROMFS/px4fmu_common/init.d/rcS (the reason why I tried that is that the only distance sensor-related parameter visible in QGroundControl is for LL40LS and it is referenced in
rcS), my parameter DOES become used, however the annotations in QGC are missing (i.e. it seems that I can change the value, but I don’t get nice drop-down).
Thank you in advance!