ZebraDevs / robot_controllers

Robot control infrastructure
92 stars 79 forks source link

Fix deprectation warnings #81

Closed Flova closed 4 months ago

Flova commented 1 year ago

Fixes the following warning:

In file included from /home/bitbots/colcon_ws/src/lib/robot_controllers/robot_controllers/src/cartesian_pose.cpp:48:
/opt/ros/rolling/include/tf2_geometry_msgs/tf2_geometry_msgs/tf2_geometry_msgs.h:35:2: warning: #warning This header is obsolete, please include tf2_geometry_msgs/tf2_geometry_msgs.hpp instead [-Wcpp]
   35 | #warning This header is obsolete, please include tf2_geometry_msgs/tf2_geometry_msgs.hpp instead
      |  ^~~~~~~
In file included from /home/bitbots/colcon_ws/src/lib/robot_controllers/robot_controllers/src/point_head.cpp:47:
/opt/ros/rolling/include/tf2_geometry_msgs/tf2_geometry_msgs/tf2_geometry_msgs.h:35:2: warning: #warning This header is obsolete, please include tf2_geometry_msgs/tf2_geometry_msgs.hpp instead [-Wcpp]
   35 | #warning This header is obsolete, please include tf2_geometry_msgs/tf2_geometry_msgs.hpp instead
      |  ^~~~~~~
erelson commented 4 months ago

Thanks for the PR!