cajun::draw_robot_t Class Reference

#include <draw_robot.H>

Inheritance diagram for cajun::draw_robot_t:
cajun::component_interface_t

List of all members.

Public Member Functions

 draw_robot_t (double cbviz_origin_pos[3], char const *robot_model_file, conf_t &viz_conf_, int viz_mode, world_state_t *ws_)
void read_config_file (char const *)
bool get_robot_position (double pos[3])
bool get_robot_orientation_matrix (double rot[16])
bool get_robot_orientation_euler (double rot[3])
double get_robot_height ()
double get_robot_length ()
double get_robot_width ()
void init_data ()
 Initialization of display lists, etc.
void display_robot_components (int component_type)
void update_data (double bot_pos_[3])
 Function called for idle loop.
void display (double pos_[3])
 Function called during display loop.
void toggle_display ()
 Toggle displaying of the data.

Public Attributes

robot_trace_tm_robot_trace

Private Member Functions

void draw_robot_heading (double pos[3])
void draw_line_to_bumper ()
bool get_bumper_position (double pos[3])

Private Attributes

world_state_t * m_world_state
 For reading from data queues.
ModelpCajunbot
ModelpWheel
double m_robot_width
double m_robot_length
double m_robot_height
double m_wheel_radius
double m_wheel_width
double m_max_linear_velocity
double m_throttle_rate
double m_lever_rate
double cbviz_origin [3]
bool m_display
 For toggling drawing of data.
motion_data_t m_motion_data
nav_data_t m_nav_data
drive_data_t m_drive_data
bool m_textured_bot
int m_viz_mode
bool m_draw_bot
bool m_draw_mesh
double m_pos [3]
double m_bumper_pos [3]
double m_orient [16]
laser_visualization_tm_laser_visualization

Constructor & Destructor Documentation

draw_robot_t::draw_robot_t ( double  cbviz_origin_pos[3],
char const *  robot_model_file,
conf_t &  viz_conf_,
int  viz_mode,
world_state_t *  ws_ 
)

Member Function Documentation

void draw_robot_t::display ( double  bot_bos_[3]  )  [virtual]
void cajun::draw_robot_t::display_robot_components ( int  component_type  ) 
void draw_robot_t::draw_line_to_bumper (  )  [private]

References m_bumper_pos, and m_pos.

Referenced by display().

void draw_robot_t::draw_robot_heading ( double  pos[3]  )  [private]

References m_motion_data.

bool draw_robot_t::get_bumper_position ( double  pos[3]  )  [private]

References cbviz_origin, m_world_state, POSX, POSY, and POSZ.

Referenced by update_data().

double draw_robot_t::get_robot_height (  ) 

References m_robot_height.

double draw_robot_t::get_robot_length (  ) 

References m_robot_length.

bool draw_robot_t::get_robot_orientation_euler ( double  rot[3]  ) 
bool draw_robot_t::get_robot_orientation_matrix ( double  rot[16]  ) 
bool draw_robot_t::get_robot_position ( double  pos[3]  ) 
double draw_robot_t::get_robot_width (  ) 

References m_robot_width.

void draw_robot_t::init_data (  )  [virtual]

Initialization of display lists, etc.

Reimplemented from cajun::component_interface_t.

References Model::Init(), pCajunbot, and pWheel.

void draw_robot_t::read_config_file ( char const *  robot_conf_file  ) 
void draw_robot_t::toggle_display (  )  [virtual]

Toggle displaying of the data.

Implements cajun::component_interface_t.

References m_display.

Referenced by cajun::simulation_draw_t::normalKey_callback().

void draw_robot_t::update_data ( double  bot_pos_[3]  )  [virtual]

Member Data Documentation

double cajun::draw_robot_t::cbviz_origin[3] [private]
double cajun::draw_robot_t::m_bumper_pos[3] [private]

Referenced by draw_line_to_bumper(), and update_data().

For toggling drawing of data.

Reimplemented from cajun::component_interface_t.

Referenced by display(), draw_robot_t(), and toggle_display().

Referenced by display(), and draw_robot_t().

Referenced by display(), and draw_robot_t().

drive_data_t cajun::draw_robot_t::m_drive_data [private]

Referenced by display(), and update_data().

Referenced by read_config_file().

Referenced by read_config_file().

motion_data_t cajun::draw_robot_t::m_motion_data [private]
nav_data_t cajun::draw_robot_t::m_nav_data [private]

Referenced by get_robot_position().

double cajun::draw_robot_t::m_orient[16] [private]

Referenced by display(), and update_data().

double cajun::draw_robot_t::m_pos[3] [private]

Referenced by display(), draw_robot_t(), and update_data().

Referenced by display(), and draw_robot_t().

Referenced by read_config_file().

Referenced by draw_robot_t().

Referenced by display(), and read_config_file().

Referenced by read_config_file().

world_state_t* cajun::draw_robot_t::m_world_state [private]

Referenced by display(), draw_robot_t(), and init_data().

Referenced by display(), draw_robot_t(), and init_data().


The documentation for this class was generated from the following files:

Generated on Fri Apr 9 10:45:18 2010 for Visualizer by  doxygen 1.6.1