#include <lar/lar.h>
#include "cm_demo_interface.h"
#include "cm_demo_types.h"
#include "cm_demo_fprototypes.h"
#include "cm_demo_globalvars.h"
#include "cm_demo_instparams.h"
#include "cm_demo_transitions.h"
#include "cm_demo_miscelaneous.h"
#include "cm_demo_gui.h"
Defines | |
#define | WINDOW2_POS_X 750 |
*/ | |
#define | WINDOW2_POS_Y 350 |
#define | ON 1 |
#define | OFF 0 |
#define | CHANGESTATE 1 |
#define | DONOTCHANGESTATE 0 |
#define | PARKINGTIMEOUT 6.3 |
#define | HALF_LAP_LENGTH 18 |
Half of the complete lap lenght. In meters. | |
#define | SEARCHFORCROSS_BLACKOUT 0.7*HALF_LAP_LENGTH |
Blackout used in normal mode to search for cross. In meters. | |
#define | DISTANT_LIGHTS_PERSISTENCE 1.5 |
Persistence for distance lights. In meters. | |
#define | DISTANT_LIGHTS_ACTIVE 1 |
#define | LIGHTS_PERSISTENCE 5 |
Lights timeout usend in trafficlights computation. In seconds. | |
#define | DISTANT_LIGHTS_TIME_PERSISTENCE 0.5 |
Lights timeout usend in trafficlights computation. In seconds. | |
#define | GO_AFTER_TIMEOUT 0 |
CHANGE HERE TO GO AFTER 3 SWCS TO PARK. | |
#define | _CALIBRATIONDIRECTORY_ "../trafficlights/" |
#define | COMPETITION_ROUND 1 |
#define | saturatemax(val, max) ((val)>(max) ?( max) :( val)) |
#define | saturatemin(val, min) ((val)<(min) ?( min) :( val)) |
#define | macro_min(a, b) ((a)<=(b) ?( a) :( b)) |
#define | macro_max(a, b) ((a)>=(b) ? (a) : (b)) |
Variables | |
**LOCAL COPY | ONLY |