ros-drivers/ros2_ouster_drivers

Colcon build fail on the package

fruitfunction opened this issue · 3 comments

Hello everyone,

When building this package, Colcon build failed and returned the following error message:

32:10: fatal error: tf2_geometry_msgs/tf2_geometry_msgs.hpp: No such file or directory
32 | #include "tf2_geometry_msgs/tf2_geometry_msgs.hpp"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Summary: 1 package finished [21.6s]
1 package failed: ros2_ouster
1 package had stderr output: ros2_ouster

I'm guessing an tf2_geometry_msgs.hpp can be found somewhere, but where should I place it?
Is there a specific process for this driver when installing over ROS2? Anyone else getting the same error? How did you resolve it? HELP!

What distribution are you on? Are you using the right branch?

Foxy Fitzroy.
Branch ros2 . There was also a foxy-devel I didn't use that.

Use the foxy branch. Ros2 is for bleeding edge