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

Error launching point_cloud_io node when trying ground_truth_demo example #220

Closed
bclaw524 opened this issue Aug 3, 2022 · 4 comments
Closed

Comments

@bclaw524
Copy link

bclaw524 commented Aug 3, 2022

Hi,

I am trying the ground truth demo but I am not able to get the point_cloud_io node in the launch file to publish.

I get the following error when launching:

ERROR: cannot launch node of type [point_cloud_io/read]: point_cloud_io
ROS path [0]=/opt/ros/noetic/share/ros
ROS path [1]=/home/isp/anybotic_ws/src/kindr
ROS path [2]=/home/isp/anybotic_ws/src/kindr_ros/kindr_msgs
ROS path [3]=/home/isp/anybotic_ws/src/kindr_ros/kindr_ros
ROS path [4]=/home/isp/anybotic_ws/src/kindr_ros/kindr_rviz_plugins
ROS path [5]=/home/isp/anybotic_ws/src/message_logger
ROS path [6]=/home/isp/anybotic_ws/src/elevation_mapping/elevation_mapping
ROS path [7]=/home/isp/anybotic_ws/src/elevation_mapping/elevation_mapping_demos
ROS path [8]=/home/isp/anybotic_ws/src/kindr_ros/multi_dof_joint_trajectory_rviz_plugins
ROS path [9]=/opt/ros/noetic/share

rviz launches normally but the grid space is empty (is it supposed to be empty?)

Screenshot from 2022-08-03 16-56-14

I was able to successfully run the build test and turtle bot demos and I have tried re-installing and building the listed dependencies. How can I fix this issue?

(apologies if the solution is obvious, I am new to ros)

@bclaw524
Copy link
Author

bclaw524 commented Aug 3, 2022

Update: I have managed to reduce the error to:

ERROR: cannot launch node of type [point_cloud_io/read]: point_cloud_io
ROS path [0]=/opt/ros/noetic/share/ros
ROS path [1]=/home/isp/anybotic_ws/src
ROS path [2]=/opt/ros/noetic/share

I was using catkin build to compile them before. Tried using catkin_make and seems to have fixed some of the issue.

Still unsure how to proceed.

edit: Issue has been solved. While going through the dependencies, I missed re-building Point Cloud Library.

@bclaw524 bclaw524 closed this as completed Aug 3, 2022
@bclaw524 bclaw524 reopened this Aug 3, 2022
@bclaw524 bclaw524 closed this as completed Aug 4, 2022
@doctorcolossus
Copy link

doctorcolossus commented Apr 21, 2024

@bclaw524, do you know/remember which version of PCL you built?

I am getting this error with the apt-installed version (1.10) on Ubuntu 20.04...

@bclaw524
Copy link
Author

@bclaw524, do you know/remember which version of PCL you built?

I am getting this error with the apt-installed version (1.10) on Ubuntu 20.04...

Sorry, I don't remember.

I have also moved to a different project and no longer have access to the work to check again.

@doctorcolossus
Copy link

@bclaw524, okay, thanks anyway for the quick reply!

I'm still getting this exact error after building PCL and pcl-ros from source, so I opened a new issue: #261.

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

No branches or pull requests

2 participants