Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt onbaord low bandwidth MAVLink stream profile #22475

Merged
merged 4 commits into from
Dec 1, 2023
Merged

Conversation

MaEtUgR
Copy link
Member

@MaEtUgR MaEtUgR commented Dec 1, 2023

Solved Problem

When looking through the MAVLINK_MODE_ONBOARD_LOW_BANDWIDTH MAVLink streams which we heavily rely on I found that some of them are different from other streams or don't meet certain MAVLink payload's requirements.

Solution

  • Adapt MAVLINK_MODE_ONBOARD_LOW_BANDWIDTH
  • Add the MOUNT_ORIENTATION stream to the normal profile. It's only sent out when the gimbal module publishes it and available in almost all other profiles.

Changelog Entry

Add missing MAVLink streams to the `MAVLINK_MODE_ONBOARD_LOW_BANDWIDTH` profile.

Alternatives

Ideally we shift towards components requesting the streams they need at the rate required. Until then these adjustments make PX4 more compatible.

Test coverage

  • We successfully use this stream profile in many production setups with different payloads for a long time now.

It only publishes when the information is available on uORB
and is useful for the groundstation to show the gimbal's status.
There are MAVLink enabled gimbals that directly consume RC channel data.
The gimbal controls stutter with this profile when the rate is too low.
It's required with 2Hz by some MAVLink enabled payloads.
@dagar dagar merged commit d8d2213 into main Dec 1, 2023
87 of 90 checks passed
@dagar dagar deleted the mavlink-streams branch December 1, 2023 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants