velodyne icon indicating copy to clipboard operation
velodyne copied to clipboard

No velodyne_pointcloud/point_types.h ?

Open plumewind opened this issue 4 years ago • 2 comments

Please complete the following information:

  • OS and Version: [Ubuntu 20.04]
  • ROS Version: [noetic]
  • Built from Source or Downloaded from Official Repository:[Official Repository]
  • Version: [if from repository, give version from sudo dpkg -s ros-$ROS_VERSION-velodyne, if from source, give commit hash]
sudo dpkg -s ros-noetic-velodyne 
Package: ros-noetic-velodyne
Status: install ok installed
Priority: optional
Section: misc
Installed-Size: 13
Maintainer: Josh Whitley <[email protected]>
Architecture: amd64
Version: 1.6.1-1focal.20201207.154637
Depends: ros-noetic-velodyne-driver, ros-noetic-velodyne-laserscan, ros-noetic-velodyne-msgs, ros-noetic-velodyne-pointcloud
Description: Basic ROS support for the Velodyne 3D LIDARs.
Homepage: http://www.ros.org/wiki/velodyne

Describe the bug I got a error, when catkin_make packages:

fatla error: fatal error: velodyne_pointcloud/point_types.h: No such file or directory
#include <velodyne_pointcloud/point_types.h>

To Reproduce Steps to reproduce the behavior: go the path velodyne_pointcloud/point_types.h, there is no file.

Anyone help me ? Thanks .

plumewind avatar Jan 22 '21 02:01 plumewind

The file was moved from velodyne_pointcloud to velodyne_pcl on the noetic branch some time ago. I have confirmed that 1.6.1 has the file in velodyne_pcl and nowhere in the code is it referenced in velodyne_pointcloud. Please uninstall ros-noetic-velodyne and all of its dependencies and make sure you don't have a copy of the velodyne repository somewhere in a workspace that may be overriding the installed one in /opt/ros/noetic.

JWhitleyWork avatar Jan 28 '21 01:01 JWhitleyWork

Thanks @JWhitleyWork it resolved our issue also, in noetic the pkg is velodyne_pcd only instead of velodyne_pointcloud which consists the point_types.h file and also there the message type defined is PointXYZIRT, so we may need to change that as well because in some packages PointXYZIR is used.

charvi-077 avatar Jun 30 '22 06:06 charvi-077