# Overview
Autonomous driving car simulator based on gazebo.
The following sensors are simulated.
- velodyne (VLP-16, HDL-32E)
- camera
- imu
![screenshot from 2019-01-11 00-42-10-min](https://user-images.githubusercontent.com/8327598/50984661-bed3f780-1545-11e9-9af6-071ddd1cec76.png)
# Requirements
- ROS (higher kinetic)
- gazebo (higher version 7)
# Download
```shell
$ cd <catkin workspace/src/>
$ git clone https://github.com/yukkysaito/vehicle_sim.git --recurse-submodules
```
or if you already have a copy of the repo, run `$ git submodule update --init --recursive`.
# How to use
1. build
```shell
$ rosdep install --from-paths <vehicle_sim path> -y
$ cakin_make
$ source "your catkin workspace"/devel/setup.bash
```
2. upgrade gazebo version and download gazebo models(**only once**)
- reason : https://bitbucket.org/DataspeedInc/velodyne_simulator/src/56d11e899ce0a198e7206298b3aaaf8004f3a2c6/gazebo_upgrade.md?fileviewer=file-view-default
```
$ rosrun vehicle_sim_launcher setup.sh
```
3. launch gazebo
```shell
$ roslaunch vehicle_sim_launcher world_test.launch
```
If GPU is available
```shell
$ roslaunch vehicle_sim_launcher world_test.launch gpu:=true
```
[![](https://img.youtube.com/vi/JViNKB_igI4/0.jpg)](https://www.youtube.com/watch?v=JViNKB_igI4)
# Some example
## **Citysim** : http://gazebosim.org/blog/car_sim
```
$ roslaunch vehicle_sim_launcher gazebo7_citysim.launch gpu:=true
```
If you use gazebo9, simulate traffic lights and moving objects.
Build according to the [readme](https://github.com/yukkysaito/osrf_citysim/tree/9356b76bd827a3afcb71000b9274e3f64713a77c) and execute the following command
```
$ roslaunch vehicle_sim_launcher gazebo9_citysim.launch gpu:=true
```
![screenshot from 2019-01-11 00-40-35-min](https://user-images.githubusercontent.com/8327598/50985197-19ba1e80-1547-11e9-98d1-284b3172c064.png)
## **mcity(car_demo)** : https://github.com/osrf/car_demo
```
$ roslaunch vehicle_sim_launcher gazebo_mcity.launch gpu:=true
```
![screenshot from 2019-01-11 00-38-49-min](https://user-images.githubusercontent.com/8327598/50985258-3e15fb00-1547-11e9-91d4-3b826b82136e.png)
## **Connect to Autoware** : https://github.com/CPFL/Autoware
If you need pointcloud map and path files, you can [download](https://drive.google.com/open?id=1yu8s885HDkJp3IbMV06KWim2ZdUxIoIF).
The follwing video is used *autoware_world/pointcloud_map* and *autoware_world/path*.
```
$ roslaunch vehicle_sim_launcher gazebo_autoware.launch gpu:=true
```
[![](https://img.youtube.com/vi/wIzZ25XJI2M/0.jpg)](https://www.youtube.com/watch?v=wIzZ25XJI2M)
# How to change vehicle info
You can customize sensor position and vehicle info.
- sensor position: vehicle/vehicle_model/config/caibration.yaml
- vehicle info: vehicle/vehicle_model/config/vehicle_info.yaml
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
Autoware汽车仿真.zip (72个子文件)
Autoware汽车仿真
vehicle_sim
worlds
gazebo_world_description
CMakeLists.txt 198B
worlds
autoware.world 282KB
.gitignore 7B
package.xml 363B
external
car_demo
osrf_citysim
.git
index 6KB
HEAD 23B
refs
heads
master 41B
tags
remotes
origin
HEAD 32B
objects
pack
pack-2b9eb6fa336c7c4b23004688c08646f3c58ea4a6.idx 30KB
pack-2b9eb6fa336c7c4b23004688c08646f3c58ea4a6.pack 40.67MB
info
description 73B
packed-refs 114B
info
exclude 240B
logs
HEAD 191B
refs
heads
master 191B
remotes
origin
HEAD 191B
hooks
post-update.sample 189B
prepare-commit-msg.sample 1KB
commit-msg.sample 896B
pre-receive.sample 544B
update.sample 4KB
pre-commit.sample 2KB
pre-rebase.sample 5KB
applypatch-msg.sample 478B
fsmonitor-watchman.sample 3KB
pre-applypatch.sample 424B
pre-push.sample 1KB
config 270B
branches
launcher
vehicle_sim_launcher
CMakeLists.txt 490B
package.xml 1010B
launch
world_test.launch 2KB
gazebo_mcity_autoware.launch 2KB
gazebo9_citysim_autoware.launch 2KB
gazebo_autoware.launch 2KB
rviz_test.launch 612B
gazebo_empty_world.launch 2KB
gazebo7_citysim_autoware.launch 2KB
scripts
upgrade_gazebo_stable_version.sh 287B
integrate_world_files.sh 531B
download_model.sh 722B
setup.sh 158B
.gitmodules 403B
.gitignore 8B
vehicle
vehicle_sim_interface
CMakeLists.txt 1KB
src
vehicle_info_publisher.cpp 4KB
vehicle_input_subscriber.cpp 6KB
package.xml 1KB
sensor_model
camera
camera_description
CMakeLists.txt 197B
urdf
monocular_camera.xacro 3KB
package.xml 2KB
velodyne
imu
imu_description
CMakeLists.txt 194B
urdf
imu.xacro 2KB
package.xml 2KB
vehicle_model
CMakeLists.txt 629B
urdf
steering.xacro 3KB
vehicle.gazebo 895B
wheel.gazebo 1KB
body.xacro 2KB
wheel.xacro 1KB
vehicle.xacro 5KB
steering.gazebo 581B
actuator.xacro 2KB
package.xml 1KB
mesh
_51225ex2diffuse.jpeg 559KB
_51225ex1diffuse.jpeg 937KB
body.dae 2.13MB
wheel.dae 234KB
README.md 20B
config
calibration.yaml 242B
vehicle_info.yaml 156B
controller.yaml 745B
README.md 3KB
共 72 条
- 1
资源评论
- Asama浅间2023-07-26这个自动驾驶汽车xacro模型提供了很好的可视化效果,让人更加直观地理解自动驾驶技术的应用。
- yiyi分析亲密关系2023-07-26实现自动驾驶所需的各种传感器和控制算法都被很好地整合在了这个xacro模型中,非常实用。
- 王者丶君临天下2023-07-26通过这个文件,我了解到了自动驾驶汽车的相关设计原理,感觉自己学到了很多。
- 耄先森吖2023-07-26这个自动驾驶汽车xacro模型提供了详细的设计细节,对于对自动驾驶汽车感兴趣的人来说非常有价值。
- 首席程序IT2023-07-26这个文件提供的自动驾驶汽车xacro模型具备良好的结构和准确的尺寸,可以作为一个优秀的参考。
Travis.X
- 粉丝: 1422
- 资源: 11
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功