Public Types | Public Slots | Signals | Public Member Functions | Private Member Functions | Private Attributes
TeleoperatorInstanceWidget Class Reference

#include <TeleoperatorInstanceWidget.h>

List of all members.

Public Types

enum  InputMethod { Joystick = 0, Keyboard = 1, Mouse = 2 }

Public Slots

void redraw ()

Signals

void redrawSignal ()

Public Member Functions

 TeleoperatorInstanceWidget (ros::NodeHandle &nodeHandle, InputMethod inputMethod, int robotNumber, string velocityTopic, string feedbackVelocityFeedback)
virtual ~TeleoperatorInstanceWidget ()

Private Member Functions

void initJoystick (InputMethod method)
void initTopics (InputMethod method, string feedbackTopicName, string velocityTopic)
string inputMethodStr (InputMethod method)
void keyboardCallback (double linear, double angular)
void onVelocityMessage (const geometry_msgs::Twist::Ptr velocityMessage)
void uiJoystickCallback (double linearPercent, double angularPercent)

Private Attributes

double _angularVelocity
volatile bool _closed
InputMethod _inputMethod
mr_rqt::KeyboardTeleop_keyboardWidget
double _linearVelocity
ros::NodeHandle_nodeHandle
ros::Publisher _publisher
int _robotNumber
ros::Subscriber _subscriber
mr_rqt::VelocityWidget_velocityWidget
Ui_teleoperatorInstance _widget

Detailed Description

Definition at line 49 of file TeleoperatorInstanceWidget.h.


Member Enumeration Documentation

Enumerator:
Joystick 
Keyboard 
Mouse 

Definition at line 55 of file TeleoperatorInstanceWidget.h.


Constructor & Destructor Documentation

TeleoperatorInstanceWidget::TeleoperatorInstanceWidget ( ros::NodeHandle nodeHandle,
InputMethod  inputMethod,
int  robotNumber,
string  velocityTopic,
string  feedbackVelocityFeedback 
) [inline]

Definition at line 59 of file TeleoperatorInstanceWidget.h.


Member Function Documentation

void TeleoperatorInstanceWidget::initJoystick ( InputMethod  method) [inline, private]

Definition at line 137 of file TeleoperatorInstanceWidget.h.

void TeleoperatorInstanceWidget::initTopics ( InputMethod  method,
string  feedbackTopicName,
string  velocityTopic 
) [inline, private]

Definition at line 154 of file TeleoperatorInstanceWidget.h.

string TeleoperatorInstanceWidget::inputMethodStr ( InputMethod  method) [inline, private]

Definition at line 204 of file TeleoperatorInstanceWidget.h.

void TeleoperatorInstanceWidget::keyboardCallback ( double  linear,
double  angular 
) [inline, private]

Definition at line 172 of file TeleoperatorInstanceWidget.h.

void TeleoperatorInstanceWidget::onVelocityMessage ( const geometry_msgs::Twist::Ptr  velocityMessage) [inline, private]

Definition at line 185 of file TeleoperatorInstanceWidget.h.

void TeleoperatorInstanceWidget::redraw ( ) [inline, slot]

Executed on UI Thread

Definition at line 108 of file TeleoperatorInstanceWidget.h.

void TeleoperatorInstanceWidget::uiJoystickCallback ( double  linearPercent,
double  angularPercent 
) [inline, private]

Definition at line 161 of file TeleoperatorInstanceWidget.h.

Definition at line 97 of file TeleoperatorInstanceWidget.h.


Member Data Documentation

Definition at line 132 of file TeleoperatorInstanceWidget.h.

volatile bool TeleoperatorInstanceWidget::_closed [private]

Definition at line 134 of file TeleoperatorInstanceWidget.h.

Definition at line 120 of file TeleoperatorInstanceWidget.h.

Definition at line 129 of file TeleoperatorInstanceWidget.h.

Definition at line 131 of file TeleoperatorInstanceWidget.h.

Definition at line 122 of file TeleoperatorInstanceWidget.h.

Definition at line 124 of file TeleoperatorInstanceWidget.h.

Definition at line 119 of file TeleoperatorInstanceWidget.h.

Definition at line 125 of file TeleoperatorInstanceWidget.h.

Definition at line 128 of file TeleoperatorInstanceWidget.h.

Definition at line 127 of file TeleoperatorInstanceWidget.h.


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


mr_rqt
Author(s): Igor Makhtes
autogenerated on Fri Aug 28 2015 11:35:38