-
Notifications
You must be signed in to change notification settings - Fork 5k
adapter ROS2 node & parameters #13715
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OhadMeir
reviewed
Jan 28, 2025
OhadMeir
reviewed
Jan 28, 2025
third-party/realdds/include/realdds/topics/ros2/parameter-events-msg.h
Outdated
Show resolved
Hide resolved
OhadMeir
reviewed
Jan 28, 2025
OhadMeir
reviewed
Jan 28, 2025
OhadMeir
reviewed
Jan 28, 2025
OhadMeir
reviewed
Jan 28, 2025
OhadMeir
approved these changes
Jan 28, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This continues work done on the
native-rosbranch by Samer and myself, and brings it to a functioning state.The first 7 commits are from there, just rebased on top of development.
Each device is exposed on the
/ros_discovery_infotopic as a separate node.The nodes are named in a similar fashion as DDS topic-roots,
/realsense/<model>_<s/n>.You can use
rqt_reconfigureto see the nodes. The tool will list, describe, and get all parameters, and you can use it to also set them.The parameters themselves use names of
<stream>/<option-name>.Changes to option values are updated via the
/parameter_eventsROS2 topic. Notifications seem to be working.Additionally, each stream has a
<stream>/profileparameter that lets the use see the current active profile (as JSON) and change it.This is the only are where additional thought and investigation might be required inside the stream-sensor-bridge. But it's working well for the most part. I can describe some of the difficulties I had, but for now I decided it's good enough for PR as it's functional.
Testing was all manual.
ROS2 topics were added minus any type-objects.