duckietown / gym-duckietown

Self-driving car simulator for the Duckietown universe
http://duckietown.org
Other
45 stars 16 forks source link

Fix segmentation april2021 #244

Closed Velythyl closed 3 years ago

Velythyl commented 3 years ago

Fixed segmentation. See attached gif for how it looks now.

Also, added an explicit mapping for some objects. We can thus control which color the objects get mapped to.

ezgif-4-cf1533f7eaf9

TODO for those that know how that part of the gym works: as you can see with the duckiebot, some objects have fixed colors that we can't catch by messing with their texture files. These objects would need to now use texture files, or we'd have to intercept their texture loads somehow.