cajun Namespace Reference

Classes

class  acceleration_sensor_t
class  acceleration_observer_t
class  angular_rate_sensor_t
class  angular_rate_observer_t
class  components_t
class  control_line_sensor_t
class  control_line_observer_t
class  controller_interface_t
class  drive_sensor_t
class  drive_observer_t
class  dynamic_object_t
class  iteris_sensor_t
class  iteris_observer_t
class  laser_sensor_t
class  scan_observer_t
class  manual_controller_t
class  mesh_object_t
class  motion_sensor_t
class  motion_observer_t
class  nav_sensor_t
class  nav_observer_t
class  non_simulated_object_t
struct  dyn_sim_object_t
struct  mesh_object_info_t
struct  sensor_object_t
struct  goal_t
struct  script_data_t
struct  rndf_goal_t
struct  waypoint_data_t
class  object_info_t
class  ray_sensor_t
class  ray_sensor_observer_t
class  script_controller_t
class  sensor_controller_t
class  signal_line_sensor_t
class  signal_line_observer_t
class  cbsim_utils_t
struct  orientation_t
class  sim_world_t
class  sim_world_object_t
class  simulated_object_t
class  sog_sensor_t
class  sog_observer_t
class  static_object_t
class  steering_sensor_t
class  timer_t
class  waypoint_controller_t

Enumerations

enum  object_type_t { DYN_SIM = 0, DYN_NO_SIM = 1, STATIC = 2, MESH = 3 }
enum  control_type_t {
  SENSOR = 0, MANUAL = 1, SCRIPT = 2, WAYPOINT = 3,
  NONE = 4
}
enum  sensor_type_t { LASER = 0, RAY = 1 }
enum  wheel_type_t { SKID = 0, CONVENTIONAL = 1 }

Functions

float calculate_angle (float pos1x, float pos1y, float pos2x, float pos2y)
double sqr (double x)
void HomogTformPt (double T[3][4], double x[3], double p[3])
void tform_mult (double a[3][4], double b[3][4], double c[3][4])
float radian (float te)
float calculate_distance (float posx1, float posy1, float posz1, float posx2, float posy2, float posz2)
float mod (float i)
float angle (float x, float y)
float distance (float x1, float y1, float x2, float y2)
void my_sleep (double mSec)
void load_ppm_p6 (char *fname, unsigned int *w, unsigned int *h, unsigned char **data, int mallocflag)
void load_ppm_p3 (char *fname, unsigned int *w, unsigned int *h, unsigned char **data, int mallocflag)
void Normal_Plane (float v[3], float x[3], float y[3], float z[3])
void Render_Polygon (float v[4][3], float color[3], int texon, char *ppmname)
void Render_Quadric (int type, float radius, float outerradius, float length, float color[3], int texon, char *ppmname)
void Render_box (float dimensions[3], float color[3], int texon, char *ppmname)
void Render_Ground (float size, float color[3], int texon, char *ppmname)
void Render_Sky (float size, float color[3], int texon, char *ppmname)
void get_rotation_matrix (double rot[16], double heading, double pitch, double roll)
void matrix_to_euler (const double m[16], double &heading, double &attitude, double &bank)

Enumeration Type Documentation

Enumerator:
SENSOR 
MANUAL 
SCRIPT 
WAYPOINT 
NONE 
Enumerator:
DYN_SIM 
DYN_NO_SIM 
STATIC 
MESH 
Enumerator:
LASER 
RAY 
Enumerator:
SKID 
CONVENTIONAL 

Function Documentation

float cajun::angle ( float  x,
float  y 
)
float cajun::calculate_angle ( float  pos1x,
float  pos1y,
float  pos2x,
float  pos2y 
)

References angle().

float cajun::calculate_distance ( float  posx1,
float  posy1,
float  posz1,
float  posx2,
float  posy2,
float  posz2 
)
float cajun::distance ( float  x1,
float  y1,
float  x2,
float  y2 
)

References sqr().

void cajun::get_rotation_matrix ( double  rot[16],
double  heading,
double  pitch,
double  roll 
)
void cajun::HomogTformPt ( double  T[3][4],
double  x[3],
double  p[3] 
)
void cajun::load_ppm_p3 ( char *  fname,
unsigned int *  w,
unsigned int *  h,
unsigned char **  data,
int  mallocflag 
)
void cajun::load_ppm_p6 ( char *  fname,
unsigned int *  w,
unsigned int *  h,
unsigned char **  data,
int  mallocflag 
)
void cajun::matrix_to_euler ( const double  m[16],
double &  heading,
double &  attitude,
double &  bank 
)
float cajun::mod ( float  i  ) 
void cajun::my_sleep ( double  mSec  ) 
void cajun::Normal_Plane ( float  v[3],
float  x[3],
float  y[3],
float  z[3] 
)
float cajun::radian ( float  te  ) 
void cajun::Render_box ( float  dimensions[3],
float  color[3],
int  texon,
char *  ppmname 
)
void cajun::Render_Ground ( float  size,
float  color[3],
int  texon,
char *  ppmname 
)
void cajun::Render_Polygon ( float  v[4][3],
float  color[3],
int  texon,
char *  ppmname 
)
void cajun::Render_Quadric ( int  type,
float  radius,
float  outerradius,
float  length,
float  color[3],
int  texon,
char *  ppmname 
)
void cajun::Render_Sky ( float  size,
float  color[3],
int  texon,
char *  ppmname 
)
double cajun::sqr ( double  x  ) 
void cajun::tform_mult ( double  a[3][4],
double  b[3][4],
double  c[3][4] 
)

Generated on Fri Apr 9 10:45:13 2010 for simulator by  doxygen 1.6.1