cm.h File Reference

Main header file. More...

#include <lar/lar.h>
#include "cm_interface.h"
#include "cm_types.h"
#include "cm_fprototypes.h"
#include "cm_globalvars.h"
#include "cm_instparams.h"
#include "cm_transitions.h"
#include "cm_miscelaneous.h"
#include "cm_gui.h"
Include dependency graph for cm.h:
This graph shows which files directly or indirectly include this file:

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   3.8
#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 LEFT_TURN_REDUCE_SPEED   2
 Speed reduction zone when making a left turn In meters.
#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))

Detailed Description

Main header file.

Generated on Wed Jun 2 12:43:03 2010 for LAR Atlas by  doxygen 1.6.3