常见问题

Need technical support?

Functioning of ‘Adapt successive line markings’ and effect on Line Sensor

Question

I use the Line Sensor to detect marks that change from a dashed line to a solid line, for example. I selected the checkbox ‘Adapt successive line markings’ but the Line Sensor does not detect the road marking as one single line. What is the reason for this?

Solution

The checkbox ‘Adapt successive line markings’ only has an effect on already connected road markings. This checkbox only determines that a change of the parameters of THIS RoadMarkings affects all connected RoadMarkings.

RoadMarkings whose end and start are identical are automatically connected if the following parameters match (regardless of whether ‘Adapt successive line’ has been set or not):

  • Line type (if in opposite direction, it will be considered)
  • Dash and Space (depending on line type)
  • Width
  • Height (not visible in the Scenario Editor),
  • UserId (→ colorId)

If you want to disconnect a connection of road markings, this is only possible by setting one of the above parameters differently. Therefore, as soon as two lines have a different line type, they can no longer be connected to one single line.

Effect on Line Sensor:
The output of the Road call RoadGetTracksExt() from the line sensor returns a list of the type tRoadTrack. One parameter of this structure is the line type. This means that the Line Sensor cannot combine two lines of different types and will always distinguish between them. This is the case, for example, when a dashed line becomes a solid line.

Need technical support?
  • Date: 04.09.2020
  • Product: CarMaker
  • Version: 9.0
  • Component: Sensor Models
  • Language: English

Tags

Line Sensor
road markings
line
line marking
tRoadTrack