mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 14:33:33 +08:00
20 lines
744 B
Markdown
20 lines
744 B
Markdown
## Mavlink MAIN Loop
|
|
- Some nonsense at the top for iridium mode
|
|
- Calculate rate multiplier (look at impl)
|
|
|
|
## These are kinda BS
|
|
- Configure SiK radio (move!!!)
|
|
- handleStatus() --> sets HIL mode or handles Iridium nonsense ... move!!!
|
|
- handleCommands() --> iridium nonsense and gimbal v1 ... remove!
|
|
- handleAndGetCurrentCommandAck() --> sends out ACKS, needs to be simplified
|
|
- handleMavlinkShellOutput() --> sends out mavlink shell output if enabled
|
|
- check_requested_subscriptions() --> configures streams that have been request, could be simplified
|
|
|
|
## Not BS
|
|
- Iterate over all streams and send
|
|
- Send ulog data
|
|
- check and send events
|
|
- forward messages in message_buffer
|
|
- update stats and publish telemetry status
|
|
- BACK TO THE TOP
|