| 
 Public Member Functions | 
|   | Pioneer2PacketManager () | 
| virtual  | ~Pioneer2PacketManager () | 
| void  | initialize (const std::string &tty) | 
| unsigned char  | get_status () | 
| float  | get_Xpos () | 
| float  | get_Ypos () | 
| float  | get_Thpos () | 
| float  | get_Lvel () | 
| float  | get_Rvel () | 
| float  | get_battery () | 
| unsigned short  | get_bumpers () | 
| float  | get_control () | 
| unsigned short  | get_ptu () | 
| float  | get_compass () | 
| float  | get_sonar (int s_number) | 
| unsigned short  | get_timer () | 
| float  | get_analog () | 
| unsigned char  | get_digin () | 
| unsigned char  | get_digout () | 
| void  | get_all (Pioneer2Data &data) | 
| void  | send_motor_command (short command) | 
| void  | send_reset_translational_acc (short command) | 
| void  | send_reset_translational_vel (short command) | 
| void  | send_reset_server () | 
| void  | send_reset_rotational_vel (short command) | 
| void  | send_velocity_command (short command) | 
| void  | send_heading_command (short command) | 
| void  | send_rel_heading_command (short command) | 
| void  | send_say_command (const std::string &command) | 
| void  | send_config_command (short command) | 
| void  | send_encoder_command (short command) | 
| void  | send_rotational_vel (short command) | 
| void  | send_colbert_relative_heading (short command) | 
| void  | send_rotational_acc (short command) | 
| void  | send_sonar_command (short command) | 
| void  | send_front_sonar_command () | 
| void  | send_rear_sonar_command () | 
| void  | send_stop_command () | 
| void  | send_digout_command (short command) | 
| void  | send_velocity2_command (short command) | 
| void  | send_gripper_command (short command) | 
| void  | send_ad_select_command (short command) | 
| void  | send_gripper_val_command (short command) | 
| void  | send_ptupos_command (short command) | 
| void  | send_tty2_command (const std::string &data) | 
| void  | send_tty2_command (const unsigned char *data, int size) | 
| void  | send_getaux_command (short command) | 
| void  | send_bumpstall_command (short command) | 
| void  | send_tcm2_command (short command) | 
| void  | send_emergency_stop () | 
| void  | send_pulse () | 
| void  | send_step () | 
 Static Public Member Functions | 
| static Pioneer2PacketManager *  | instance () | 
| static void  | destroyInstance () | 
 Static Public Attributes | 
| static const unsigned char  | SYNC0 = 0 | 
| static const unsigned char  | SYNC1 = 1 | 
| static const unsigned char  | SYNC2 = 2 | 
| static const unsigned char  | PULSE = 0 | 
| static const unsigned char  | OPEN = 1 | 
| static const unsigned char  | CLOSE = 2 | 
| static const unsigned char  | POLLING = 3 | 
| static const unsigned char  | ENABLE = 4 | 
| static const unsigned char  | SETA = 5 | 
| static const unsigned char  | SETV = 6 | 
| static const unsigned char  | SET0 = 7 | 
| static const unsigned char  | SETRV = 10 | 
| static const unsigned char  | VEL = 11 | 
| static const unsigned char  | HEAD = 12 | 
| static const unsigned char  | DHEAD = 13 | 
| static const unsigned char  | SAY = 15 | 
| static const unsigned char  | CONFIG = 18 | 
| static const unsigned char  | ENCODER = 19 | 
| static const unsigned char  | RVEL = 21 | 
| static const unsigned char  | DCHEAD = 22 | 
| static const unsigned char  | SETRA = 23 | 
| static const unsigned char  | SONAR = 28 | 
| static const unsigned char  | STOP = 29 | 
| static const unsigned char  | DIGOUT = 30 | 
| static const unsigned char  | VEL2 = 32 | 
| static const unsigned char  | GRIPPER = 33 | 
| static const unsigned char  | ADSEL = 35 | 
| static const unsigned char  | GRIPPERVAL = 36 | 
| static const unsigned char  | PTUPOS = 41 | 
| static const unsigned char  | TTY2 = 42 | 
| static const unsigned char  | GETAUX = 43 | 
| static const unsigned char  | BUMPSTALL = 44 | 
| static const unsigned char  | TCM2 = 45 | 
| static const unsigned char  | E_STOP = 55 | 
| static const unsigned char  | STEP = 64 | 
| static const short  | GRIPOPEN = 1 | 
| static const short  | GRIPCLOSE = 2 | 
| static const short  | GRIPSTOP = 3 | 
| static const short  | LIFTUP = 4 | 
| static const short  | LIFTDOWN = 5 | 
| static const short  | LIFTSTOP = 6 | 
| static const short  | GRIPSTORE = 7 | 
| static const short  | GRIPDEPLOY = 8 | 
| static const short  | GRIPHALT = 15 | 
| static const short  | GRIPPRESS = 16 | 
| static const short  | LIFTCARRY = 17 | 
| static const int  | MAX_QUEUE_SIZE = 20 | 
 Protected Attributes | 
| unsigned char  | m_status | 
| unsigned short  | m_xpos | 
| unsigned short  | m_ypos | 
| short  | m_thpos | 
| short  | m_lvel | 
| short  | m_rvel | 
| unsigned char  | m_battery | 
| short  | m_bumpers | 
| short  | m_control | 
| unsigned short  | m_ptu | 
| unsigned char  | m_compass | 
| unsigned short  | m_sonars [16] | 
| unsigned short  | m_timer | 
| unsigned char  | m_analog | 
| unsigned char  | m_digin | 
| unsigned char  | m_digout | 
| float  | m_AngleConvFactor | 
| float  | m_DistConvFactor | 
| float  | m_VelConvFactor | 
| float  | m_RobotRadius | 
| float  | m_RobotDiagonal | 
| bool  | m_Holonomic | 
| float  | m_RangeConvFactor | 
| float  | m_RobotAxleLength | 
 Private Types | 
| enum   | { NO_SYNC, 
AFTER_FIRST_SYNC, 
AFTER_SECOND_SYNC, 
READY
 } | 
 Private Member Functions | 
| int  | open_serial (const char *tty) | 
| void  | lock_send_thread () | 
| void  | unlock_send_thread () | 
| void  | lock_recv_thread () | 
| void  | unlock_recv_thread () | 
| void  | send_int_command (unsigned char command, short value) | 
| void  | send_signed_int_command (unsigned char command, short value) | 
| void  | send_noarg_command (unsigned char command) | 
| void  | send_string_command (unsigned char command, const std::string &data) | 
| void  | send_unsigned_char_command (unsigned char command, const unsigned char *data, int size) | 
| void  | configure_parameters (const std::string &robotType, const std::string &robotSubType) | 
| void  | reinitialize () | 
 Private Attributes | 
| pseudosem_t  | m_semaphore | 
| pthread_t  | m_send_thread | 
| pthread_t  | m_recv_thread | 
| pthread_mutex_t  | m_send_mutex | 
| pthread_mutex_t  | m_recv_mutex | 
| volatile bool  | m_send_running | 
| volatile bool  | m_recv_running | 
| int  | m_file_descriptor | 
| std::list< PSOSPacket >  | m_send_list | 
| enum RobotFlow::Pioneer2PacketManager:: { ... }   | m_psos_state | 
 Static Private Attributes | 
| static Pioneer2PacketManager *  | m_instance = NULL | 
 Friends | 
| void *  | Pioneer2PacketManager_recv_thread (void *user_data) | 
| void *  | Pioneer2PacketManager_send_thread (void *user_data) |