ROS_Navigation专题1 - Introduction and Learning

ROS_Navigation专题1 - Introduction and Learning Resources

  Before going further, it is highly recommended that the reader check out the NavigationRobot Setup tutorial on the ROS Wiki.
  This tutorial provides an excellent overview of the ROS navigation stack.
  For an even better understanding, check out all of the Navigation Tutorials.
  And for a superb introduction to the mathematics underlying SLAM, check out Sebastian Thrun's onlineArtificial Intelligence course on Udacity.

  If you own a TurtleBot, you might want to skip directly to the TurtleBot SLAM tutorial on the ROS Wiki.
  Another affordable SLAM robot is the Neato XV-11 vacuum cleaner which includes a 360-degree laser scanner. In fact, you can run the complete Navigation Stack using the XV-11 thanks to the neato_robot ROS stack by Michael Ferguson.

In this special subject, we will cover the three essential ROS packages that make up the core of the Navigation Stack:

  • move_base for moving the robot to a goal pose within a given reference frame
  • gmapping for creating a map from laser scan data (or simulated laser data from a depth camera)
  • amcl for localization using an existing map
----
In this case, I fell that starting from ROS  Navigation Tutorials could be a better way to learn.
----
So I will follow the outline below:

1. Navigation is an ROS stack named as "Navigation"

   It contains packages listed as below:
   amcl*
   base_local_planner
   carrot_planner
   clear_costmap_recovery
   costmap_2d
   dwa_local_planner
   fake_localization
   global_planner
   map_server*
   move_base*
   move_base_msgs
   move_slow_and_clear
   nav_core
   navfn
   robot_pose_ekf
  
在Jetson (如Nano、TX2、 Xavier等) 上安装ROS ($ROS_DISTRO,比如Melodic Morenia、Noetic尼科蒂斯等) 和相关的image-geometry包通常需要几个步骤: 1. **更新系统**: - 首先,确保Jetson板子上的Linux系统是最新的,可以运行 `sudo apt update` 和 `sudo apt upgrade`。 2. **安装ROS基础依赖**: - 使用apt包管理器安装ROS,例如如果要安装Melodic版,运行: ``` sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654 echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/ros-latest.list sudo apt update sudo apt install ros-melodic-desktop ``` 3. **安装image_geometry包**: - 如果image_geometry不在默认的ROS Melodic仓库里,可以在终端中输入: ``` sudo apt search image_geometry ``` - 如果找到了,选择合适的版本并安装,如 `sudo apt install ros-melodic-image-geometry` 或者 `sudo apt install ros-noetic-image-geometry`,取决于你的ROS版本。 4. **设置ROS工作空间**: - 初始化一个新的ROS工作空间,比如 `mkdir -p ~/catkin_ws/src`,然后将image_geometry源码或二进制包添加到工作空间下。 5. **构建和安装**: - 进入工作空间 `cd ~/catkin_ws`, 然后运行 `catkin init` 创建目录结构,接下来执行 `catkin build` 构建package,最后 `source devel/setup.bash` 来激活新安装的环境。 6. **检查安装**: - 检查image_geometry是否成功安装,可以运行命令 `rospack list | grep image_geometry`。 记得根据你的实际ROS发行版和硬件选择相应的命令。如果你遇到任何问题,可能会需要查阅ROS官方文档或寻求社区支持。
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值