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

Update README.md #68

Merged
merged 1 commit into from
Mar 25, 2024
Merged

Update README.md #68

merged 1 commit into from
Mar 25, 2024

Conversation

ahcorde
Copy link
Collaborator

@ahcorde ahcorde commented Mar 20, 2024

Since rolling these parameters are fixed

@@ -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
Copy link
Collaborator

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

Copy link
Collaborator

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.

Copy link
Collaborator

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.

Copy link
Collaborator

@john-maidbot john-maidbot left a 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.

@john-maidbot
Copy link
Collaborator

also you could maybe replace "--remap " with "-r" as i think that is more concise

@ahcorde ahcorde merged commit 8147827 into rolling Mar 25, 2024
1 of 4 checks passed
@ahcorde ahcorde deleted the ahcorde-patch-2 branch March 25, 2024 15:58
ahcorde added a commit that referenced this pull request Mar 25, 2024
ahcorde added a commit that referenced this pull request Mar 25, 2024
ahcorde added a commit that referenced this pull request Mar 26, 2024
ahcorde added a commit that referenced this pull request Mar 26, 2024
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