WheelTec ROS 机器人小车 ROS2 编码编译解决
1. Could not find a package configuration file provided by “async_web_server_cpp”
sudo apt-get install ros-galactic-async-web-server-cpp
2.
nav2_map_server: Cannot locate rosdep definition for [launch_testing]
nav2_behavior_tree: Cannot locate rosdep definition for [behaviortree_cpp_v3]
wheeltec_slam_toolbox: Cannot locate rosdep definition for [slam_toolbox]
nav2_bt_navigator: Cannot locate rosdep definition for [behaviortree_cpp_v3]
nav2_bringup: Cannot locate rosdep definition for [slam_toolbox]
nav2_smac_planner: Cannot locate rosdep definition for [ompl]
nav2_system_tests: Cannot locate rosdep definition for [gazebo_ros_pkgs]
解决办法:
sudo apt-get install ros-galactic-behaviortree-cpp-v3 \
ros-galactic-slam-toolbox \
ros-galactic-ompl \
ros-galactic-gazebo-ros-pkgs
添加-r参数,忽略报错重新安装依赖
rosdep install -i --from-path src --rosdistro eloquent -y -r
3. Could not find a package configuration file provided by "laser_filters"
with any of the following names:
laser_filtersConfig.cmake
laser_filters-config.cmake
sudo apt-get install ros-galactic-laser-filters
4.
Could not find a package configuration file provided by "glog" with any of
the following names:
glogConfig.cmake
glog-config.cmake
我就去https://github.com/google/glog下载库,并且按照首页写的安装方法安装。发现问题没有解决。
解决办法:
用这个链接的安装方法:glog cmake 安装法
具体就是:
$ cd glog
$ cmake -H. -Bbuild -G "Unix Makefiles"
$ cmake --build build
$ cmake --build build --target test
$ sudo cmake --build build --target install
5.
Could not find a package configuration file provided by “diagnostic_updater” with any of the following names:
diagnostic_updaterConfig.cmake
diagnostic_updater-config.cmake
sudo apt-get install ros-galactic-diagnostic-updater
6.could not find a package configuration file provided by "image_publisher"
with any of the following names:
image_publisherConfig.cmake
image_publisher-config.cmake
sudo apt-get install ros-galactic-image-publisher
7.Could not find a package configuration file provided by "libuvc" with any
of the following names:
libuvcConfig.cmake
libuvc-config.cmake
sudo apt-get install libusb-1.0-0-dev libusb-dev libudev-dev
git clone https://github.com/libuvc/libuvc
cd libuvc
mkdir build
cd build
cmake ..
make && sudo make install
8. Could not find a package configuration file provided by "magic_enum" with
any of the following names:
magic_enumConfig.cmake
magic_enum-config.cmake
sudo apt-get install ros-galactic-magic-enum
sudo apt-get install ros-galactic-bondcpp
sudo apt-get install ros-galactic-test-msgs
9. fatal error: nlohmann/json.hpp: No such file or directory
sudo apt-get install nlohmann-json3-dev
10. 若提示 wheeltec_robot_rrt2
Could not find a package configuration file provided by "wheeltec_rrt_msg"
with any of the following names:
wheeltec_rrt_msgConfig.cmake
wheeltec_rrt_msg-config.cmake
colcon build --packages-select wheeltec_rrt_msg
source install/local_setup.bash
colcon build --packages-select wheeltec_robot_rrt
总结:
1.编译编码之前需要安装如下包
sudo apt-get install ros-galactic-async-web-server-cpp \
ros-galactic-behaviortree-cpp-v3 ros-galactic-slam-toolbox ros-galactic-ompl ros-galactic-gazebo-ros-pkgs \
ros-galactic-laser-filters \
ros-galactic-diagnostic-updater \
ros-galactic-image-publisher \
libusb-1.0-0-dev libusb-dev libudev-dev \
ros-galactic-magic-enum \
ros-galactic-bondcpp \
ros-galactic-test-msgs \
nlohmann-json3-dev
2. 安装glog
具体就是:
$git clone https://github.com/google/glog
$ cd glog
$ cmake -H. -Bbuild -G "Unix Makefiles"
$ cmake --build build
$ cmake --build build --target test
$ sudo cmake --build build --target install
3.安装libuvc
git clone https://github.com/libuvc/libuvc
cd libuvc
mkdir build
cd build
cmake ..
make && sudo make install
4. 先编译 wheeltec_rrt_msg 再编译 wheeltec_robot_rrt
colcon build --packages-select wheeltec_rrt_msg
source install/local_setup.bash
colcon build --packages-select wheeltec_robot_rrt
WheelTec ROS 机器人小车 ROS2 编码编译解决相关推荐
- ROS机器人小车底盘DIY有何难?不枉学一番工业设计,巧手搭躯壳
ROS机器人小车底盘DIY有何难?不枉学一番工业设计,巧手搭躯壳 目标: 四轮驱动,可扩展多层的车架结构. 孔位设计: 固定轮子(底座) 固定雷达 固定扩展多层支柱 固定主板,其他传感器,穿线孔等 c ...
- ROSCon 2016视频和幻灯片发布 ROS机器人操作系统重要参考资料
ROSCon 2016视频和幻灯片发布 By Tully Foote on 十月19,2016 7:28 AM 全部PPT下载地址:http://pan.baidu.com/s/1gf2sn2F RO ...
- ROS机器人DIY教程:超声波数据获取(HC-SR04/US-100)
简介: 在机器人开发中虽然我们有激光雷达去感知周围的障碍物,但有的时候应为激光雷达安装位置的原因,无法识别到较低位置的障碍物,此时就需要一个性价比较高的传感器来进行辅助,一般情况可以使用红外或者超声波 ...
- 《ROS机器人程序设计》大纲节选和实验提示(ROS2)
相关课程开设4轮以上,由ROS1KMN过渡到ROS2DFG. ROS机器人程序设计 ROS robot programming 课程编号 16300021 学分 3 开课学期 7 学时 讲课:32学时 ...
- 《ROS机器人程序设计》期中测评试卷 (ROS2)
课程以ROS2-F/G版讲解为主. 文字版: 一.单选题(本大题共6小题, 每小题4分, 共24分.) 1.ROS2默认支持的操作系统平台不包括( ). A. windows: B. linu ...
- ROS导航小车经验总结
经验教训 QS1:rviz地图与gazebo不同步 详细描述: 工作空间:仿真项目 文件位置 course03 启动urdf_gazebo/launch/union.launch (模型启动文件 和 ...
- ROS机器人程序设计(原书第2版).
机器人设计与制作系列 ROS机器人程序设计 (原书第2版) Learning ROS for Robotics Programming,Second Edition 恩里克·费尔南德斯(Enrique ...
- 如何选择ROS机器人平台进行SLAM导航入门:SLAM与ROS的关系
1.SLAM与ROS的关系 1.1.关于SLAM 在了解SLAM之前,需要先对机器人有一个整体的认识.机器人是一个复杂的装置,涉及到执行机构.感知.决策等主要环节.机器人上的配备的常用执行机构有轮式运 ...
- 安装优傲机器人最新ros2驱动
安装优傲机器人最新ros2驱动 课题需要使用优傲机械臂,看见官方发布的最新版ros2驱动就尝试装一下,驱动一如既往的由于网络原因出现了超多的问题,但是最终还是成功的安装编译了,花了两天时间才解决.这里 ...
最新文章
- 面向对象----封装之proprty
- rman备份中的%参数详解
- 可视化---寻找路径与算法
- 三角窗 matlab,【matlab】矩形窗/三角窗/hanning窗/hamming窗/blackman窗的頻率響應圖
- go hive skynet_MMORPG游戏服务器技术选型参考-Go语言中文社区
- python的re2和re区别_浅谈Python中re.match()和re.search()的使用及区别
- Qt笔记-QProcess切换用户执行进程(Linux)
- .net core3.1 下由Autofac接管IOC
- binlog关闭事务记录_MySQL的CrashSafe和Binlog的关系-爱可生
- 大数据从业10年,从一个BI项目的失败,看到数据治理的重要性
- Unity 数字跳动抽奖,且每次数字不重复!
- http://www.baidu.com/cb.php?,帮助文档首页/百度翻译
- 努比亚 N2(Nubia NX575J) 解锁BootLoader 并进入临时recovery ROOT
- 笔记本键盘有几个键失灵了怎么办?
- js实现扫雷-算法分析
- 加拿大海运专线操作流程详解
- 《痞子衡嵌入式半月刊》 第 56 期
- 触发器(Trigger)
- Cmn递推函数c语言,Cmn排列组合 高三数学知识点总结归纳5篇精选
- 海外代购系统/代购网站怎么搭建——源码解析
热门文章
- 设计师应该拥有的 50 个很有用的 CSS 代码
- yum安装git依赖包报错:/usr/lib64/python2.6/site-packages/pycurl.so: undefined symbol: CRYPTO_set_locking_cal
- Spring 揭秘之Spring AOP一世(2)织入实现
- 基本概念学习(1004)---固件
- APP退守、小程序进击,谁在主导内容创业下半场?
- linux下more命令的使用
- 高光谱图像基础知识(一)
- 寻找我梦,再见2016
- android dex文件过多,意外的最高级别异常:com.android.dex.DexException:定义了多个dex文件...
- 空气炸锅能从“网红”到“长红”吗?