QuercusVL Programming Manual
direction can be defined by the user.
Note that:
●
when positions are indicated in the lane (in metres), 0,0 position refers to the image
bottom.
●
when positions are indicated in the image (in pixels), 0,0 position refers to the image
top.
A traffic light containing 3 lights is available:
●
Red light: centre of the light (x,y): 614,42; 16 pixels radius
●
Amber light: centre of the light (x,y): 614,84; 16 pixels radius
●
Green light: centre of the light (x,y):614,126; 16 pixels radius
The "virtual lane" parameters will be written in a configuration file. There is an example
available in the installation folder: “
Simulation/Simulation Type/Data/Simulation.ini”
This file will contain several lines, divided into:
●
Comments: all lines starting with “#” character are considered as comments and
ignored by the simulator.
●
Unit events: all lines representing events (or state changes) will have a common
format:
Moment, Event type, Event parameters
●
Moment: time (in milliseconds) when the event occurs. The time is calculated in
Quercus Technologies
208
6
4
0
p
ix
el
s
2
5
m
4.5 m
480 pixels