17 for(
int i=0; i<12; i++ )
18 x += rand()/(RAND_MAX+1.0);
20 return ( stddev * (x - 6.0) + mean );
The Stage library uses its own namespace.
void Init(int *argc, char **argv[])
std::vector< Sensor > & GetSensorsMutable()
int(* model_callback_t)(Model *mod, void *user)
void AddCallback(callback_type_t type, model_callback_t cb, void *user)
int RangerUpdate(ModelRanger *mod, void *dummy)
double simple_normal_deviate(double mean, double stddev)