You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
include "tf2_geometry_msgs/tf2_geometry_msgs.hpp" in a custom package and build it.
Expected behavior
Installation using apt works fine.
Actual behavior
After update the custom package gives an error while building:
/opt/ros/humble/include/tf2_geometry_msgs/tf2_geometry_msgs/tf2_geometry_msgs.hpp:51:10: fatal error: geometry_msgs/msg/velocity_stamped.hpp: No such file or directory
51 | #include "geometry_msgs/msg/velocity_stamped.hpp"
Additional information
Today I updated all the ros packages and I get the error while building.
I then built the 0.25.7 version of the geometry2 package locally and it works again, but I couldn't figure out the problem.
Does anyone have an idea?
The text was updated successfully, but these errors were encountered:
Version 0.25.7 is the last Humble version before this PR, which added the #include "geometry_msgs/msg/velocity_stamped.hpp": #684. So it makes sense.
This message was added in Humble here: ros2/common_interfaces#249. The next release of geometry_msgs after that PR is 4.2.4, so can you just make sure you have geometry_msgs version >= 4.2.4? I do see that this version is available from apt. You can check the version that is currently installed on your system by running: apt list --installed | grep ros-humble-geometry-msgs.
Bug report
Steps to reproduce issue
include "tf2_geometry_msgs/tf2_geometry_msgs.hpp" in a custom package and build it.
Expected behavior
Installation using apt works fine.
Actual behavior
After update the custom package gives an error while building:
/opt/ros/humble/include/tf2_geometry_msgs/tf2_geometry_msgs/tf2_geometry_msgs.hpp:51:10: fatal error: geometry_msgs/msg/velocity_stamped.hpp: No such file or directory
51 | #include "geometry_msgs/msg/velocity_stamped.hpp"
Additional information
Today I updated all the ros packages and I get the error while building.
I then built the 0.25.7 version of the geometry2 package locally and it works again, but I couldn't figure out the problem.
Does anyone have an idea?
The text was updated successfully, but these errors were encountered: