Classes | Functions | Variables
virtual_joystick Namespace Reference

Classes

class  MainWindow

Functions

def __init__
def get_position
def initUI
def main
 rospy.loginfo("publishing twist from (%0.3f,%0.3f)" %(self.x,self.y))
def mouseMoveEvent
def mousePressEvent
def mouseReleaseEvent
def pubTwist
 self.statusBar().showMessage("timer tick")
def timerEvent

Variables

tuple app = QtGui.QApplication(sys.argv)
tuple ex = MainWindow()
tuple img_path = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))
tuple pos = event.pos()
tuple r_max = rospy.get_param("~r_max", 1.0)
tuple r_min = rospy.get_param("~r_min", -1.0)
tuple s = self.size()
tuple s_h = s.height()
tuple s_w = s.width()
tuple x_max = rospy.get_param("~x_max", 0.20)
tuple x_min = rospy.get_param("~x_min", -0.20)

Function Documentation

def virtual_joystick.__init__ (   self)

Definition at line 38 of file virtual_joystick.py.

def virtual_joystick.get_position (   self,
  event 
)

Definition at line 84 of file virtual_joystick.py.

def virtual_joystick.initUI (   self)

Definition at line 47 of file virtual_joystick.py.

rospy.loginfo("publishing twist from (%0.3f,%0.3f)" %(self.x,self.y))

Definition at line 126 of file virtual_joystick.py.

def virtual_joystick.mouseMoveEvent (   self,
  event 
)

Definition at line 79 of file virtual_joystick.py.

def virtual_joystick.mousePressEvent (   self,
  event 
)

Definition at line 66 of file virtual_joystick.py.

def virtual_joystick.mouseReleaseEvent (   self,
  event 
)

Definition at line 73 of file virtual_joystick.py.

def virtual_joystick.pubTwist (   self)

self.statusBar().showMessage("timer tick")

Definition at line 102 of file virtual_joystick.py.

def virtual_joystick.timerEvent (   self,
  event 
)

Definition at line 96 of file virtual_joystick.py.


Variable Documentation

tuple virtual_joystick::app = QtGui.QApplication(sys.argv)

Definition at line 141 of file virtual_joystick.py.

Definition at line 142 of file virtual_joystick.py.

tuple virtual_joystick::img_path = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))

Definition at line 50 of file virtual_joystick.py.

tuple virtual_joystick::pos = event.pos()

Definition at line 89 of file virtual_joystick.py.

tuple virtual_joystick::r_max = rospy.get_param("~r_max", 1.0)

Definition at line 139 of file virtual_joystick.py.

tuple virtual_joystick::r_min = rospy.get_param("~r_min", -1.0)

Definition at line 138 of file virtual_joystick.py.

tuple virtual_joystick::s = self.size()

Definition at line 86 of file virtual_joystick.py.

tuple virtual_joystick::s_h = s.height()

Definition at line 88 of file virtual_joystick.py.

tuple virtual_joystick::s_w = s.width()

Definition at line 87 of file virtual_joystick.py.

tuple virtual_joystick::x_max = rospy.get_param("~x_max", 0.20)

Definition at line 137 of file virtual_joystick.py.

tuple virtual_joystick::x_min = rospy.get_param("~x_min", -0.20)

Definition at line 136 of file virtual_joystick.py.



differential_drive
Author(s): Jon Stephan
autogenerated on Sun Oct 5 2014 23:28:30