ROS bug/problem list

pakage not found

rosrun后打开一个终端 rosrun learning_communication listener
[rospack] Error: package ‘learning_communication’ not found
解决
在该终端下
kong@kong-virtual-machine:~/catkin_ws$ source ~/catkin_ws/devel/setup.bash
kong@kong-virtual-machine:~/catkin_ws$ rosrun learning_communication listener

LINUX相关几个问题

在UBUNTU下,我们维护一个源列表,源列表里面都是一些网址信息,这每一条网址就是一个源,这个地址指向的数据标识着这台源服务器上有哪些软件可以安装使用。
sudo gedit /etc/apt/sources.list
在这个文件里加入或者注释(加#)掉一些源后,保存。这时候,我们的源列表里指向的软件就会增加或减少一部分。
接一下要做的就是:
sudo apt-get update
这个命令,会访问源列表里的每个网址,并读取软件列表,然后保存在本地电脑。我们在新立得软件包管理器里看到的软件列表,都是通过update命令更新的。
update后,可能需要upgrade一下。
sudo apt-get upgrade
这个命令,会把本地已安装的软件,与刚下载的软件列表里对应软件进行对比,如果发现已安装的软件版本太低,就会提示你更新。如果你的软件都是最新版本,会提示:
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
总而言之,update是更新软件列表,upgrade是更新软件。

low graphics

解决 进入文本模式 然后sudo apt-get update还是upgrade来着 忘记了

动作编程一个很尬的bug

CMake Error at /opt/ros/kinetic/share/catkin/cmake/safe_execute_process.cmake:11 (message):
execute_process(/home/kong/catkin_ws/build/catkin_generated/env_cached.sh
“/usr/bin/python”
“/opt/ros/kinetic/share/actionlib_msgs/cmake/…/…/…/lib/actionlib_msgs/genaction.py”
“/home/kong/catkin_ws/src/learning_communication/action/DoDishes.action”
“-o” “/home/kong/catkin_ws/devel/share/learning_communication/msg”)
returned error code 1
Call Stack (most recent call first):
/opt/ros/kinetic/share/actionlib_msgs/cmake/actionlib_msgs-extras.cmake:67 (safe_execute_process)
learning_communication/CMakeLists.txt:73 (add_action_files)
– Configuring incomplete, errors occurred!
See also “/home/kong/catkin_ws/build/CMakeFiles/CMakeOutput.log”.
See also “/home/kong/catkin_ws/build/CMakeFiles/CMakeError.log”.
Makefile:766: recipe for target ‘cmake_check_build_system’ failed
make: *** [cmake_check_build_system] Error 1
Invoking “make cmake_check_build_system” failed

最后是因为.action中分界的用了两个- -(应该是3个)

catkin_make深蓝ros第六讲遇到的两个问题

因为是直接copy过去的 遇到缺失move_base_msgs 和 gazebo_ros_control
尝试了在工作空间和src下git clone move_base和ros_control 不行

CMake Error at /opt/ros/kinetic/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
Add the installation prefix of “move_base_msgs” to CMAKE_PREFIX_PATH or set
“move_base_msgs_DIR” to a directory containing one of the above files. If
“move_base_msgs” provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
mbot_navigation/CMakeLists.txt:10 (find_package)
– Configuring incomplete, errors occurred!
See also “/home/kong/catkin_ws/build/CMakeFiles/CMakeOutput.log”.
See also “/home/kong/catkin_ws/build/CMakeFiles/CMakeError.log”.
Makefile:2390: recipe for target ‘cmake_check_build_system’ failed
make: *** [cmake_check_build_system] Error 1
Invoking “make cmake_check_build_system” failed

解决
sudo apt-get install ros-kinetic-move-base-msgs
sudo apt-get install ros-kinetic-gazebo-ros-control

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值