Issues while trying to implement Octomaps

I was following The Construct’s cctomap_mapping package tutorial on youtube and doing as specified in the video. However, I keep getting this message after roslaunch:

ERROR: cannot launch node of type [octomap_server/octomap_server_node]: can't locate node [octomap_server_node] in package [octomap_server]

I have tried refreshing, using the “chmod +x” command and sourcing the workspace. I still get the same error.


Check that the package “octomap_server” is in the system. Do a :slight_smile:

roscd octomap_server

If its installed in teh system it should take you somewhere in teh system. Otherwise you need to install it via:

sudo apt install ros-<ROS_VERSION>-octomap-server

Example: sudo apt install ros-noetic-octomap-server