heethesh / lidar_camera_calibration

Light-weight camera LiDAR calibration package for ROS using OpenCV and PCL (PnP + LM optimization)
BSD 3-Clause "New" or "Revised" License
536 stars 118 forks source link

Error while running calibrate_camera_lidar.py #14

Closed poornimajd closed 3 years ago

poornimajd commented 3 years ago

Hello great work @heethesh . When I try to run rosrun lidar_camera_calibration calibrate_camera_lidar.py --calibrate command I got the following error. I tried to change the package.xml file also but it made no difference.

ImportError: No module named tf2_sensor_msgs.tf2_sensor_msgs Any suggestion is greatly appreciated. Thank you

heethesh commented 3 years ago

sudo apt install ros-melodic-tf2-sensor-msgs (or kinetic, whatever ROS distro you have)

poornimajd commented 3 years ago

Thanks for the quick reply!It works