tsengapola / costmap_depth_camera

This is a costmap plugin for costmap_2d pkg. This plugin supports multiple depth cameras and run in real time.
https://github.com/tsengapola/costmap_depth_camera
BSD 2-Clause "Simplified" License
66 stars 19 forks source link

Is ROS2 working? #5

Closed mustafaktaasbirfen closed 9 months ago

mustafaktaasbirfen commented 9 months ago

Hello Is ROS2 Humble working? I couldn't see your readme in ROS2 branch. Thanks

tsengapola commented 9 months ago

Just push new humble with minimal instructions: Humble version enjoy!

mustafaktaasbirfen commented 9 months ago

Thank you very much. However, when I try to compile the package, I get errors like this. I couldn't understand what it was about. Do you have any information?

Starting >>> costmap_depth_camera --- stderr: costmap_depth_camera
/home/mustafa/ros2_ws/src/costmap_depth_camera/src/frustum_utils.cpp:38:10: fatal error: nav2_costmap_2d/frustum_utils.hpp: No such file or directory 38 | #include <nav2_costmap_2d/frustum_utils.hpp> | ^~~~~~~~~~~ compilation terminated. gmake[2]: [CMakeFiles/costmap_depth_camera_core.dir/build.make:90: CMakeFiles/costmap_depth_camera_core.dir/src/frustum_utils.cpp.o] Error 1 gmake[2]: Waiting for unfinished jobs.... /home/mustafa/ros2_ws/src/costmap_depth_camera/plugins/depth_camera_obstacle_layer.cpp:41:10: fatal error: nav2_costmap_2d/depth_camera_obstacle_layer.h: No such file or directory 41 | #include <nav2_costmap_2d/depth_camera_obstacle_layer.h> | ^~~~~~~~~~~ compilation terminated. gmake[2]: [CMakeFiles/costmap_depth_camera_core.dir/build.make:118: CMakeFiles/costmap_depth_camera_core.dir/plugins/depth_camera_obstacle_layer.cpp.o] Error 1 /home/mustafa/ros2_ws/src/costmap_depth_camera/src/observation.cpp:38:10: fatal error: nav2_costmap_2d/observation_depth.h: No such file or directory 38 | #include <nav2_costmap_2d/observation_depth.h> | ^~~~~~~~~ compilation terminated. /home/mustafa/ros2_ws/src/costmap_depth_camera/src/observation_buffer.cpp:38:10: fatal error: nav2_costmap_2d/observation_buffer_depth.h: No such file or directory 38 | #include <nav2_costmap_2d/observation_buffer_depth.h> | ^~~~~~~~~~~~ compilation terminated. gmake[2]: [CMakeFiles/costmap_depth_camera_core.dir/build.make:76: CMakeFiles/costmap_depth_camera_core.dir/src/observation.cpp.o] Error 1 gmake[2]: [CMakeFiles/costmap_depth_camera_core.dir/build.make:104: CMakeFiles/costmap_depth_camera_core.dir/src/observation_buffer.cpp.o] Error 1 gmake[1]: [CMakeFiles/Makefile2:137: CMakeFiles/costmap_depth_camera_core.dir/all] Error 2 gmake: *** [Makefile:146: all] Error 2

Failed <<< costmap_depth_camera [0.38s, exited with code 2]

tsengapola commented 9 months ago

Last commit was a disaster... Try the new commit and do it again.

mustafaktaasbirfen commented 9 months ago

Thank you very much. Thank you, good work.