没有合适的资源?快使用搜索试试~ 我知道了~
首页ROS Tutorial for Beginners
ROS Tutorial for Beginners
1星 需积分: 9 17 下载量 21 浏览量
更新于2023-03-16
评论 1
收藏 139KB PDF 举报
适合初学者的ros教程 This tutorial will guide you through the ROS environment and the basic command-line tools. We will also write a simple ROS application and get it up and running. Before we start, please note that this tutorial is intended for using with Ubuntu.
资源详情
资源评论
资源推荐
AT90.9027: Selected Topic: Cloud Robotics July 11, 2012
Asian Institute of Technology Computer Science and Information Management
Handout: ROS Tutorial for Beginners Instructor: Kan Ouivirach (kan@ieee.org)
ROS Tutorial for Beginners
Instructions: This tutorial will guide you through the ROS environment and the basic command-line tools.
We will also write a simple ROS application and get it up and running. Before we start, please note that
this tutorial is intended for using with Ubuntu.
Presentation: http://goo.gl/WAVkn
Credits: Thanks to Jednipat for his valuable guidance.
Configure Your ROS Environment
If you do not have ROS installed on your machine yet, please complete the installation instructions first at
http://www.ros.org/wiki/ROS/Installation/Ubuntu.
Messing with the ROS base installation is not recommended unless you have some specific reasons. Since we
are still a ROS noob, it is better to create a new path (e.g., /home/YOUR USER NAME/ros workspace) and
add it to ROS PACKAGE PATH. Let’s follow the steps below.
1. Create a ROS workspace:
$
mkdir
∼
/ros workspace
2. It is convenient to set up the ROS workspace automatically every time we open a new terminal. Run
the following commands:
(a)
$
echo "export ROS PACKAGE PATH=
∼
/ros workspace:
$
ROS PACKAGE PATH" >>
∼
/.bashrc
(b)
$
echo "export ROS WORKSPACE=
∼
/ros workspace" >>
∼
/.bashrc
(c)
$
.
∼
/.bashrc
3. Just to confirm you have done it correctly. Run this command: echo
$
ROS PACKAGE PATH, and you
should see something similar to:
/home/YOUR USER NAME/ros workspace:/opt/ros/fuerte/share:/opt/ros/fuerte/stacks
If you are using the different version of ROS, please change the environment accordingly.
4. Now if you run: roscd, you will go to your workspace directly.
Understand ROS with Turtle
In this section, a turtle will help you to understand how ROS messaging mechanism works.
1. We get started with building a ROS package turtlesim. First we need to install system dependencies
required for turtlesim:
$
rosdep install turtlesim
If you see an error saying that rosdep has not been initialized. To fix this, run:
1
luoxiaoiie9527
- 粉丝: 0
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- 2022年中国足球球迷营销价值报告.pdf
- 房地产培训 -营销总每天在干嘛.pptx
- 黄色简约实用介绍_汇报PPT模板.pptx
- 嵌入式系统原理及应用:第三章 ARM编程简介_3.pdf
- 多媒体应用系统.pptx
- 黄灰配色简约设计精美大气商务汇报PPT模板.pptx
- 用matlab绘制差分方程Z变换-反变换-zplane-residuez-tf2zp-zp2tf-tf2sos-sos2tf-幅相频谱等等.docx
- 网络营销策略-网络营销团队的建立.docx
- 电子商务示范企业申请报告.doc
- 淡雅灰低面风背景完整框架创业商业计划书PPT模板.pptx
- 计算模型与算法技术:10-Iterative Improvement.ppt
- 计算模型与算法技术:9-Greedy Technique.ppt
- 计算模型与算法技术:6-Transform-and-Conquer.ppt
- 云服务安全风险分析研究.pdf
- 软件工程笔记(完整版).doc
- 电子商务网项目实例规划书.doc
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论1