ros中的Navigation导航系统

如果没有建好的地图,建图指令:

bash 复制代码
#【1】下载源代码
cd ~/catkin_ws/src
git clone https://github.com/6-robot/wpr_simulation.git
#若github超时,试试从gitee下载:
git clone https://gitee.com/s-robot/wpr_simulation.git
cd wpr_simulation/scripts/
./install_for_noetic.sh
cd ~/catkin_ws/
catkin_make

cd ~/catkin_ws/src
git clone https://github.com/6-robot/wpb_home.git
#若github超时,试试从gitee下载:
git clone https://gitee.com/s-robot/wpb_home.git
cd wpb_home/wpb_home_bringup/scripts/
./install_for_noetic.sh
cd ~/catkin_ws/
catkin_make
bash 复制代码
#【2】建图指令
roslaunch wpr_simulation wpb_gmapping.launch
rosrun wpr_simulation keyboard_vel_ctrl
rosrun map_server map_saver -f map

建图完成后需要将.png和.yaml地图文件放入wpr_simulation/maps 中。

bash 复制代码
#【3】创建软件包
catkin_create_pkg nav_pkg roscpp rospy move_base_msgs actionlib
#【4】参考代码
wpr_simulation/launch/wpb_demo_nav.launch
bash 复制代码
#【5】导航运行
roslaunch wpr_simulation wpb_stage_robocup.launch
roslaunch wpr_simulation wpb_demo_nav.launch
相关推荐
Agilex松灵机器人9 小时前
UMR × NAVIS:移动机器人行业级通用一体化底盘与3D导航解决方案
人工智能·3d·机器人·ros·slam·vla·松灵机器人
春日见1 天前
Bevfomer论文笔记
人工智能·深度学习·学习·机器学习·计算机视觉·自动驾驶
weixin_400005602 天前
Vision-Language-Action:LMDrive双损失函数训练模块与 LangAuto 基准评测框架
人工智能·深度学习·算法·机器学习·自动驾驶
HERR_QQ2 天前
强化学习的数学原理 学习笔记
人工智能·笔记·学习·自动驾驶
weixin_400005602 天前
RL-frenet-trajectory-planning-in-CARLA
人工智能·深度学习·算法·机器学习·自动驾驶
武子康2 天前
调查研究-216 Tesla Robotaxi 进了 Miami,但真正的考题才刚开始
人工智能·llm·自动驾驶
weixin_400005603 天前
Vision-Language-Action:LMDrive项目架构与核心算法组件
人工智能·深度学习·算法·机器学习·架构·自动驾驶
地平线开发者3 天前
征程 6E/M Matrix 开发评板使用系列(一):开箱与点亮
算法·自动驾驶
天佑木枫4 天前
AI:AI 开车撞了人,谁赔钱?——自动驾驶的法律黑洞
人工智能·机器学习·自动驾驶
冬奇Lab8 天前
每日一个开源项目(第146篇):openpilot - 开源自动驾驶辅助系统,曾在 Consumer Reports 评测中超过特斯拉 Autopilot
人工智能·开源·自动驾驶