Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Vanishing Point Detection in VDrift
11-08-2016, 04:57 AM, (This post was last modified: 11-08-2016, 04:58 AM by andwor.)
#1
Vanishing Point Detection in VDrift
Hi everyone,

in the context of automated driving, we're experimenting with VDrift as an environment for creating test data. We have established a binding between VDrift an out middleware and currently are investigating to exttract vanishing points from VDrift recordings. This is challenging as, from the required perspective, on racing tracks - and in contrast to highways or cities - usually only a single lane marking is visible.

[Image: intro5.gif]

Do you know, whether there is something in the VDrift API or track information that could help computing vanishing points? Easiest could maybe to calculate something based on track data (which, however, would not take perspective into account).

Best,
Andreas

P.S: If this is the wrong forum, please move the thread as necessary.
Reply
11-08-2016, 01:05 PM,
#2
RE: Vanishing Point Detection in VDrift
You could abuse the racing line as an additional visual cue. If you disable racing line calculation in track loader the default racing line will be the road center I think.

Car AI also had some debugging code that would draw road patch outlines ahead of the car. I am not sure if it is still working though.

The track itself is defined is a list of roadstrips. A strip is a list of (bezier) patches.
Reply
11-09-2016, 04:11 AM, (This post was last modified: 11-09-2016, 04:13 AM by andwor.)
#3
RE: Vanishing Point Detection in VDrift
Hi NaN,

thanks for the hint. With the racing line, we probably can use established vanishing point detection methods. Although we had to do horrible things to the tracks' textures Wink

[Image: allblack.png]

Could you please point me to the track loader. I couldn't find anything in forum or wiki by this name.

Best,
Andreas
Reply
11-11-2016, 04:54 PM,
#4
RE: Vanishing Point Detection in VDrift
With track loader I meant src/trackloader.cpp.

Look for Track::Loader::CreateRacingLines().
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)