Open GoesM opened 4 months ago
why do I still have the problem. I am using ros jazzy, ubantu 24.04
Failed <<< pcl_recorder [1.24s, exited with code 2]
Summary: 18 packages finished [4.95s] 1 package failed: pcl_recorder 1 package had stderr output: pcl_recorder
@richie-live I'm not very sure. I think Jazzy is the latest version so it may face to many confused issues ?
I am using ROS-humble, Ubuntu 22.04.
@richie-live I solved the problem by the following:
find_package(tf2_eigen REQUIRED)
include_directories(${tf2_eigen_INCLUDE_DIRS})
@richie-live I solved the problem by the following:
- rm -rf install log build
- sudo apt install ros-humble-tf2-eigen ros-humble-tf2-ros ros-humble-tf2-geometry-msgs
- nano ~/carla-ros-bridge/src/ros-bridge/pcl_recorder/CMakeLists.txt Add the following lines near the top of the file, after the find_package calls:
find_package(tf2_eigen REQUIRED) include_directories(${tf2_eigen_INCLUDE_DIRS})
- colcon build --symlink-install please use correct python, ros, carla version Mine is python 3.10, ROS humble (Ubuntu 22.04), Carla 0.9.15 Hope it helps
@taeseongkr Thanks! It worked, however I have the following warning:
CMake Warning (dev) at CMakeLists.txt:64 (find_package):
Policy CMP0074 is not set: find_package uses <PackageName>_ROOT variables.
Run "cmake --help-policy CMP0074" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
CMake variable PCL_ROOT is set to:
/usr
For compatibility, CMake is ignoring the variable.
This warning is for project developers. Use -Wno-dev to suppress it.
description
when I
colcon build
ros-bridge within ROS2-humble, I faced to the following errors:analysis
I found the following cmakelist settings should be wrong: https://github.com/carla-simulator/ros-bridge/blob/e9063d97ff5a724f76adbb1b852dc71da1dcfeec/pcl_recorder/CMakeLists.txt#L68-L69
there seems the lack of dependence
tf2_eigen
.suggestion
I changed it as followings, and everything is ok now.
Shall I submit a PR to fix it ?