[Solved] ROS Error: cannot launch node of type [octomap_server/octomap_server_node]:octomap_server

Error log

ERROR: cannot launch node of type [octomap_server/octomap_server_node]: octomap_server
ROS path [0]=/opt/ros/melodic/share/ros

Error reason
this error message says that the node cannot be opened because there is no octomap_ Server type

The problem is that either the path cannot find the octomap server, or the octpmap server is not installed at all

Solution:

sudo apt install ros-melodic-octomap
sudo apt install ros-melodic-octomap-server

Problem solving

Read More: