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
相关推荐
测绘第一深情2 小时前
Transformer:从基础原理到自动驾驶 BEV 矢量化地图构建
开发语言·人工智能·经验分享·深度学习·机器学习·自动驾驶·transformer
哎嗨人生公众号18 小时前
手写求导公式,让轨迹优化性能飞升,150ms变成9ms
开发语言·c++·算法·机器人·自动驾驶
Frank学习路上2 天前
【AI技能】跟着费曼学自动驾驶
人工智能·机器学习·自动驾驶
勤自省2 天前
ros生态系统
ros
kobesdu2 天前
ROS导航调参指南:机器人模型、TEB/DWA与Costmap全解析
人工智能·机器人·ros
勤自省2 天前
在Ubuntu20.04上安装ROS
linux·ros
星光技术人2 天前
怎么理解任务接口不是文本
人工智能·深度学习·计算机视觉·语言模型·自动驾驶
绍磊leo4 天前
ROS2 企业级构建脚本:告别繁琐的命令行操作
ros
kobesdu5 天前
ORB-SLAM3:从特征提取到稠密点云建图
机器人·ros·orbslam
空间机器人5 天前
自动驾驶 ADAS 器件选型:算力只是门票,系统才是生死线
人工智能·机器学习·自动驾驶