model_position.c File Reference

#include <sys/time.h>
#include <math.h>
#include <stdlib.h>
#include "stage_internal.h"
#include "gui.h"


Functions

void position_init (stg_model_t *mod)
void position_load (stg_model_t *mod)
int position_render_data (stg_model_t *mod, void *userp)
int position_render_text (stg_model_t *mod, void *userp)
int position_shutdown (stg_model_t *mod)
int position_startup (stg_model_t *mod)
int position_unrender_data (stg_model_t *mod, void *userp)
int position_unrender_text (stg_model_t *mod, void *userp)
int position_update (stg_model_t *mod)
void stg_model_position_get_odom (stg_model_t *mod, stg_pose_t *odom)
void stg_model_position_odom_reset (stg_model_t *mod)
void stg_model_position_set_odom (stg_model_t *mod, stg_pose_t *odom)
stg_model_tstg_model_test_collision_at_pose (stg_model_t *mod, stg_pose_t *pose, double *hitx, double *hity)

Variables

const double STG_POSITION_INTEGRATION_ERROR_MAX_A = 0.05
const double STG_POSITION_INTEGRATION_ERROR_MAX_X = 0.03
const double STG_POSITION_INTEGRATION_ERROR_MAX_Y = 0.03
const double STG_POSITION_WATTS = 2.0
const double STG_POSITION_WATTS_KGMS = 5.0

Function Documentation

void position_init stg_model_t mod  ) 
 

void position_load stg_model_t mod  ) 
 

int position_render_data stg_model_t mod,
void *  userp
 

int position_render_text stg_model_t mod,
void *  userp
 

int position_shutdown stg_model_t mod  ) 
 

int position_startup stg_model_t mod  ) 
 

int position_unrender_data stg_model_t mod,
void *  userp
 

int position_unrender_text stg_model_t mod,
void *  userp
 

int position_update stg_model_t mod  ) 
 

void stg_model_position_get_odom stg_model_t mod,
stg_pose_t odom
 

void stg_model_position_odom_reset stg_model_t mod  ) 
 

stg_model_t* stg_model_test_collision_at_pose stg_model_t mod,
stg_pose_t pose,
double *  hitx,
double *  hity
 


Variable Documentation

const double STG_POSITION_INTEGRATION_ERROR_MAX_A = 0.05
 

const double STG_POSITION_INTEGRATION_ERROR_MAX_X = 0.03
 

const double STG_POSITION_INTEGRATION_ERROR_MAX_Y = 0.03
 

const double STG_POSITION_WATTS = 2.0
 

const double STG_POSITION_WATTS_KGMS = 5.0
 


Generated on Thu Dec 13 13:55:22 2007 for Stage by  doxygen 1.4.6