[FEATURE REQUEST] Enhance icon usage
At the moment CommonRoad allows to draw car icons instead of the occupancy rectangles.
This feature could be enhanced in the following ways:
- Draw the icon dependent on the vehicle type (currently every dynamic obstacle gets the car icon)
- Fit the icon into the occupancy rectangle (as far as i can tell, the icon does currently not get scaled into the bounding box)
- Change the face color of the vehicle icons.
This enhancements would allow to create more visually pleasing figures for the embedding in publications.
During a previous project we already implemented 3 additional vehicle icons (bus, truck, bicycle). These icons (as well as a a reworked car icon) are scalable to any occupancy size.
Here is a example, that shows a car, a bicycle and a bus:
I would like to implemented a pull request to embed this icons into the draw_object() function of CommonRoadIo, under the condition that this feature request is accepted.
The implementation shall be generic so that additional icons in future CommonRoad releases is easy and straightforward.