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

microRTPS bridge: uORB RTPS ID mandatory; allow pub/sub for multi-topics/alias msgs #12137

Merged
merged 8 commits into from
Jul 26, 2019

Conversation

TSC21
Copy link
Member

@TSC21 TSC21 commented Jun 1, 2019

Describe problem solved by the proposed pull request
Following the works on the microRTPS bridge, makes sense that all added uORB messages should have their respective RTPS ID allocated, even if they are not used on the bridge.

UPDATE: I updated this PR to include a major structural change that allows us to use multi-topic msgs, meaning, alias msgs as vehicle_visual_odometry.

@TSC21 TSC21 requested a review from bkueng June 1, 2019 13:31
@TSC21 TSC21 self-assigned this Jun 1, 2019
@TSC21 TSC21 changed the title microRTPS bridge: make mandatory that all the uORB messages have their RTPS id microRTPS bridge: uORB RTPS ID mandatory; allow pub/sub for multi-topics/alias msgs Jun 2, 2019
@TSC21
Copy link
Member Author

TSC21 commented Jun 2, 2019

@LorenzMeier @thomasgubler @jkflying FYI.

@TSC21
Copy link
Member Author

TSC21 commented Jun 2, 2019

We have a SITL test, unrelated with this PR, continuously failing: http://ci.px4.io:8080/blue/organizations/jenkins/PX4_misc%2FFirmware-SITL_tests/detail/PR-12137/2/pipeline.

@TSC21 TSC21 requested a review from jkflying June 3, 2019 19:59
Copy link
Member

@bkueng bkueng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you try to reduce the amount of if (alias): ... else... to a combined solution where possible?

msg/templates/uorb_microcdr/microRTPS_client.cpp.template Outdated Show resolved Hide resolved
msg/templates/urtps/RtpsTopics.cpp.template Outdated Show resolved Hide resolved
msg/tools/generate_microRTPS_bridge.py Outdated Show resolved Hide resolved
msg/tools/px_generate_uorb_topic_files.py Outdated Show resolved Hide resolved
msg/tools/uorb_rtps_message_ids.yaml Show resolved Hide resolved
msg/tools/px_generate_uorb_topic_files.py Show resolved Hide resolved
@TSC21 TSC21 force-pushed the feature/make_RTPS_IDs_mandatory branch from f445cb2 to 0797d6b Compare July 26, 2019 10:15
Copy link
Member

@bkueng bkueng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving, while keeping in mind that we'll need to simplify (for instance not having to specify the alias, but infer it from the topic definition, and use less cmake manipulations).

@bkueng bkueng merged commit eb951ed into master Jul 26, 2019
@bkueng bkueng deleted the feature/make_RTPS_IDs_mandatory branch July 26, 2019 13:05
@TSC21
Copy link
Member Author

TSC21 commented Jul 26, 2019

Approving, while keeping in mind that we'll need to simplify (for instance not having to specify the alias, but infer it from the topic definition, and use less cmake manipulations).

Will be checking that further. Thanks Beat!

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

3 participants