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 translation of rpm uORB message to Mavlink #14863

Closed
wants to merge 5 commits into from

Conversation

roman-dvorak
Copy link
Contributor

Hi, this PR translates uORB rpm message (for example from RPM sensor #14018) to MavLink RAW_RPM message. It is verified that it works.
Snímek z 2020-05-07 23-04-02

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

Copy link
Member

@TSC21 TSC21 left a 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);
Copy link
Member

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?

Copy link
Contributor Author

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.

@TSC21 TSC21 requested a review from dagar May 7, 2020 22:43
@roman-dvorak roman-dvorak deleted the add_mavlink_rpm branch July 9, 2020 09:42
@roman-dvorak roman-dvorak mentioned this pull request Jul 9, 2020
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