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

Fix tf2_eigen compilation issues #709

Open
wants to merge 3 commits 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
4 changes: 4 additions & 0 deletions install_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ fi

echo ADDITIONAL PACKAGES $ADDITIONAL_PACKAGES

# Apply fix for GPG key expired error
# Link: https://github.com/osrf/docker_images/issues/697#issuecomment-1819626877
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 4B63CF8FDE49746E98FA01DDAD19BAB3CBF125EA

sudo apt update
sudo apt-get install --no-install-recommends -y \
python$PYTHON_SUFFIX-pip \
Expand Down
10 changes: 8 additions & 2 deletions pcl_recorder/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,14 @@ 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)
ament_target_dependencies(
${PROJECT_NAME}_node
rclcpp
sensor_msgs
pcl_conversions
tf2
tf2_ros
tf2_eigen)

target_link_libraries(${PROJECT_NAME}_node ${Boost_SYSTEM_LIBRARY}
${PCL_LIBRARIES})
Expand Down
Loading