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
相关推荐
怎么就重名了10 小时前
controller_server的cmd_vel_nav
ros
DisonTangor3 天前
Qwen-Drive-1.0:首个统一 3D 感知、视觉问答与运动规划的自动驾驶视觉语言基础模型
人工智能·3d·自动驾驶
DreamLife☼3 天前
Agent的典型应用场景深度解析
自动驾驶·agent·iot·工业·智慧交通·医疗健康
智能汽车人4 天前
自动驾驶大模型---Waymo在世界模型的探索
人工智能·机器学习·自动驾驶
m0_739312875 天前
【自动驾驶与机器人控制】几何学和运动学中,四元数q.normalize() 到底干了什么?——修复模长 ≠ 修复角度误差
机器人·自动驾驶·几何学
Zixhy5 天前
多点巡检机器人项目技术总结
linux·c++·机器人·自动驾驶
m0_739312875 天前
【自动驾驶和机器人控制】万向锁(Gimbal Lock)原理详解 + 和欧拉角 / 四元数 / SO(3)对比
算法·机器人·自动驾驶
m0_739312875 天前
四元数、李群SO(3)/李代数so(3)的作用及应用场景
算法·机器人·自动驾驶
m0_739312876 天前
【自动驾驶/机器人控制】之坐标系&运动学仿真代码工程分析(一)
人工智能·机器人·自动驾驶
rtu遥测终端机6 天前
既要通信可靠,又要边缘算力:四信系列车载网关选型指南
物联网·自动驾驶