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 | ) |
References Stg::StgModel::GetModel(), and LaserUpdate().
int LaserUpdate | ( | StgModel * | mod, | |
robot_t * | robot | |||
) |
References avoidspeed, avoidturn, cruisespeed, Stg::dtor(), minfrontdistance, and verbose.
Referenced by Init().
int PositionUpdate | ( | StgModel * | mod, | |
robot_t * | robot | |||
) |
References Stg::stg_pose_t::a, Stg::stg_pose_t::x, Stg::stg_pose_t::y, and Stg::stg_pose_t::z.
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
