https://baijiahao.baidu.com/s?id=1666716958851993517&wfr=spider&for=pc
https://github.com/6-robot/wpb_home
Linux系统下如何运行.sh文件:https://blog.csdn.net/hpf247/article/details/79190600
1、cmake报错:Could not find a package configuration file provided by "joy",解决方法
E: 无法定位软件包 ros-kinetic-joy*
E: 无法按照 glob ‘ros-kinetic-joy*’ 找到任何软件包
E: 无法按照正则表达式 ros-kinetic-joy* 找到任何软件包
解决:
sudo apt-get install ros-kinetic-joy*
2、
Could not find a package configuration file provided by "pcl_ros" with any
of the following names:
pcl_rosConfig.cmake
pcl_ros-config.cmake
Add the installation prefix of "pcl_ros" to CMAKE_PREFIX_PATH or set
"pcl_ros_DIR" to a directory containing one of the above files. If
"pcl_ros" provides a separate development package or SDK, be sure it has
been installed.
解决:https://blog.csdn.net/qq_35218763/article/details/110807076
sudo apt-get install ros-melodic-pcl-ros
3、
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
解决:http://blog.itblood.com/906.html
sudo apt-get install ros-melodic-navigation
4、
Could not find a package configuration file provided by
"joint_state_controller" with any of the following names:
joint_state_controllerConfig.cmake
joint_state_controller-config.cmake
解决:https://blog.csdn.net/WangJiankun_ls/article/details/56485742
解决这个问题,需要根据ROS版本安装机器人各个位置的controller驱动,命令如下:
$ sudo apt-get install ros-$version$-joint-state-controller
$ sudo apt-get install ros-$version$-effort-controllers
$ sudo apt-get install ros-$version$-position-controllers
用kinetic或者indigo等ROS版本号替代$version$即可。
————————————————
版权声明:本文为CSDN博主「裂空大龙」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/WangJiankun_ls/article/details/56485742