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
相关推荐
程序员-King.1 天前
【ROS1】Noetic 开发工作流程与常用命令
c++·ubuntu·ros
地平线开发者3 天前
【玩转 征程6 算法工具链:PTQ 工具篇】hb_verifier
算法·自动驾驶
滴啦嘟啦哒6 天前
【具身笔记】【π0.5 微调与仿真】三、libero数据可视化
笔记·python·ros·vla
free_android6 天前
ROS2 TF 树详解与 rviz Fixed Frame 正确配置
ros·rviz
rtu遥测终端机6 天前
四信助力无人车远程接管与遥操作,低时延通信是安全底线
物联网·自动驾驶
陈嘿萌10 天前
CVPR 2026 | 全新的五模态信息融合数据集,包括RGB、事件、热成像、4D 雷达与 LiDAR
人工智能·深度学习·计算机视觉·自动驾驶·学术研究与理论基础·点云雷达
论文复现现场10 天前
自动驾驶 BEV 模型训练,2 张 A100 80GB 够不够?显存、双卡训练与租赁成本
人工智能·深度学习·机器学习·自动驾驶·分布式训练·a100·bevformer
JuiceFS10 天前
地平线 EB 级存储工程实践
人工智能·后端·自动驾驶
零基础12312 天前
自动驾驶中的边界情况处理:基于世界模型与混合专家及大语言模型的方法
人工智能·语言模型·自动驾驶
香菜+12 天前
CAN 和 CANFD
自动驾驶