![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ros2
晚餐男孩
SLAM 打工人 天道酬勤
展开
-
gazebo 画面一直不退出
是因为client一直没退出,就算kill了其他的程序,还是要手动kill掉客户端才可以使画面退出。具体操作:ps aux | grep 'gzclient'kill -9 KID原创 2021-08-19 17:05:46 · 1011 阅读 · 0 评论 -
ros1 bag to ros2 bag play
有个问题是,ros1格式的bag需要转到ros2格式的bag,怎么弄?需要注意的是,这里只能提供标准信息的rosbag转换,如果带有自定义msg的rosbag,应该是不可以的,请注意一下。解决办法:安装依赖sudo apt install ros-foxy-rosbag2-bag-v2-plugins ros-foxy-ros1-bridge ros-foxy-ros1-rosbag-storage-vendor ros-foxy-rosbag2*设置环境变量这里一定要注意顺序。因为我原创 2021-05-26 10:31:00 · 2930 阅读 · 1 评论 -
compile turtlebot3_gazebo error
自己无意中重新安装了其他版本的protobuf,出现以下错误:/usr/local/include/google/protobuf/arenastring.h:225:31: note: candidate expects 0 arguments, 1 providedIn file included from /usr/include/gazebo-9/gazebo/msgs/MessageTypes.hh:132, from /usr/include/gazebo原创 2021-05-18 19:22:05 · 3426 阅读 · 1 评论 -
Missing requested Ceres components: [SuiteSparse]
编译nav2的源码时候,在编译smac_planner的时候出现找不到ceres里面的SuiteSparse,具体提示如下:Starting >>> smac_planner--- stderr: smac_planner CMake Error at /usr/local/lib/cmake/Ceres/CeresConfig.cmake:88 (message): Fa原创 2021-05-16 15:38:37 · 3422 阅读 · 2 评论 -
交叉编译错误 is not able to compile a simple test program
交叉编译出现错误:CMake Error at /home/sph/.local/lib/python2.7/site-packages/cmake/data/share/cmake-3.18/Modules/CMakeTestCCompiler.cmake:66 (message): The C compiler "/opt/cross-toolchain-9.2.0/sysroots/x86_64-oesdk-linux/usr/bin/arm-oe-linux-gnueabi/arm-原创 2020-10-13 09:35:11 · 14571 阅读 · 6 评论 -
[ERROR] [hlds_laser_publisher-2]: process has died [pid 13945, exit code 255, cmd ‘/home/ubuntu/turt
更新了turtlebot3成为ros2之后,可能会出现以上这个问题,具体原因是啥呢?其实,就是激光雷达的驱动也要更新,在ros1的时候,是用sudo apt install ros-melodic-hls-lfcd-lds-driver或者sudo apt install ros-kinetic-hls-lfcd-lds-driver来安装雷达驱动,同理,ros2中也是要的,所以,解决这个问题的办法就是在turtlebot3上安装驱动,记得,是小车上,不是电脑上!!!因为现在turtlebo原创 2020-09-12 17:26:58 · 3835 阅读 · 0 评论 -
ros2 源更新有误问题
当使用sudo apt update的时候,总是会出现下面这个问题:N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://packages.ros.org/ros2/ubuntu bionic InRelease' doesn't support architecture 'i386'强迫症的我真的无法忍受~决心搞定他,其实非常简单。原因是因为会把其他平台上的源读取出来但原创 2020-05-12 16:29:35 · 1177 阅读 · 1 评论 -
GAZEBO INSTALLATION SCRIPT Problems The following packages have unmet dependencies: gazebo11
安装turtlebot3 ros2 dashing的时候,遇到要安装gazebo的问题:=======================================================GAZEBO INSTALLATION SCRIPT=======================================================This script is ...原创 2020-04-22 16:16:56 · 1446 阅读 · 1 评论 -
Errors building qt_gui_cpp in ros2
使用 colcon build --symlink-install 对ros2源码进行编译的时候出现下面错误:--- stderr: qt_gui_cppsip: Usage: sip [-h] [-V] [-a file] [-b file] [-B tag] [-c dir] [-d file] [-D] [-e] [-f] [-g] [-I dir] [-j #] [-k] [-m fi...原创 2019-06-16 11:16:07 · 1160 阅读 · 0 评论 -
colcon build --symlink-install ros2_example_ws 出错
用colcon去build packages,出现下面的错误:sph@sph-System-Product-Name:~/Documents/ros2_example_ws$ colcon build --symlink-installStarting >>> examples_rclcpp_minimal_action_clientStarting >>>...原创 2019-06-15 23:00:27 · 5132 阅读 · 5 评论 -
ros2 GPG error or NO_PUBKEY
运行 sudo apt update的时候出现下面的错误:Err:11 http://packages.ros.org/ros2/ubuntu xenial InRelease The following signatures couldn't be verified b...原创 2019-06-03 17:04:19 · 3660 阅读 · 6 评论 -
clion gtest
clion 利用gtest开发测试用例,但遇到一个问题,正常gtest的结果不会显示在clion运行框内,因为CMakeList只是生成了exec,运行的时候不会把测试结果输出到框内:如果想要看结果,可以在命令行(终端ctrl+c)里面make之后直接运行可执行文件,这样就可以得到正确的结果了。...原创 2019-05-07 17:00:00 · 1059 阅读 · 0 评论 -
vcs import src ros2.repos
安装ros2的时候vcs import src < ros2.repos这里根据网速的情况决定运行时间,我试了2次,一次很久没反应最后重新来,一次几分钟搞定。把成功后的截图发出来让小伙伴们心里有数,实在不行就ctrl+c重新来一次:...原创 2019-04-11 14:31:59 · 7268 阅读 · 4 评论 -
ubuntu16.04 ros2 Crystal Colcon 源码安装教程
源码安装ros2步骤,参考官方教程(英文):官网教程设置Localesudo locale-gen en_US en_US.UTF-8sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8export LANG=en_US.UTF-8添加ROS 2 apt 仓库sudo apt update && sudo...原创 2019-04-11 16:10:12 · 9820 阅读 · 0 评论 -
ros2 pacakage colcon 编译问题
问题:sph@sph-All-Series:~/CLionProjects/ros2_first_demo$ colcon build --symlink-installStarting >>> ros1_talkerStarting >>> ros2_listener--- stderr: ros1_talker ...原创 2019-04-13 17:12:01 · 6947 阅读 · 2 评论 -
ROS2 Using Colcon to build packages error solved
错误提示:colcon build --symlink-installStarting >>> examples_rclcpp_minimal_action_clientStarting >>> examples_rclcpp_minimal_action_serverStarting >>> examples_rclcpp_minim...原创 2019-04-14 22:35:47 · 2500 阅读 · 0 评论 -
ros_common rosbag version 怎么知道ros_common rosbag版本
这个问题虽然简单,哈哈,还是要记录一下,就是我们常用的roscore运行了之后就有啦!!!原创 2019-05-08 10:26:09 · 417 阅读 · 0 评论 -
ros1 bridge encounter ros2 colcon error
--- stderr: qt_gui_cpp make[3]: warning: jobserver unavailable: using ...原创 2019-05-08 11:28:37 · 861 阅读 · 0 评论 -
clion ros srv include CMakeList 的来龙去脉
在开发ros的server时候,参考ros教程http://wiki.ros.org/ROS/Tutorials/WritingServiceClient%28c%2B%2B%29客户端的源码文件中,存在:#include "beginner_tutorials/AddTwoInts.h"刚开始觉得很奇怪,实际上include头文件不存在,为什么可以放在这里,而且可以编译通过呢?其实官方...原创 2019-05-08 15:32:27 · 414 阅读 · 0 评论 -
teb planner error
roslaunch teb_local_planner_tutorials robot_diff_drive_in_stage.launch的时候遇到下面问题:[FATAL] [1557372871.915458637, 2.200000000]: Failed to create the global_planner/GlobalPlanner planner, are you sure i...原创 2019-05-09 11:43:50 · 3047 阅读 · 6 评论 -
解决‘python -m pip install --upgrade pip‘
一直卡在这个问题:DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop s...原创 2019-04-11 14:21:51 · 18810 阅读 · 1 评论