-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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 translation of rpm uORB message to Mavlink #14863
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Just some minor details
@@ -1596,6 +1596,7 @@ Mavlink::configure_streams_to_default(const char *configure_single_stream) | |||
configure_stream_local("PING", 0.1f); | |||
configure_stream_local("POSITION_TARGET_GLOBAL_INT", 1.0f); | |||
configure_stream_local("POSITION_TARGET_LOCAL_NED", 1.5f); | |||
configure_stream_local("RAW_RPM", 2.0f); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please add as well to MAVLINK_MODE_ONBOARD
with an higher rate?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Message added to MAVLINK_MODE_ONBOARD
with 5 Hz rate. It should be enough.
Hi, this PR translates uORB rpm message (for example from RPM sensor #14018) to MavLink RAW_RPM message. It is verified that it works.

I have updated the MavLink library. And then I noticed a problem that the names of the existing values in the MAV_FRAME message had changed.
I changed names of values according to their descriptions:
https://github.com/mavlink/mavlink/blob/master/message_definitions/v1.0/common.xml#L879-L919
It comes from this commit mavlink/mavlink@81d7a87