-
Notifications
You must be signed in to change notification settings - Fork 8
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
Update README.md #68
Update README.md #68
Conversation
@@ -66,7 +66,7 @@ We provide a process to republish any topic speaking in a given transport to a d | |||
e.g. have it subscribe to a topic you recorded encoded using draco and publish it as a raw, decoded message | |||
|
|||
```bash | |||
ros2 run point_cloud_transport republish --in_transport draco --out_transport raw --ros-args --remap in:=input_topic_name --remap out:=ouput_topic_name | |||
ros2 run point_cloud_transport republish --ros-args -p in_transport:=raw -p out_transport:=draco --remap in:=input_topic_name --remap out:=ouput_topic_name |
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.
i dont think this is working in humble atm
current command in README
ros2 run point_cloud_transport republish --in_transport draco --out_transport raw --ros-args --remap in:=input_topic_name --remap out:=ouput_topic_name
[INFO] [1711147262.122204435] [point_cloud_republisher]: The 'in_transport' parameter is set to: draco
[INFO] [1711147262.122278890] [point_cloud_republisher]: The 'out_transport' parameter is set to: raw
[INFO] [1711147262.127952488] [point_cloud_republisher]: Loading point_cloud_transport/raw_pub publisher
[INFO] [1711147262.129438348] [point_cloud_republisher]: out topic2: /ouput_topic_name
[INFO] [1711147262.129460088] [point_cloud_republisher]: Loading /in subscriber
[INFO] [1711147262.131488957] [point_cloud_republisher]: Subscribing to: /in/draco
[INFO] [1711147262.131516361] [point_cloud_republisher]: in topic: /in/draco
the proposed change
ros2 run point_cloud_transport republish --ros-args -p in_transport:=raw -p out_transport:=draco -p out.draco.force_quantization:=true --remap in:=input_topic_name --remap out:=ouput_topic_name
[INFO] [1711147186.463912785] [point_cloud_republisher]: The 'in_transport' parameter is set to: raw
[INFO] [1711147186.463985041] [point_cloud_republisher]: The 'out_transport' parameter is set to:
[INFO] [1711147186.476469800] [point_cloud_republisher]: out topic1: /out
[INFO] [1711147186.476848324] [point_cloud_republisher]: Subscribing to: /input_topic_name
[INFO] [1711147186.476872754] [point_cloud_republisher]: in topic: /input_topic_name
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.
ahh i see, its because humble still uses republish.cpp via republish_program.cpp (which overrides in_transport and out_transport) whereas rolling just launches republish.cpp as a component. i'll see about syncing those.
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.
resolving this comment. i can address this here: #70
and then backport your README change to humble and iron.
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.
I am approving as your PR is targeted at rolling so it should work for rolling builds.
also you could maybe replace "--remap " with "-r" as i think that is more concise |
Since rolling these parameters are fixed