ctrl.cc File Reference

#include "stage.hh"


Functions

int Init (StgModel *mod)
int LaserUpdate (StgModel *mod, robot_t *robot)
int PositionUpdate (StgModel *mod, robot_t *robot)

Variables

const double avoidspeed = 0.05
const double avoidturn = 1.0
const double cruisespeed = 0.4
const double minfrontdistance = 0.8
const bool verbose = false

Function Documentation

int Init ( StgModel mod  ) 

int LaserUpdate ( StgModel mod,
robot_t *  robot 
)

int PositionUpdate ( StgModel mod,
robot_t *  robot 
)


Variable Documentation

const double avoidspeed = 0.05

Referenced by LaserUpdate().

const double avoidturn = 1.0

Referenced by LaserUpdate().

const double cruisespeed = 0.4

Referenced by LaserUpdate().

const double minfrontdistance = 0.8

Referenced by LaserUpdate().

const bool verbose = false

Referenced by LaserUpdate().


Generated on Thu Jan 7 17:42:16 2010 for Stage by  doxygen 1.5.5