运行环境为Ubuntu 18.04.
ROS下编译时遇到如下错误:
– Could NOT find ackermann_msgs (missing: ackermann_msgs_DIR)
– Could not find the required component ‘ackermann_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/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by “ackermann_msgs”
解决方案:
sudo apt-get install ros-melodic-tf2-geometry-msgs ros-melodic-ackermann-msgs ros-melodic-joy ros-melodic-ma