forked from frank-qcd-qk/dt-gui-tools
-
Notifications
You must be signed in to change notification settings - Fork 2
Map using in simulator
Dmitry Ivanov edited this page Oct 2, 2020
·
1 revision
Interaction with map takes place in https://github.com/duckietown/gym-duckietown/blob/master/gym_duckietown/simulator.py
-
_load_objects
: https://github.com/duckietown/gym-duckietown/blob/e8eef3f53df304aefa9bc0bd4aca175b41ee76d7/gym_duckietown/simulator.py#L611- use:
- kind (use for meshes)
- pos
- rotate
- height/scale
- static
-
if static == True
-
if kind == trafficlight
->TrafficLightObj
-
else
->WorldObj
-
-
else
->DuckieObj
-
- use:
-
_interpret_map
: https://github.com/duckietown/gym-duckietown/blob/e8eef3f53df304aefa9bc0bd4aca175b41ee76d7/gym_duckietown/simulator.py#L542- use for tile:
- skip
empty
- calc angle
- skip
are the types of tiles used here? (A/B/C/D )
- use for tile:
-
?
_get_curve
: https://github.com/duckietown/gym-duckietown/blob/e8eef3f53df304aefa9bc0bd4aca175b41ee76d7/gym_duckietown/simulator.py#L822- use
- kind
- angle
Get the Bezier curve control points for a given tile
- use