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

N10 branch missing lslidar_msgs/LslidarPacket.h #3

Open
trinity-christie opened this issue Apr 5, 2023 · 1 comment
Open

N10 branch missing lslidar_msgs/LslidarPacket.h #3

trinity-christie opened this issue Apr 5, 2023 · 1 comment

Comments

@trinity-christie
Copy link

Cannot run catkin_make

lslidar_msgs/LslidarPacket.h file does not exist anywhere

Errors:
Running catkin_make in home directory:

In file included from /home/wheeltec/n10_lidar/src/Lslidar_ROS1_driver/lslidar_driver/src/input.cc:18:0:
/home/wheeltec/n10_lidar/src/Lslidar_ROS1_driver/lslidar_driver/include/lslidar_driver/input.h:35:10: fatal error: lslidar_msgs/LslidarPacket.h: No such file or directory
 #include <lslidar_msgs/LslidarPacket.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Commenting out #include <lslidar_msgs/LslidarPacket.h>

In file included from /home/wheeltec/n10_lidar/src/Lslidar_ROS1_driver/lslidar_driver/src/input.cc:18:0:
/home/wheeltec/n10_lidar/src/Lslidar_ROS1_driver/lslidar_driver/include/lslidar_driver/input.h:72:25: error: ‘lslidar_msgs’ has not been declared
   virtual int getPacket(lslidar_msgs::LslidarPacketPtr& packet) = 0;
In file included from /home/wheeltec/n10_lidar/src/Lslidar_ROS1_driver/lslidar_driver/src/input.cc:18:0:
/home/wheeltec/n10_lidar/src/Lslidar_ROS1_driver/lslidar_driver/include/lslidar_driver/input.h:72:25: error: ‘lslidar_msgs’ has not been declared
   virtual int getPacket(lslidar_msgs::LslidarPacketPtr& packet) = 0;
@lee7c2
Copy link

lee7c2 commented Jun 11, 2023

mkdir -p ~/lidar_ws/src
#tar driver code here ~/lidar_ws/src
cd ~/lidar_ws
catkin_make
source devel/setup.bash

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