-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
30 lines (23 loc) · 794 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
This folder contains files for building osm_plugin for gazebo simulator.
Dependencies:
Python 2.x
Python packages: elementtree, osmapi
(installation: pip install elementtree osmapi)
Files:
osm2dict.py
Collects data about certain types of roads based on input coordinates from osm database and converts the information received to format that can be used to build sdf files.
dict2sdf.py
Usd to build sdf file from data received about the elements in the sdf format.
functionality:
add models to world
add road element
set road width
add points to the road element
example.py
A test file which outputs a sdf file ( set to "outFile.sdf" in example.py).
Usage:
Run example.py file
python example.py
Output file: outFile.sdf
Check the file on gazebo
gazebo outFile.sdf