-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Apply camera name in topics #2857
Apply camera name in topics #2857
Conversation
To achevie what I expected, it needs to be modified as latest commit. @SamerKhshiboun the command ros2 launch realsense2_camera rs_launch.py align_depth.enable:=true rgb_camera.profile:=640x480x6 depth_module.profile:=640x480x6 enable_sync:=True camera_name:=cam1 camera_namespace:=ns1 latest of ros2-development
after apply the latest commit
|
@hyunseok-yang Thanks for submitting the PR. Assigning @Arun-Prasad-V as reviewer. |
Tracked by RSDEV-472 internally. We should also update the README and announce this change to all users. |
@SamerKhshiboun I'm not sure I can modify all of test scirpt in the workspace. And, for the README file, where should I modify it? |
Hi @hyunseok-yang , Please take a look at this https://design.ros2.org/articles/topic_and_service_names.html. Refer the last row: if you just prefix "~/" to the input topic name, it will automatically add the node namespace and the node name. Can we try this? |
Thank you for your suggestion. I've updated the commit. |
92ce4ea
to
72b5524
Compare
Please update the poindcloud topic name as well. Refer file "named_filter.cpp" line number 125. https://github.com/IntelRealSense/realsense-ros/blob/72b552497892992fb31a8661f186192dd4d1c15c/realsense2_camera/src/named_filter.cpp#L125 |
72b5524
to
cd506dd
Compare
cd506dd
to
180a711
Compare
@Arun-Prasad-V |
I think test suite scripts should be modified also in spite of topic is modified as we expected. Could you give any guidance or hint where should I edit it? |
@hyunseok-yang , cc: @PrasRsRos |
@SamerKhshiboun |
Tests have been fixed and merged by @PrasRsRos. |
both camera namespace and camera name are used for topic name (IntelRealSense/realsense-ros#2857) DCO 1.1 Signed-off-by: Tatsuya Ishihara <tisihara@jp.ibm.com>
both camera namespace and camera name are used for topic name (IntelRealSense/realsense-ros#2857) DCO 1.1 Signed-off-by: Tatsuya Ishihara <tisihara@jp.ibm.com>
Camera name is not applied into topic name.
[Tracked by RSDEV-472]