[ERROR] [1713584083.100730756]: Client [/move_base] wants topic /scan_raw to have datatype/md5sum [sensor_msgs/PointCloud2/1158d486dd51d683ce2f1be655c3c181], but our version has [sensor_msgs/LaserScan/90c7ef2dc6895d81024acba2ac42f369]. Dropping connection.
在小车定位建图后,在地图里面进行移动,rviz选择路径规划出现如上的错误,小车不动,希望发布的是点云数据,实际发布的是激光数据,请问怎么修改,具体在哪里修改,有大佬会吗
重要提示
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
1264821100 发布的最新帖子
-
小车在自主移动的路径规划出现错误
-
cartographer建图rviz显示For frame [XX]: Fixed Frame [map] does not exist
请问各位大佬,使用激光雷达建图rviz中的global options显示For frame [XX]: Fixed Frame [map] does not exist,并且没有画面显示,文么解决呢
-
安装cartographer出错
编译时候出现以下错误,请问知道如何解决吗[67/387] Building CXX object googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
ninja: build stopped: subcommand failed.
<== Failed to process package 'cartographer':
Command '['ninja', '-j24', '-l24']' returned non-zero exit status 1.Reproduce this error by running:
==> cd '/home/legion/桌面/cartographer_ws/build_isolated/cartographer' && ninja -j24 -l24Command failed, exiting.
出错的日志
/home/legion/桌面/cartographer_ws/src/cartographer/cartographer/common/task.h:41:18: error: expected ‘;’ at end of member declaration
41 | State GetState() LOCKS_EXCLUDED(mutex_);
| ^
但是我查看这个文件不缺;这个符号State GetState() LOCKS_EXCLUDED(mutex_); -
slam稠密建图未定义g2o
g2o安装了,换了好几个版本其中包含slambook2里面的老版本都试过一直出现这个错误,请教一下是什么原因?
/usr/bin/ld: ../lib/libORB_SLAM2.so: undefined reference to
g2o::SparseOptimizer::removeVertex(g2o::HyperGraph::Vertex*)' /usr/bin/ld: ../lib/libORB_SLAM2.so: undefined reference to
g2o::OptimizableGraph::addVertex(g2o::HyperGraph::Vertex*, g2o::OptimizableGraph::Data*)'
/usr/bin/ld: ../lib/libORB_SLAM2.so: undefined reference tog2o::OptimizationAlgorithmLevenberg::OptimizationAlgorithmLevenberg(g2o::Solver*)' /usr/bin/ld: ../lib/libORB_SLAM2.so: undefined reference to
g2o::SparseOptimizer::removeVertex(g2o::HyperGraph::Vertex*)'
/usr/bin/ld: ../lib/libORB_SLAM2.so: undefined reference tog2o::OptimizableGraph::addVertex(g2o::HyperGraph::Vertex*, g2o::OptimizableGraph::Data*)' /usr/bin/ld: ../lib/libORB_SLAM2.so: undefined reference to
g2o::OptimizationAlgorithmLevenberg::OptimizationAlgorithmLevenberg(g2o::Solver*)'
/usr/bin/ld: ../lib/libORB_SLAM2.so: undefined reference tog2o::SparseOptimizer::removeVertex(g2o::HyperGraph::Vertex*)' /usr/bin/ld: ../lib/libORB_SLAM2.so: undefined reference to
g2o::OptimizableGraph::addVertex(g2o::HyperGraph::Vertex*, g2o::OptimizableGraph::Data*)'
/usr/bin/ld: ../lib/libORB_SLAM2.so: undefined reference tog2o::OptimizationAlgorithmLevenberg::OptimizationAlgorithmLevenberg(g2o::Solver*)' /usr/bin/ld: ../lib/libORB_SLAM2.so: undefined reference to
g2o::SparseOptimizer::removeVertex(g2o::HyperGraph::Vertex*)'
/usr/bin/ld: ../lib/libORB_SLAM2.so: undefined reference tog2o::OptimizableGraph::addVertex(g2o::HyperGraph::Vertex*, g2o::OptimizableGraph::Data*)' /usr/bin/ld: ../lib/libORB_SLAM2.so: undefined reference to
g2o::OptimizationAlgorithmLevenberg::OptimizationAlgorithmLevenberg(g2o::Solver*)'
/usr/bin/ld: ../lib/libORB_SLAM2.so: undefined reference tog2o::SparseOptimizer::removeVertex(g2o::HyperGraph::Vertex*)' /usr/bin/ld: ../lib/libORB_SLAM2.so: undefined reference to
g2o::OptimizableGraph::addVertex(g2o::HyperGraph::Vertex*, g2o::OptimizableGraph::Data*)'
/usr/bin/ld: ../lib/libORB_SLAM2.so: undefined reference to `g2o::OptimizationAlgorithmLevenberg::OptimizationAlgorithmLevenberg(g2o::Solver*)'
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/rgbd_tum.dir/build.make:215:../Examples/RGB-D/rgbd_tum] 错误 1
make[2]: *** [CMakeFiles/mono_tum.dir/build.make:215:../Examples/Monocular/mono_tum] 错误 1
make[2]: *** [CMakeFiles/stereo_kitti.dir/build.make:215:../Examples/Stereo/stereo_kitti] 错误 1
make[1]: *** [CMakeFiles/Makefile2:197:CMakeFiles/rgbd_tum.dir/all] 错误 2
make[1]: *** 正在等待未完成的任务....
make[2]: *** [CMakeFiles/mono_kitti.dir/build.make:215:../Examples/Monocular/mono_kitti] 错误 1
make[1]: *** [CMakeFiles/Makefile2:93:CMakeFiles/mono_tum.dir/all] 错误 2
make[2]: *** [CMakeFiles/rgbd_my.dir/build.make:215:../Examples/RGB-D/rgbd_my] 错误 1
make[1]: *** [CMakeFiles/Makefile2:171:CMakeFiles/stereo_kitti.dir/all] 错误 2
make[1]: *** [CMakeFiles/Makefile2:119:CMakeFiles/mono_kitti.dir/all] 错误 2
make[1]: *** [CMakeFiles/Makefile2:145:CMakeFiles/rgbd_my.dir/all] 错误 2
make: *** [Makefile:91:all] 错误 2 -
double free or corruption (out) 已放弃 (核心已转储)
在跑slam时候运行数据集和运行rgbd相机时出现double free or corruption (out)
已放弃 (核心已转储)- pngsn@pp:~$ rosrun ORB_SLAM2 RGBD Vocabulary/ORBvoc.txt Examples/RGB-D/D435i.yaml
double free or corruption (out)
已放弃 (核心已转储) - ./Examples/RGB-D/rgbd_tum Vocabulary/ORBvoc.txt Examples/RGB-D/TUM1.yaml datasets/rgbd_dataset_freiburg1_xyz datasets/rgbd_dataset_freiburg1_xyz/association.txt
double free or corruption (out)
已放弃 (核心已转储)
请问有人知道为什么吗
- pngsn@pp:~$ rosrun ORB_SLAM2 RGBD Vocabulary/ORBvoc.txt Examples/RGB-D/D435i.yaml
-
RE: ros中添加环境变量,终端会显示错误,卸载ros后就没错,重新安装还是有错误,把那两个变量注释掉不出错
@小鱼我现在是把ros卸载了重新安装的,我设置的环境变量也删除了,就是使用source /opt/ros/melodic/setup.bash这个命令就会报错bash: /tmp/setup.sh.w52yV0NM8X: 行 38: 寻找匹配的 `"' 是遇到了未预期的文件结束符
bash: /tmp/setup.sh.w52yV0NM8X: 行 39: 语法错误: 未预期的文件结尾
bash: [: 0: 需要一元表达式
而且重新创建工作空间catkin_make也报错CMake Error at /opt/ros/melodic/share/catkin/cmake/safe_execute_process.cmake:11 (message):
execute_process(/usr/bin/python2
"/home/pngsn/catkin_ws/build/catkin_generated/generate_cached_setup.py")
returned error code 1
Call Stack (most recent call first):
/opt/ros/melodic/share/catkin/cmake/all.cmake:208 (safe_execute_process)
/opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:20 (include)
CMakeLists.txt:58 (find_package)-- Configuring incomplete, errors occurred!
See also "/home/pngsn/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/pngsn/catkin_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed
这个该怎么办呢,希望您能再解答以下,感谢! -
ros中添加环境变量,终端会显示错误,卸载ros后就没错,重新安装还是有错误,把那两个变量注释掉不出错
小鱼,黄黄的提示:您安装的是ROS1,可以打开一个新的终端输入roscore测试!
欢迎加入机器人学习交流QQ群:438144612(入群口令:一键安装)
鱼香小铺正式开业,最低499可入手一台能建图会导航的移动机器人,淘宝搜店:鱼香ROS 或打开链接查看:https://item.taobao.com/item.htm?id=696573635888
如在使用过程中遇到问题,请打开:https://fishros.org.cn/forum 进行反馈bash: /tmp/setup.sh.yG6KT6Gige: 行 38: 寻找匹配的 `"' 是遇到了未预期的文件结束符
bash: /tmp/setup.sh.yG6KT6Gige: 行 39: 语法错误: 未预期的文件结尾
bash: [: 0: 需要一元表达式#source /opt/ros/melodic/setup.bash
#source ~/catkin_ws/devel/setup.bash