Tag Archives: ROS Error

[Solved] ROS Error: Could NOT find move_base_msgs

Ubuntu18.04 + ROS melodic, catkin compile mbot error:

-- +++ processing catkin package: 'mbot_navigation'
-- ==> add_subdirectory(mbot_navigation)
-- Could NOT find move_base_msgs (missing: move_base_msgs_DIR)
-- Could not find the required component 'move_base_msgs'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.
CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
  Could not find a package configuration file provided by "move_base_msgs"
  with any of the following names:
    move_base_msgsConfig.cmake
    move_base_msgs-config.cmake

 

Solution:

sudo apt-get install ros-melodic-move-base-msgs

ROS Error: Roslaunch got a ‘No such file or directory‘ error while attempting to run xterm -e gdb –args

When using gdb to debug the ROS node of VINS-mono, I encountered this error:

process[feature_tracker-2]: started with pid [8459]
RLException: Roslaunch got a 'No such file or directory' error while attempting to run:
xterm -e gdb --args /home/matthew/projects/vinsmono/devel/lib/vins_estimator/vins_estimator __name:=vins_estimator __log:=/home/matthew/.ros/log/5eeae726-84a9-11ec-ad3c-378f34e64432/vins_estimator-3.log
Please make sure that all the executables in this command exist and have
executable permission. This is often caused by a bad launch-prefix.
The traceback for the exception was written to the log file

 

Solution:

sudo apt-get install xterm

ROS Error: warning: “deprecated pixel format used“

Error log

[swscaler @ 0x28dace0] deprecated pixel format used, make sure you did set range correctly

Reason for error reporting
The above error occurs when using the ROS usb_cam package to call the camera, the error log is written clearly, that is, the video format used is deprecated. The error format is mjpg, after changing it to yuyv, the problem is solved.

[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