Used for displaying statistics about the bots state. More...
#include <control_panel_window.H>
Public Member Functions | |
void | update_fps (unsigned fps_) |
Used to update the frames per second display. | |
void | update_data () |
Update GLUI controls with latest queue data. | |
void | mouse_callback (int button, int state, int x, int y) |
Callback for mouse clicks. | |
void | normalKey_callback (int key) |
Callback for normal keys. Used to control throttle and steering values. | |
void | controlKey_callback (int key) |
Callback for control keys. Used to set manual override for bot steering controller. | |
void | display () |
Display function for secondary window. | |
Static Public Member Functions | |
static control_panel_window_t * | create_window (char const *conf_filename, int viz_mode, world_state_t *ws_, graphic_interface_t *interface_) |
Create a new control panel window for monitoring the bot. | |
Private Member Functions | |
control_panel_window_t (char const *conf_filename, int viz_mode, world_state_t *ws_, graphic_interface_t *interface_) | |
Create a new control panel window. | |
void | setup_glui_controls () |
Perform initial setup of GLUI control widgets. | |
void | read_queues () |
Fetch latest data from the queues. | |
void | write_control_data () |
Push control data onto the control queue with current time. | |
void | write_playback_data () |
Push playback control data onto the playback control queue with current time. | |
void | pause_control () |
Send "pause" signal to simulation and write to the queue. | |
void | find_gp_driver_conf_files (const char *conf_dir_) |
Used to scan the bot configuration directory for gp sensor configuration files. | |
Static Private Member Functions | |
static void | update_simulation (int mode_) |
Callback for simulation control buttons. | |
static void | update_calibration (int which_) |
Used to populate the entry boxes for the sensor gp values. | |
static void | update_gpconf_files (int button_id_) |
Used to write back values to the sensor gp conf files after saving changes. | |
Private Attributes | |
cb_time_t | m_timer |
Used for getting current time. | |
double | curr_time |
Used for storing current time. | |
world_state_t * | m_world_state |
Used for getting queue data. | |
graphic_interface_t * | m_graphics |
Interface for graphical display. | |
GLUI * | m_glui |
GLUI master handle. | |
bool | display_fps |
Enable display of frames per second. | |
bool | display_calibration_panel |
Enable display of sensor calibration panel. | |
double | pause_speed |
Simulation speed. | |
int | viz_mode |
Visualizer mode: simulation, bot, or playback. | |
double | m_desired_speed |
Used for manual control of the vehicle. | |
std::string | m_calibration_helper_script |
Path to helper script for writing conf values. | |
bool | m_time_ok |
Time data is ok. | |
bool | m_steering_ok |
Steering data is ok. | |
bool | m_control_line_ok |
Control line data is ok. | |
bool | m_sog_ok |
Speed over ground data is ok. | |
bool | m_signal_line_ok |
Signal line data is ok. | |
bool | m_waypt_ok |
Waypoint data is ok. | |
bool | m_nav_ok |
Nav data is ok. | |
playback_control_data_t | m_playback_control_data |
Data structure for corresponding queue data. | |
control_data_t | m_control_data |
Data structure for corresponding queue data. | |
sim_time_data_t | m_sim_time_data |
Data structure for corresponding queue data. | |
steering_data_t | m_steering_data |
Data structure for corresponding queue data. | |
control_line_data_t | m_control_line_data |
Data structure for corresponding queue data. | |
sog_data_t | m_sog_data |
Data structure for corresponding queue data. | |
signal_line_data_t | m_signal_line_data |
Data structure for corresponding queue data. | |
waypt_data_t | m_waypt_data |
Data structure for corresponding queue data. | |
nav_data_t | m_nav_data |
Data structure for corresponding queue data. | |
bool | m_panels_open |
Are panels currently open or closed. | |
int * | m_safety_siren |
Flags for display of GUI elements. | |
int * | m_safety_lights |
Flags for display of GUI elements. | |
int * | m_engine_starter |
Flags for display of GUI elements. | |
int * | m_generator_starter |
Flags for display of GUI elements. | |
int * | m_brake_lights |
Flags for display of GUI elements. | |
int * | m_left_blinker |
Flags for display of GUI elements. | |
int * | m_right_blinker |
Flags for display of GUI elements. | |
int * | m_current_gear |
Flags for display of GUI elements. | |
int * | m_signal_generator |
Flags for display of GUI elements. | |
int * | m_signal_engine |
Flags for display of GUI elements. | |
int * | m_signal_pause |
Flags for display of GUI elements. | |
int * | m_signal_kill |
Flags for display of GUI elements. | |
std::vector< std::string > | m_sensor_gp_conf |
Contains sensor_gp_conf filenames. | |
int * | m_sensor_gp_conf_selection |
Currently selected sensor_gp_conf filename. | |
double * | m_gpconf_pos [3] |
Position data for sensor_gp_conf file. | |
double * | m_gpconf_orient [3] |
Orientation data for sensor_gp_conf file. | |
int * | m_fps |
Current frame rate. | |
GLUI_Rollout * | m_glui_time_and_steering_panel |
GUI element. | |
GLUI_EditText * | m_glui_sim_time |
GUI element. | |
GLUI_EditText * | m_glui_sim_time_ext |
GUI element. | |
GLUI_EditText * | m_glui_sog |
GUI element. | |
GLUI_EditText * | m_glui_throttle |
GUI element. | |
GLUI_EditText * | m_glui_steering |
GUI element. | |
GLUI_Rollout * | m_glui_control_line_panel |
GUI element. | |
GLUI_Checkbox * | m_glui_safety_siren |
GUI element. | |
GLUI_Checkbox * | m_glui_safety_lights |
GUI element. | |
GLUI_Checkbox * | m_glui_engine_starter |
GUI element. | |
GLUI_Checkbox * | m_glui_generator_starter |
GUI element. | |
GLUI_Checkbox * | m_glui_brake_lights |
GUI element. | |
GLUI_Checkbox * | m_glui_left_blinker |
GUI element. | |
GLUI_Checkbox * | m_glui_right_blinker |
GUI element. | |
GLUI_Rollout * | m_glui_current_gear_panel |
GUI element. | |
GLUI_RadioGroup * | m_glui_current_gear_radio |
GUI element. | |
GLUI_Rollout * | m_glui_signal_line_panel |
GUI element. | |
GLUI_Checkbox * | m_glui_signal_generator |
GUI element. | |
GLUI_Checkbox * | m_glui_signal_engine |
GUI element. | |
GLUI_Checkbox * | m_glui_signal_pause |
GUI element. | |
GLUI_Checkbox * | m_glui_signal_kill |
GUI element. | |
GLUI_Rollout * | m_glui_simulation_control_panel |
GUI element. | |
GLUI_Button * | m_glui_play |
GUI element. | |
GLUI_Button * | m_glui_pause |
GUI element. | |
GLUI_Button * | m_glui_speedup |
GUI element. | |
GLUI_Button * | m_glui_slowdown |
GUI element. | |
GLUI_EditText * | m_glui_sim_speed |
GUI element. | |
GLUI_Rollout * | m_glui_calibration_panel |
GUI element. | |
GLUI_Listbox * | m_glui_gp_driver_conf_listbox |
GUI element. | |
GLUI_Spinner * | m_glui_gpconf_pos [3] |
GUI element. | |
GLUI_Spinner * | m_glui_gpconf_orient [3] |
GUI element. | |
GLUI_Button * | m_glui_gpconf_commit |
GUI element. | |
GLUI_Rollout * | m_glui_fps_panel |
GUI element. | |
GLUI_EditText * | m_glui_fps |
GUI element. | |
Static Private Attributes | |
static control_panel_window_t * | control_panel_window_instance = NULL |
Control panel window singleton. |
Used for displaying statistics about the bots state.
control_panel_window_t::control_panel_window_t | ( | char const * | conf_filename, | |
int | visualizer_mode, | |||
world_state_t * | ws_, | |||
graphic_interface_t * | interface_ | |||
) | [private] |
Create a new control panel window.
conf_filename | Filename for reading configuration data. | |
visualizer_mode | Simulation, Playback, or Bot. | |
ws_ | For reading queue data. | |
interface_ | For GLUT interface. |
References curr_time, display_calibration_panel, display_fps, find_gp_driver_conf_files(), m_brake_lights, m_calibration_helper_script, m_control_data, m_current_gear, m_desired_speed, m_engine_starter, m_fps, m_generator_starter, m_glui, m_gpconf_orient, m_gpconf_pos, m_graphics, m_left_blinker, m_panels_open, m_playback_control_data, m_right_blinker, m_safety_lights, m_safety_siren, m_sensor_gp_conf_selection, m_signal_engine, m_signal_generator, m_signal_kill, m_signal_pause, m_world_state, pause_speed, PLAYBACK, cajun::progname, viz_mode, write_control_data(), and write_playback_data().
Referenced by create_window().
void control_panel_window_t::controlKey_callback | ( | int | key | ) |
Callback for control keys. Used to set manual override for bot steering controller.
key | Key Id of key pressed. |
References cajun::CBCK_F4, and m_control_data.
Referenced by cajun::simulation_draw_t::controlKey_callback().
control_panel_window_t * control_panel_window_t::create_window | ( | char const * | conf_filename, | |
int | viz_mode, | |||
world_state_t * | ws_, | |||
graphic_interface_t * | interface_ | |||
) | [static] |
Create a new control panel window for monitoring the bot.
conf_filename | Filename to load configuration parameters from. | |
viz_mode | Simulation, Playback, or Bot. | |
ws_ | World state for reading queue data. | |
interface_ | For GLUT interface. |
References control_panel_window_instance, and control_panel_window_t().
Referenced by cajun::simulation_draw_t::simulation_draw_t().
void control_panel_window_t::display | ( | ) |
Display function for secondary window.
Referenced by setup_glui_controls().
void control_panel_window_t::find_gp_driver_conf_files | ( | const char * | conf_dir_ | ) | [private] |
Used to scan the bot configuration directory for gp sensor configuration files.
conf_dir_ | The directory containing sensor gp configuration files. |
References m_sensor_gp_conf, and cajun::progname.
Referenced by control_panel_window_t().
void control_panel_window_t::mouse_callback | ( | int | button, | |
int | state, | |||
int | x, | |||
int | y | |||
) |
Callback for mouse clicks.
button | The button pressed. | |
state | The state of the button. | |
x | The x location of the event. | |
y | The y location of the event. |
Referenced by cajun::simulation_draw_t::mousebutton_callback().
void control_panel_window_t::normalKey_callback | ( | int | key | ) |
Callback for normal keys. Used to control throttle and steering values.
key | Id of key pressed. |
References m_control_data, and pause_control().
Referenced by cajun::simulation_draw_t::normalKey_callback().
void control_panel_window_t::pause_control | ( | ) | [private] |
Send "pause" signal to simulation and write to the queue.
References m_glui_sim_speed, m_playback_control_data, pause_speed, write_control_data(), and write_playback_data().
Referenced by normalKey_callback(), and update_simulation().
void control_panel_window_t::read_queues | ( | ) | [private] |
Fetch latest data from the queues.
Sim time, steering, control line, sog, signal line, waypoint, nav.
References m_control_line_data, m_control_line_ok, m_nav_data, m_nav_ok, m_signal_line_data, m_signal_line_ok, m_sim_time_data, m_sog_data, m_sog_ok, m_steering_data, m_steering_ok, m_time_ok, m_waypt_data, m_waypt_ok, and m_world_state.
Referenced by update_data().
void control_panel_window_t::setup_glui_controls | ( | ) | [private] |
Perform initial setup of GLUI control widgets.
References BOT, display(), display_calibration_panel, display_fps, cajun::glut_interface_t::get_control_panel_glui(), cajun::glut_interface_t::get_control_panel_position(), m_brake_lights, m_current_gear, m_engine_starter, m_fps, m_glui, m_glui_brake_lights, m_glui_calibration_panel, m_glui_control_line_panel, m_glui_current_gear_panel, m_glui_current_gear_radio, m_glui_engine_starter, m_glui_fps, m_glui_fps_panel, m_glui_gp_driver_conf_listbox, m_glui_gpconf_commit, m_glui_gpconf_orient, m_glui_gpconf_pos, m_glui_left_blinker, m_glui_pause, m_glui_play, m_glui_right_blinker, m_glui_safety_lights, m_glui_safety_siren, m_glui_signal_engine, m_glui_signal_generator, m_glui_signal_kill, m_glui_signal_line_panel, m_glui_signal_pause, m_glui_sim_speed, m_glui_sim_time, m_glui_sim_time_ext, m_glui_simulation_control_panel, m_glui_slowdown, m_glui_sog, m_glui_speedup, m_glui_steering, m_glui_throttle, m_glui_time_and_steering_panel, m_gpconf_orient, m_gpconf_pos, m_graphics, m_left_blinker, m_panels_open, m_right_blinker, m_safety_lights, m_safety_siren, m_sensor_gp_conf, m_sensor_gp_conf_selection, m_signal_engine, m_signal_generator, m_signal_kill, m_signal_pause, PLAYBACK, update_calibration(), update_gpconf_files(), update_simulation(), and viz_mode.
Referenced by update_data().
void control_panel_window_t::update_calibration | ( | int | which_ | ) | [static, private] |
Used to populate the entry boxes for the sensor gp values.
which_ | Index into which entry this belongs. |
References control_panel_window_instance, m_glui_gp_driver_conf_listbox, m_glui_gpconf_orient, m_glui_gpconf_pos, and m_sensor_gp_conf.
Referenced by setup_glui_controls().
void control_panel_window_t::update_data | ( | ) |
Update GLUI controls with latest queue data.
References BOT, curr_time, display_fps, m_brake_lights, m_control_data, m_control_line_data, m_control_line_ok, m_current_gear, m_engine_starter, m_fps, m_glui, m_glui_brake_lights, m_glui_current_gear_radio, m_glui_engine_starter, m_glui_fps, m_glui_left_blinker, m_glui_right_blinker, m_glui_safety_lights, m_glui_safety_siren, m_glui_signal_engine, m_glui_signal_generator, m_glui_signal_kill, m_glui_signal_pause, m_glui_sim_speed, m_glui_sim_time, m_glui_sim_time_ext, m_glui_sog, m_glui_steering, m_glui_throttle, m_left_blinker, m_playback_control_data, m_right_blinker, m_safety_lights, m_safety_siren, m_signal_engine, m_signal_generator, m_signal_kill, m_signal_line_data, m_signal_line_ok, m_sim_time_data, m_sog_data, m_sog_ok, m_steering_data, m_steering_ok, m_time_ok, m_timer, m_world_state, PLAYBACK, read_queues(), setup_glui_controls(), viz_mode, write_control_data(), and write_playback_data().
Referenced by cajun::simulation_draw_t::update_data2().
void control_panel_window_t::update_fps | ( | unsigned | fps_ | ) |
Used to update the frames per second display.
fps_ | Frames per second value. |
References m_fps.
Referenced by cajun::simulation_draw_t::draw().
void control_panel_window_t::update_gpconf_files | ( | int | button_id_ | ) | [static, private] |
Used to write back values to the sensor gp conf files after saving changes.
button_id_ | The button generating the callback. |
References control_panel_window_instance, m_calibration_helper_script, m_glui_gp_driver_conf_listbox, m_glui_gpconf_orient, m_glui_gpconf_pos, m_sensor_gp_conf, and cajun::progname.
Referenced by setup_glui_controls().
void control_panel_window_t::update_simulation | ( | int | mode_ | ) | [static, private] |
Callback for simulation control buttons.
mode_ | An ID to know which button was clicked. |
References control_panel_window_instance, m_glui_sim_speed, m_playback_control_data, pause_control(), pause_speed, write_control_data(), and write_playback_data().
Referenced by setup_glui_controls().
void control_panel_window_t::write_control_data | ( | ) | [private] |
Push control data onto the control queue with current time.
References m_control_data, m_timer, and m_world_state.
Referenced by control_panel_window_t(), pause_control(), update_data(), and update_simulation().
void control_panel_window_t::write_playback_data | ( | ) | [private] |
Push playback control data onto the playback control queue with current time.
References m_playback_control_data, m_timer, and m_world_state.
Referenced by control_panel_window_t(), pause_control(), update_data(), and update_simulation().
control_panel_window_t * control_panel_window_t::control_panel_window_instance = NULL [static, private] |
Control panel window singleton.
Referenced by create_window(), update_calibration(), update_gpconf_files(), and update_simulation().
double cajun::control_panel_window_t::curr_time [private] |
Used for storing current time.
Referenced by control_panel_window_t(), and update_data().
bool cajun::control_panel_window_t::display_calibration_panel [private] |
Enable display of sensor calibration panel.
Referenced by control_panel_window_t(), and setup_glui_controls().
bool cajun::control_panel_window_t::display_fps [private] |
Enable display of frames per second.
Referenced by control_panel_window_t(), setup_glui_controls(), and update_data().
int* cajun::control_panel_window_t::m_brake_lights [private] |
Flags for display of GUI elements.
Referenced by control_panel_window_t(), setup_glui_controls(), and update_data().
std::string cajun::control_panel_window_t::m_calibration_helper_script [private] |
Path to helper script for writing conf values.
Referenced by control_panel_window_t(), and update_gpconf_files().
control_data_t cajun::control_panel_window_t::m_control_data [private] |
Data structure for corresponding queue data.
Referenced by control_panel_window_t(), controlKey_callback(), normalKey_callback(), update_data(), and write_control_data().
control_line_data_t cajun::control_panel_window_t::m_control_line_data [private] |
Data structure for corresponding queue data.
Referenced by read_queues(), and update_data().
bool cajun::control_panel_window_t::m_control_line_ok [private] |
Control line data is ok.
Referenced by read_queues(), and update_data().
int* cajun::control_panel_window_t::m_current_gear [private] |
Flags for display of GUI elements.
Referenced by control_panel_window_t(), setup_glui_controls(), and update_data().
double cajun::control_panel_window_t::m_desired_speed [private] |
Used for manual control of the vehicle.
Referenced by control_panel_window_t().
int* cajun::control_panel_window_t::m_engine_starter [private] |
Flags for display of GUI elements.
Referenced by control_panel_window_t(), setup_glui_controls(), and update_data().
int* cajun::control_panel_window_t::m_fps [private] |
Current frame rate.
Referenced by control_panel_window_t(), setup_glui_controls(), update_data(), and update_fps().
int* cajun::control_panel_window_t::m_generator_starter [private] |
Flags for display of GUI elements.
Referenced by control_panel_window_t().
GLUI* cajun::control_panel_window_t::m_glui [private] |
GLUI master handle.
Referenced by control_panel_window_t(), setup_glui_controls(), and update_data().
GLUI_Checkbox* cajun::control_panel_window_t::m_glui_brake_lights [private] |
GUI element.
Referenced by setup_glui_controls(), and update_data().
GLUI_Rollout* cajun::control_panel_window_t::m_glui_calibration_panel [private] |
GUI element.
Referenced by setup_glui_controls().
GLUI_Rollout* cajun::control_panel_window_t::m_glui_control_line_panel [private] |
GUI element.
Referenced by setup_glui_controls().
GLUI_Rollout* cajun::control_panel_window_t::m_glui_current_gear_panel [private] |
GUI element.
Referenced by setup_glui_controls().
GLUI_RadioGroup* cajun::control_panel_window_t::m_glui_current_gear_radio [private] |
GUI element.
Referenced by setup_glui_controls(), and update_data().
GLUI_Checkbox* cajun::control_panel_window_t::m_glui_engine_starter [private] |
GUI element.
Referenced by setup_glui_controls(), and update_data().
GLUI_EditText* cajun::control_panel_window_t::m_glui_fps [private] |
GUI element.
Referenced by setup_glui_controls(), and update_data().
GLUI_Rollout* cajun::control_panel_window_t::m_glui_fps_panel [private] |
GUI element.
Referenced by setup_glui_controls().
GLUI_Checkbox* cajun::control_panel_window_t::m_glui_generator_starter [private] |
GUI element.
GLUI_Listbox* cajun::control_panel_window_t::m_glui_gp_driver_conf_listbox [private] |
GUI element.
Referenced by setup_glui_controls(), update_calibration(), and update_gpconf_files().
GLUI_Button* cajun::control_panel_window_t::m_glui_gpconf_commit [private] |
GUI element.
Referenced by setup_glui_controls().
GLUI_Spinner* cajun::control_panel_window_t::m_glui_gpconf_orient[3] [private] |
GUI element.
Referenced by setup_glui_controls(), update_calibration(), and update_gpconf_files().
GLUI_Spinner* cajun::control_panel_window_t::m_glui_gpconf_pos[3] [private] |
GUI element.
Referenced by setup_glui_controls(), update_calibration(), and update_gpconf_files().
GLUI_Checkbox* cajun::control_panel_window_t::m_glui_left_blinker [private] |
GUI element.
Referenced by setup_glui_controls(), and update_data().
GLUI_Button* cajun::control_panel_window_t::m_glui_pause [private] |
GUI element.
Referenced by setup_glui_controls().
GLUI_Button* cajun::control_panel_window_t::m_glui_play [private] |
GUI element.
Referenced by setup_glui_controls().
GLUI_Checkbox* cajun::control_panel_window_t::m_glui_right_blinker [private] |
GUI element.
Referenced by setup_glui_controls(), and update_data().
GLUI_Checkbox* cajun::control_panel_window_t::m_glui_safety_lights [private] |
GUI element.
Referenced by setup_glui_controls(), and update_data().
GLUI_Checkbox* cajun::control_panel_window_t::m_glui_safety_siren [private] |
GUI element.
Referenced by setup_glui_controls(), and update_data().
GLUI_Checkbox* cajun::control_panel_window_t::m_glui_signal_engine [private] |
GUI element.
Referenced by setup_glui_controls(), and update_data().
GLUI_Checkbox* cajun::control_panel_window_t::m_glui_signal_generator [private] |
GUI element.
Referenced by setup_glui_controls(), and update_data().
GLUI_Checkbox* cajun::control_panel_window_t::m_glui_signal_kill [private] |
GUI element.
Referenced by setup_glui_controls(), and update_data().
GLUI_Rollout* cajun::control_panel_window_t::m_glui_signal_line_panel [private] |
GUI element.
Referenced by setup_glui_controls().
GLUI_Checkbox* cajun::control_panel_window_t::m_glui_signal_pause [private] |
GUI element.
Referenced by setup_glui_controls(), and update_data().
GLUI_EditText* cajun::control_panel_window_t::m_glui_sim_speed [private] |
GUI element.
Referenced by pause_control(), setup_glui_controls(), update_data(), and update_simulation().
GLUI_EditText* cajun::control_panel_window_t::m_glui_sim_time [private] |
GUI element.
Referenced by setup_glui_controls(), and update_data().
GLUI_EditText* cajun::control_panel_window_t::m_glui_sim_time_ext [private] |
GUI element.
Referenced by setup_glui_controls(), and update_data().
GLUI_Rollout* cajun::control_panel_window_t::m_glui_simulation_control_panel [private] |
GUI element.
Referenced by setup_glui_controls().
GLUI_Button* cajun::control_panel_window_t::m_glui_slowdown [private] |
GUI element.
Referenced by setup_glui_controls().
GLUI_EditText* cajun::control_panel_window_t::m_glui_sog [private] |
GUI element.
Referenced by setup_glui_controls(), and update_data().
GLUI_Button* cajun::control_panel_window_t::m_glui_speedup [private] |
GUI element.
Referenced by setup_glui_controls().
GLUI_EditText* cajun::control_panel_window_t::m_glui_steering [private] |
GUI element.
Referenced by setup_glui_controls(), and update_data().
GLUI_EditText* cajun::control_panel_window_t::m_glui_throttle [private] |
GUI element.
Referenced by setup_glui_controls(), and update_data().
GLUI_Rollout* cajun::control_panel_window_t::m_glui_time_and_steering_panel [private] |
GUI element.
Referenced by setup_glui_controls().
double* cajun::control_panel_window_t::m_gpconf_orient[3] [private] |
Orientation data for sensor_gp_conf file.
Referenced by control_panel_window_t(), and setup_glui_controls().
double* cajun::control_panel_window_t::m_gpconf_pos[3] [private] |
Position data for sensor_gp_conf file.
Referenced by control_panel_window_t(), and setup_glui_controls().
Interface for graphical display.
Referenced by control_panel_window_t(), and setup_glui_controls().
int* cajun::control_panel_window_t::m_left_blinker [private] |
Flags for display of GUI elements.
Referenced by control_panel_window_t(), setup_glui_controls(), and update_data().
nav_data_t cajun::control_panel_window_t::m_nav_data [private] |
Data structure for corresponding queue data.
Referenced by read_queues().
bool cajun::control_panel_window_t::m_nav_ok [private] |
Nav data is ok.
Referenced by read_queues().
bool cajun::control_panel_window_t::m_panels_open [private] |
Are panels currently open or closed.
Referenced by control_panel_window_t(), and setup_glui_controls().
playback_control_data_t cajun::control_panel_window_t::m_playback_control_data [private] |
Data structure for corresponding queue data.
Referenced by control_panel_window_t(), pause_control(), update_data(), update_simulation(), and write_playback_data().
int* cajun::control_panel_window_t::m_right_blinker [private] |
Flags for display of GUI elements.
Referenced by control_panel_window_t(), setup_glui_controls(), and update_data().
int* cajun::control_panel_window_t::m_safety_lights [private] |
Flags for display of GUI elements.
Referenced by control_panel_window_t(), setup_glui_controls(), and update_data().
int* cajun::control_panel_window_t::m_safety_siren [private] |
Flags for display of GUI elements.
Referenced by control_panel_window_t(), setup_glui_controls(), and update_data().
std::vector<std::string> cajun::control_panel_window_t::m_sensor_gp_conf [private] |
Contains sensor_gp_conf filenames.
Referenced by find_gp_driver_conf_files(), setup_glui_controls(), update_calibration(), and update_gpconf_files().
int* cajun::control_panel_window_t::m_sensor_gp_conf_selection [private] |
Currently selected sensor_gp_conf filename.
Referenced by control_panel_window_t(), and setup_glui_controls().
int* cajun::control_panel_window_t::m_signal_engine [private] |
Flags for display of GUI elements.
Referenced by control_panel_window_t(), setup_glui_controls(), and update_data().
int* cajun::control_panel_window_t::m_signal_generator [private] |
Flags for display of GUI elements.
Referenced by control_panel_window_t(), setup_glui_controls(), and update_data().
int* cajun::control_panel_window_t::m_signal_kill [private] |
Flags for display of GUI elements.
Referenced by control_panel_window_t(), setup_glui_controls(), and update_data().
signal_line_data_t cajun::control_panel_window_t::m_signal_line_data [private] |
Data structure for corresponding queue data.
Referenced by read_queues(), and update_data().
bool cajun::control_panel_window_t::m_signal_line_ok [private] |
Signal line data is ok.
Referenced by read_queues(), and update_data().
int* cajun::control_panel_window_t::m_signal_pause [private] |
Flags for display of GUI elements.
Referenced by control_panel_window_t(), and setup_glui_controls().
sim_time_data_t cajun::control_panel_window_t::m_sim_time_data [private] |
Data structure for corresponding queue data.
Referenced by read_queues(), and update_data().
sog_data_t cajun::control_panel_window_t::m_sog_data [private] |
Data structure for corresponding queue data.
Referenced by read_queues(), and update_data().
bool cajun::control_panel_window_t::m_sog_ok [private] |
Speed over ground data is ok.
Referenced by read_queues(), and update_data().
steering_data_t cajun::control_panel_window_t::m_steering_data [private] |
Data structure for corresponding queue data.
Referenced by read_queues(), and update_data().
bool cajun::control_panel_window_t::m_steering_ok [private] |
Steering data is ok.
Referenced by read_queues(), and update_data().
bool cajun::control_panel_window_t::m_time_ok [private] |
Time data is ok.
Referenced by read_queues(), and update_data().
cb_time_t cajun::control_panel_window_t::m_timer [private] |
Used for getting current time.
Referenced by update_data(), write_control_data(), and write_playback_data().
waypt_data_t cajun::control_panel_window_t::m_waypt_data [private] |
Data structure for corresponding queue data.
Referenced by read_queues().
bool cajun::control_panel_window_t::m_waypt_ok [private] |
Waypoint data is ok.
Referenced by read_queues().
world_state_t* cajun::control_panel_window_t::m_world_state [private] |
Used for getting queue data.
Referenced by control_panel_window_t(), read_queues(), update_data(), write_control_data(), and write_playback_data().
double cajun::control_panel_window_t::pause_speed [private] |
Simulation speed.
Referenced by control_panel_window_t(), pause_control(), and update_simulation().
int cajun::control_panel_window_t::viz_mode [private] |
Visualizer mode: simulation, bot, or playback.
Referenced by control_panel_window_t(), setup_glui_controls(), and update_data().