bluerobotics / BlueOS

The open source platform for ROV, USV, robotic system operation, development, and expansion.
https://blueos.cloud/docs/
Other
169 stars 80 forks source link

Core: Autopilot manager: Add fallback for first available router in case of invalid preferred one #2933

Closed JoaoMario109 closed 1 month ago

JoaoMario109 commented 1 month ago

I missed this fallback when I was testing mavlink-server PR and went back to master without changing back to mavp2p, but now I'm not sure how to test it. The code seems fine to me.

If want to test it, just go in file browser and edit the settings.json from autopilot manager in the configs, you can change proffered router to anything and see in the autopilot logs if it will fallback;

patrickelectric commented 1 month ago

@JoaoMario109 can you rebase ?