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

add statustext message in mavlink receiver #12540

Closed
wants to merge 1 commit into from

Conversation

baumanta
Copy link
Contributor

@baumanta baumanta commented Jul 23, 2019

This PR adds a listener to the mavlink message StatusText. The received message will republished as a statustext stream.

This enables sending messages from other systems to be displayed on QGroundcontrol. E.g. in our case we could like to send CPU warnings from the companion computer. Now any string sent on the ROS topic /statustext/send will go through mavros into the firmware and from there to QGC

@julianoes
Copy link
Contributor

julianoes commented Jul 23, 2019

Sorry, I didn't make this clear before. I think that's the wrong approach.

In order to forward messages, all that we need to do is to enable forwarding between mavlink instances and that way the statustext messages are taken care of.

Have a look at these params:
https://dev.px4.io/v1.9.0/en/advanced/parameter_reference.html#MAV_0_FORWARD
https://dev.px4.io/v1.9.0/en/advanced/parameter_reference.html#MAV_1_FORWARD
https://dev.px4.io/v1.9.0/en/advanced/parameter_reference.html#MAV_2_FORWARD

@baumanta
Copy link
Contributor Author

Great, I'll try that. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants