ros-perception / perception_pcl

PCL (Point Cloud Library) ROS interface stack
http://wiki.ros.org/perception_pcl
421 stars 332 forks source link

ros2 run pcl_ros bag_to_pcd: No executable found #463

Open juliaivonne opened 1 month ago

juliaivonne commented 1 month ago

I installed pcl_ros and uncommented the 2 lines in the CMake.txt-file:

add_executable(bag_to_pcd tools/bag_to_pcd.cpp)
target_link_libraries(bag_to_pcd pcl_ros_tf ${Boost_LIBRARIES} ${catkin_LIBRARIES} ${PCL_LIBRARIES})

But when I am trying to run it with $ ros2 run pcl_ros bag_to_pcd <input_file.bag> <topic> <output_directory> I get "No executable found". Can anyone help me? I am using ROS2 Foxy on Ubuntu 20.04 and I am new to ROS in general.

mvieth commented 1 month ago

I installed pcl_ros

Via apt or did you build and install from source? If it is the latter, which commands did you use?