VectorMapper Rules - AD-EYE/AD-EYE_Core GitHub Wiki

Some rules need to be followed during the creation of the simulation world in order to ensure that it is supported by the vector mapper.

Rules relating to Road Network

If your network is closed (if there are no road section not connected on one of their side), you need to have at least one crossroad in your map. If not, for some reason, autoware doesn't work.

Available RoadType

All road types in Prescan are supported by the VectorMapper.

Roundabout

Two rules need to be followed for roundabouts:

  1. Every exit must be connected to another road (any road type expect X crossing, Y crossing, and Roundabout)

  2. The roads must be connected to the roundabout exits so that their origin is on the roundabout side (see below for a visual)

Images/ExempleRoundabout.PNG

Spiral Road

The rules are almost the same as the ones about roundabout:

  1. The end of every spiral road must be connected to another road (any road type expect X crossing, Y crossing, and Roundabout)

  2. The end of the spiral road must be connected to the origin point of the next road (same idea as roundabouts).

Rules relating to Stop Lines and Traffic Lights

Stop Line

In order to add a Stop line in your world, use the Road marking called "BitmapRoadMarker" which is a white STOP road marking.

Place that road marking where you want your stop line to be. If you want to put a stop line on a multi-lane road, you'll have to manually put each road marking for each lane concerned by the stop line.

You don't have/need to put the road marking for the X and Y crossing, because stop lines are created when the road type is created.

Try to put your road marking as close as possible from the middle of your lane.

Traffic Lights

When placing a Traffic Light in your world, you have to always make sure there is a corresponding stop line near it.

For now, Traffic Light support for multiple lanes is not fully coded (see trello for more information)