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

Add tf2_eigen dependency for PCL recorder. #645

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pcl_recorder/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ elseif(${ROS_VERSION} EQUAL 2)
add_executable(${PROJECT_NAME}_node src/PclRecorderROS2.cpp src/mainROS2.cpp)

ament_target_dependencies(${PROJECT_NAME}_node rclcpp sensor_msgs
pcl_conversions tf2 tf2_ros)
pcl_conversions tf2 tf2_ros tf2_eigen)

target_link_libraries(${PROJECT_NAME}_node ${Boost_SYSTEM_LIBRARY}
${PCL_LIBRARIES})
Expand Down
2 changes: 1 addition & 1 deletion pcl_recorder/include/PclRecorderROS2.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <pcl_conversions/pcl_conversions.h>
#include <tf2_ros/buffer.h>
#include <tf2_ros/transform_listener.h>
#include <tf2_eigen/tf2_eigen.h>
#include "tf2_eigen/tf2_eigen.hpp"
#include <rclcpp/time_source.hpp>

class PclRecorderROS2 : public rclcpp::Node
Expand Down
3 changes: 3 additions & 0 deletions pcl_recorder/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,14 @@

<build_depend>pcl_conversions</build_depend>
<build_depend>sensor_msgs</build_depend>
<build_depend>tf2_eigen</build_depend>
<build_export_depend>pcl_conversions</build_export_depend>
<build_export_depend>sensor_msgs</build_export_depend>
<build_export_depend>tf2_eigen</build_export_depend>
<exec_depend>pcl_conversions</exec_depend>
<exec_depend>sensor_msgs</exec_depend>
<exec_depend>carla_ros_bridge</exec_depend>
<exec_depend>tf2_eigen</exec_depend>

<export>
<build_type condition="$ROS_VERSION == 1">catkin</build_type>
Expand Down