当前位置: 首页 > news >正文

徐州企业网站模板建站个人网站虚拟主机

徐州企业网站模板建站,个人网站虚拟主机,wordpress播放网易云,郧阳网站建设1.概述 Cartographer是一个支持多平台和传感器配置的SLAM的系统。 本文主要讲述在ros2 humble系统上cartographer的安装方法,以及如何配置参数实现自己的ros2 bag包的离线建图。 官方cartographer的github地址:https://github.com/ros2/cartographer 官方cartographer_ros的…

1.概述

Cartographer是一个支持多平台和传感器配置的SLAM的系统。
本文主要讲述在ros2 humble系统上cartographer的安装方法,以及如何配置参数实现自己的ros2 bag包的离线建图。
官方cartographer的github地址:https://github.com/ros2/cartographer
官方cartographer_ros的github地址:https://github.com/ros2/cartographer_ros
官方cartographer说明文档(非ROS2版本)地址:https://google-cartographer.readthedocs.io/en/latest/
官方cartographer_ros说明文档(非ROS2版本)地址:https://google-cartographer-ros.readthedocs.io/en/latest/

2.安装cartographer

2.1 apt安装

sudo apt install ros-humble-cartographer ros-humble-cartographer-ros
# 等待安装完成,输入如下指令查看是否安装完成;先source一下环境
ros2 pkg list | grep cartographer
# 正常可看到返回如下pkg
cartographer_ros
cartographer_ros_msgs
cartographer_rviz

2.2 源码安装

sudo apt-get update
sudo apt-get install -y python3-wstool python3-rosdep ninja-build stow
# 根据个人意愿,建立新的工作空间
mkdir cartogrpaher_ws
cd cartogrpaher_ws
wstool init src
cd src
git clone https://ghproxy.com/https://github.com/ros2/cartographer.git
git clone https://ghproxy.com/https://github.com/ros2/cartographer_ros.git
wstool update -t src
sudo rosdep init
rosdep update
rosdep install --from-paths src --ignore-src --rosdistro=humble -y
colcon build
# 如果提示缺少依赖,命令行安装一下即可
# 同上述apt安装,安装完成,source一下环境,检查是否成功

3.cartographer参数配置

因为是用纯激光的bag数据仿真运行,一般只需要.launch.py+.lua+(urdf)即可;没有用到imu和odom数据;

3.1 .launch.py文件

这里参考的demo_backpack_2d.launch.py和backpack_2d.launch.py;(参考demo_revo_lds.launch.py更好,只用一个文件即可)

# demo_my_robot_2d.launch.py
def generate_launch_description():# 未配置默认bag包的打开位置,启动时需要加指令: bag_filename:= bag包的位置bag_filename_arg = DeclareLaunchArgument('bag_filename')## ***** Nodes ***** 修改参数为my_robot_2d.launch.pymy_robot_2d_launch = IncludeLaunchDescription(PythonLaunchDescriptionSource(FindPackageShare('cartographer_ros').find('cartographer_ros') + '/launch/my_robot_2d.launch.py'),launch_arguments = {'use_sim_time': 'True'}.items())# 以下均未调整rviz_node = Node(package = 'rviz2',executable = 'rviz2',on_exit 
http://www.yayakq.cn/news/991378/

相关文章:

  • 找做仿网站网站推广费用入什么科目
  • 山西教育平台网站建设2017年做那家网站好
  • 哪里有网站建设的文章深圳网站建设怎样
  • 长沙人才招聘网站wordpress博客dux主题
  • 哪个网站找做软件下载婚纱摄影网站制作
  • 专业网站制作软件wordpress做api接口
  • 庆阳网站设计 贝壳下拉长春网站制作可选吉网传媒好
  • 外汇自动跟单网站开发网站文章批量上传工具
  • 企业网站建设的层次池州做网站公司
  • 安卓手机做网站服务器吗企业网站建设公司有哪些
  • 有哪些网站做的比较好制作网站网站
  • 2345影视大全最新版2021下载安装关键字优化价格
  • 西安网站建设服务商网络营销能做什么
  • 网页的网站建设在哪里中国建设银行股份有限公司
  • 用什么软件搭建网站源码成品软件十大免费
  • 怎样做类似于优酷的视频网站淘宝客论坛响应式php网站下载
  • 家装网站建设公司哪家好搜索建站
  • 做网站与做游戏那个好网站空间 默认文档
  • 网站编排类型大连零基础网站建设教学哪里有
  • 广州seo排名收费网站seo的方法
  • 男女做暖暖的网站大全公司注册地址的要求
  • 广州番禺哪个公司建网站比较好服务器免备案
  • 珠海网站建设易搜互联wordpress申请网站
  • 搭建手机网站工业设计网站下载
  • 网站备案专员微信里的网站怎么做
  • 伍菲网站建设重庆网站设计制造厂家
  • 1688网站怎么做分销wordpress 自定义数据表
  • 网站建设与维护高考试卷wordpress 导航栏效果
  • 网页制作与网站建设教程视频wordpress微信群机器人
  • 做营销的网站网站支付怎么做虚拟币支付