SteveMacenski / spatio_temporal_voxel_layer

A new voxel layer leveraging modern 3D graphics tools to modernize navigation environmental representations

Home Page:http://wiki.ros.org/spatio_temporal_voxel_layer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error loading plugin "stvl_layer"

charlielito opened this issue · comments

Hi!
I am trying to use this plugin with nav2 stack in ros2 foxy. Nonetheless, when trying to launch nav2 stack I got the following error:

[controller_server-1] [INFO][1615399488.877895518][local_costmap.local_costmap]: Using plugin "stvl_layer"
[controller_server-1] [ERROR][1615399488.877953773][]: Caught exception in callback for transition 10
[controller_server-1] [ERROR][1615399488.877962229][]: Original error: According to the loaded plugin descriptions the class spatio_temporal_voxel_layer/SpatioTemporalVoxelLayer with base class type nav2_costmap_2d::Layer does not exist. Declared types are  nav2_costmap_2d::InflationLayer nav2_costmap_2d::ObstacleLayer nav2_costmap_2d::RangeSensorLayer nav2_costmap_2d::StaticLayer nav2_costmap_2d::VoxelLayer

I installed this from source https://github.com/SteveMacenski/spatio_temporal_voxel_layer#install-from-source. How it is supposed to be installed from source? I compiled it with:

mkdir build
cd build
cmake ..
make -j8
sudo make install

Is this correct? What am I missing?

Please use colcon and the normal ROS2 toolchain.

Thanks for the mega fast response! Built with colcon did the job