ros-drivers / ros2_ouster_drivers

ROS2 Drivers for the Ouster OS-0, OS-1, and OS-2 Lidars
https://ouster.com/
Apache License 2.0
134 stars 79 forks source link

Colcon build fail on the package #104

Closed fruitfunction closed 2 years ago

fruitfunction commented 2 years ago

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: ros2ouster

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!

SteveMacenski commented 2 years ago

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

fruitfunction commented 2 years ago

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

SteveMacenski commented 2 years ago

Use the foxy branch. Ros2 is for bleeding edge