Can anyone explain me what does this line
Internal SPI (auto detect ms5611 or ms5607)
if ! ms5611 -T 5607 -q -s -b 1 start
then
ms5611 -s -b 1 start
fi
mean in [PX4-Autopilot/boards/px4/fmu-v3/init/rc.board_sensors at 23a41299fa02e69e0445ef245b9409f787c91724 · PX4/PX4-Autopilot · GitHub ] , Its basicallt a file from initiakizing the sensors but I didnt got what does the letter “T” -q and R means in these files.
-q
is for quiet, so no errors if it’s not found.
-R
for rotation, but I don’t see -R here because that’s a baro.
Thanks for your reply, Is there any documentation or any format this letters are taken from so I can follow? Coz there are still letters such as -T and mpu9250 -s -b 4 -R 10 so here I got untill spi bus 4, rotation… but still not got the “10” what will that mean. Again thanks in advance.
Good question
Rotation 10 is this one:
ROTATION_NONE = 0,
ROTATION_YAW_45 = 1,
ROTATION_YAW_90 = 2,
ROTATION_YAW_135 = 3,
ROTATION_YAW_180 = 4,
ROTATION_YAW_225 = 5,
ROTATION_YAW_270 = 6,
ROTATION_YAW_315 = 7,
ROTATION_ROLL_180 = 8,
ROTATION_ROLL_180_YAW_45 = 9,
ROTATION_ROLL_180_YAW_90 = 10,
ROTATION_ROLL_180_YAW_135 = 11,
ROTATION_PITCH_180 = 12,
ROTATION_ROLL_180_YAW_225 = 13,
ROTATION_ROLL_180_YAW_270 = 14,
ROTATION_ROLL_180_YAW_315 = 15,
ROTATION_ROLL_90 = 16,
ROTATION_ROLL_90_YAW_45 = 17,
ROTATION_ROLL_90_YAW_90 = 18,
ROTATION_ROLL_90_YAW_135 = 19,
ROTATION_ROLL_270 = 20,
Looks like the list is here as well:
PX4 is the Professional Autopilot. Developed by world-class developers from industry and academia, and supported by an active world wide community, it powers all kinds of vehicles from racing and cargo drones through to ground vehicles and...