ros-navigation / navigation2_tutorials

Tutorial code referenced in https://docs.nav2.org/
180 stars 124 forks source link

Error at colcon build in making costmap 2d plugin #62

Closed Kushagra-05 closed 2 years ago

Kushagra-05 commented 2 years ago

Screenshot 2022-08-24 133926 I am getting 3 errors, firstly, it says that "gradient_layer.hpp: No such file" whereas it exists in the mentioned location. The other two errors, are CMake ones, please look at the screenshot attached.

Kushagra-05 commented 2 years ago

The issue came because i was a little confused with two folders with same name, nav2_gradient_costmap_plugin folder has an include folder which again has a nav2_gradient_costmap_plugin folder which has to be the place for gardient_layer.hpp file, exactly the same as github repo shows. It was my digression that gave the 1st error (in red)