Skip to content

Commit

Permalink
Fix fromMsg missing symbol rviz plugin error
Browse files Browse the repository at this point in the history
A detailed discussion may be found here
ros2/geometry2#639
  • Loading branch information
FelipeGdM committed Dec 8, 2023
1 parent a34deae commit 381c403
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rviz_carla_plugin/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ elseif(${ROS_VERSION} EQUAL 2)
find_package(carla_ros_scenario_runner_types COMPONENTS)
find_package(pluginlib REQUIRED)
find_package(rviz_ogre_vendor REQUIRED)
find_package(tf2_geometry_msgs REQUIRED)

set(CMAKE_AUTOMOC ON)

Expand All @@ -74,7 +75,8 @@ elseif(${ROS_VERSION} EQUAL 2)
plugin_description_ros2.xml)

ament_target_dependencies(rviz_carla_plugin rclcpp carla_msgs nav_msgs
carla_ros_scenario_runner_types rviz_common)
carla_ros_scenario_runner_types rviz_common
tf2_geometry_msgs)

ament_export_libraries(${PROJECT_NAME})

Expand Down
1 change: 1 addition & 0 deletions rviz_carla_plugin/src/carla_control_panel_ROS2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <chrono>
#include <iomanip>

#include <tf2_geometry_msgs/tf2_geometry_msgs.hpp>
#include <tf2/utils.h>

#include <OgreCamera.h>
Expand Down

0 comments on commit 381c403

Please sign in to comment.