ardupilot
ardupilot copied to clipboard
AP DDS Tests
Adding Tests as per #25711
Hi @SantamRC great work ! I have added a few suggestions for this. Please take a look. Thanks !!
Thanks! Looks good, but seems the test is failing in CI. Any ideas? https://github.com/ArduPilot/ardupilot/actions/runs/7623561288/job/20763840428?pr=26069#step:13:8
No idea why the CI test is failing
@arshPratap @Ryanf55 is there a map table to check which number corresponds to which mode? For the latest commit, it would be useful. Please review.
@arshPratap @Ryanf55 is there a map table to check which number corresponds to which mode? For the latest commit, it would be useful. Please review.
Not that I've found unless we add a dependency on mavproxy: https://github.com/ArduPilot/MAVProxy/blob/c4619af111761135408476d6a7e79cea68cf8388/MAVProxy/modules/mavproxy_chat/assistant_setup/copter_flightmodes.txt
FOr now, just define them at the top of the test. I can figure out a better solution long term later. They are autopilot specific, and there doesn't seem to be a way to query the mappings at runtime. https://mavlink.io/en/messages/common.html#MAV_CMD_DO_SET_MODE
@arshPratap @Ryanf55 is there a map table to check which number corresponds to which mode? For the latest commit, it would be useful. Please review.
Not that I've found unless we add a dependency on mavproxy: https://github.com/ArduPilot/MAVProxy/blob/c4619af111761135408476d6a7e79cea68cf8388/MAVProxy/modules/mavproxy_chat/assistant_setup/copter_flightmodes.txt
FOr now, just define them at the top of the test. I can figure out a better solution long term later. They are autopilot specific, and there doesn't seem to be a way to query the mappings at runtime. https://mavlink.io/en/messages/common.html#MAV_CMD_DO_SET_MODE
Hi @SantamRC , you can follow it based on the links provided here