使用指导
========
依赖
----
[Autolabor\_simulation](https://github.com/gsc07/autolabor_simulation) 是基于ROS开发的轮式机器人模拟器,所以在使用前需要先安装ROS环境。如果你使用的是Ubuntu 16.04操作系统,ROS环境安装方式可参考 [ROS环境安装](http://wiki.ros.org/kinetic/Installation/Ubuntu)
如果你没有Ubuntu系统环境,可以在模拟器中安装 AutolaborOS,并在 AutolaborOS 中实现教程中所有功能。AutolaborOS 是基于 Ubuntu16.04 定制的机器人操作系统,其中包含ROS环境以及多种传感器驱动,同时包含模拟器以及导航建图功能模块。具体安装方式以及下载地址可以参考 [AutolaborOS安装](http://www.autolabor.com.cn/lib/video/play/4)
编译安装
--------
[Autolabor\_simulation](https://github.com/gsc07/autolabor_simulation) 仓库由若干个 [Ros Package](http://wiki.ros.org/Packages) 组成,仓库下的每个package 有自己的配置文件(package.xml),可以直接将 [Autolabor\_simulation](https://github.com/gsc07/autolabor_simulation) 克隆到你 的workspace的src文件夹下,利用catkin\_make编译autolabor\_simulation.
创建你的 [catkin\_workspace](http://wiki.ros.org/catkin/Tutorials/create_a_workspace)
``` {.sourceCode .bash}
# Create catkin_workspace
source /opt/ros/kinetic/setup.bash
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws/
catkin_make
```
下载并编译
``` {.sourceCode .bash}
# Clone Autolabor_simulation to your workspace
cd ~/catkin_ws/src/
git clone https://github.com/gsc07/autolabor_simulation.git
# Build source
cd ..
catkin_make
source devel/setup.bash
```
如果希望ROS环境中默认包含autolabor\_simulation,可以使用如下命令将workspace设为默认包含
``` {.sourceCode .bash}
# Source workspace for every terminal
source ~/catkin_ws/devel/setup.bash
```
Quick Start
-----------
在[simulation\_base](https://github.com/gsc07/autolabor_simulation/tree/master/simulation_launch/launch)中提供了很多预先配好的launch文件,下面运行一个简单的入门教程,使用autolabor\_simulation运行gmapping和move\_base控制小车在迷宫中行走:
``` {.sourceCode .bash}
# Source workspace for every terminal
source ~/catkin_ws/devel/setup.bash
roslaunch simulation_launch gmapping_navigation.launch
```
运行命令后,rviz会自动弹出并显示对应的信息,下面利用rviz中的 2D Nav Goal 来触发小车的自动规划吧!
更多教程,可参考[doc](https://github.com/gsc07/autolabor_simulation/tree/master/doc)文件夹下的使用说明。生成命令如下:
``` {.sourceCode .bash}
# Install doc generator and its dependence
sudo apt-get install python3-sphinx
pip3 install --user sphinx_rtd_theme
# Go to the doc dir and build it
cd ~/catkin_make/src/autolabor_simulation/doc
make html
# Waiting for the make till it finished
xdg-open build/html/index.html
```
项目结构
--------
``` {.sourceCode .bash}
├── autolabor_description 移动机器人urdf模型
│ ├── CMakeLists.txt
│ ├── launch 启动移动机器人模型相关launch脚本
│ ├── meshes 移动机器人三维模型
│ ├── package.xml
│ ├── rviz 移动机器人rviz可视化配置参数
│ └── urdf 移动机器人三维模型相关配置参数
├── autolabor_keyboard_control 键盘控制模块
│ ├── CMakeLists.txt
│ ├── include 键盘控制模块头文件
│ ├── package.xml
│ └── src 键盘控制模块源代码
├── autolabor_simulation_base 移动机器人底盘模拟(包含轮速里程计模拟)
│ ├── CMakeLists.txt
│ ├── include 底盘模块头文件
│ ├── launch 底盘模块测试launch脚本
│ ├── package.xml
│ └── src 底盘模块源代码
├── autolabor_simulation_lidar 单线激光雷达模拟
│ ├── CMakeLists.txt
│ ├── include 单线激光雷达模块头文件
│ ├── launch 单线激光雷达测试launch脚本
│ ├── package.xml
│ └── src 单线激光雷达源代码
├── autolabor_simulation_object 动态障碍物模拟
│ ├── CMakeLists.txt
│ ├── include 动态障碍物模拟模块头文件
│ ├── launch 动态障碍物模拟模块launch脚本
│ ├── package.xml
│ └── src 动态障碍物模拟模块源代码
├── autolabor_simulation_stage 自定义场景模拟
│ ├── CMakeLists.txt
│ ├── include 自定义场景模拟模块头文件
│ ├── launch 自定义场景模拟模块测试launch脚本
│ ├── map 场景地图
│ ├── package.xml
│ ├── src 自定义场景模拟模块源代码
│ └── srv 自定义场景模拟模块ROS中使用的自定义消息
├── doc 说明文档
│ ├── make.bat
│ ├── Makefile
│ └── source
├── README.md
└── script 模拟器相关脚本
└── add_keyboard_udev 添加键盘映射脚本
```
没有合适的资源?快使用搜索试试~ 我知道了~
使用ros节点编写的模拟器,用于模拟轮式机器人行走、相关传感器、场景等。___下载.zip
共224个文件
png:26个
yaml:19个
jpg:18个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 120 浏览量
2023-04-16
19:43:06
上传
评论
收藏 14.05MB ZIP 举报
温馨提示
使用ros节点编写的模拟器,用于模拟轮式机器人行走、相关传感器、场景等。___下载.zip
资源推荐
资源详情
资源评论
收起资源包目录
使用ros节点编写的模拟器,用于模拟轮式机器人行走、相关传感器、场景等。___下载.zip (224个子文件)
add_keyboard_udev 147B
rviz_5.apng 69KB
rviz_5.apng 69KB
make.bat 7KB
MG_map.bmp 637KB
.buildinfo 230B
simulation_stage_node.cpp 8KB
simulation_lidar_node.cpp 8KB
simulation_object_node.cpp 8KB
simple_fusion.cpp 6KB
simulation_base_node.cpp 6KB
loop_path_planner.cpp 5KB
keyboard_control_node.cpp 4KB
record_path_node.cpp 4KB
record_path_planner.cpp 3KB
path_rviz_plugin.cpp 3KB
load_path_node.cpp 3KB
simulation_location_node.cpp 2KB
theme.css 112KB
basic.css 10KB
pygments.css 4KB
badge_only.css 3KB
my-styles.css 82B
my-styles.css 82B
autolabor_simulation_base.doctree 65KB
tf_coordinate_introduction.doctree 46KB
getting_start.doctree 17KB
index.doctree 12KB
fontawesome-webfont.eot 162KB
rviz_6.gif 619KB
rviz_6.gif 619KB
rviz_6.gif 619KB
rviz_5.gif 389KB
rviz_5.gif 389KB
rviz_5.gif 389KB
rviz_7.gif 285KB
rviz_7.gif 285KB
rviz_7.gif 285KB
ajax-loader.gif 673B
.gitignore 58B
loop_path_planner.h 3KB
simulation_stage_node.h 3KB
record_path_planner.h 2KB
simulation_lidar_node.h 2KB
record_path_node.h 2KB
simple_fusion.h 2KB
simulation_object_node.h 1KB
simulation_base_node.h 1KB
keyboard_control_node.h 1KB
path_rviz_plugin.h 1KB
simulation_location_node.h 891B
load_path_node.h 874B
autolabor_simulation_base.html 31KB
tf_coordinate_introduction.html 17KB
getting_start.html 11KB
index.html 9KB
search.html 5KB
genindex.html 4KB
layout.html 150B
objects.inv 373B
tf_4.jpg 185KB
tf_4.jpg 185KB
tf_4.jpg 185KB
tf_3.jpg 182KB
tf_3.jpg 182KB
tf_3.jpg 182KB
tf_2.jpg 182KB
tf_2.jpg 182KB
tf_2.jpg 182KB
tf_1.jpg 63KB
tf_1.jpg 63KB
tf_1.jpg 63KB
right_hand_rule.jpg 10KB
right_hand_rule.jpg 10KB
right_hand_rule.jpg 10KB
right_hand_axes.jpg 6KB
right_hand_axes.jpg 6KB
right_hand_axes.jpg 6KB
jquery-3.2.1.js 262KB
jquery.js 85KB
underscore-1.3.1.js 34KB
searchindex.js 30KB
searchtools.js 25KB
websupport.js 25KB
modernizr.min.js 15KB
underscore.js 12KB
doctools.js 9KB
translations.js 5KB
theme.js 4KB
documentation_options.js 198B
gmapping_navigation.launch 7KB
hector_navi.launch 5KB
teb_loop_move_base_simulation.launch 5KB
teb_loop_move_base_simulation_object.launch 5KB
teb_move_base_simulation.launch 5KB
move_base_simulation.launch 5KB
without_tf.launch 2KB
location_test.launch 2KB
lidar_sim.launch 2KB
demo_simulation_base.launch 2KB
共 224 条
- 1
- 2
- 3
资源评论
快撑死的鱼
- 粉丝: 1w+
- 资源: 9154
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功