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
porting pointcoud_to_pcd to ros2 #444
porting pointcoud_to_pcd to ros2 #444
Conversation
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.
LGTM from a quick glance. From your testing image I assume this works fine
Were there tests associated with this as well? Otherwise, give this a week and if no other maintainers chime in, ping me again and I'll merge it |
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.
builds for humble (not for foxy)
features tested
- prefix
- compresed
- binary
- prefix
- fixed_frame
ros2 run pcl_ros pointcloud_to_pcd --ros-args -r input:=os_node/points -p prefix:=abc_ -p binary:=true -p compressed:=true -p fixed_frame:=base_link
Everything works except fixed_frame feature because my (ouster) lidar frame is on tf_static i get the following error.
[WARN] [1712221819.952296406] [transform_listener_impl_556e0f932ee0]: New publisher discovered on topic '/tf_static', offering incompatible QoS. No messages will be sent to it. Last incompatible policy: DURABILITY_QOS_POLICY
[ERROR] [1712221820.239036841] [pointcloud_to_pcd]: Transform error: "os_sensor" passed to lookupTransform argument source_frame does not exist.
Thank you for your testing. fixed_frame is an option that can be used when the sensor is connected to another tf.
I would consider implementing the following: if tf cannot be obtained, a warning is displayed and the fixed_frame option is ignored. <- done |
I also added the |
@remco-r let me know if that resolves your concern |
|
I needed the ROS 2 version of pointcoud_to_pcd, so I will port it and submit a PR.
Please review.
Depends
Usage
How to check exported pcd file
Thank you.