Classes | Functions | Variables
diff_tf Namespace Reference

Classes

class  DiffTf

Functions

def __init__
def lwheelCallback
def rwheelCallback
def spin
 parameters #######
def update

Variables

tuple d = ( d_left + d_right )
int d_left = 0
int d_right = 0
tuple diffTf = DiffTf()
 elapsed = now-self.then
 enc = msg.data
tuple now = rospy.Time.now()
tuple odom = Odometry()
tuple quaternion = Quaternion()
tuple r = rospy.Rate(self.rate)
tuple th = ( d_right - d_left )
tuple x = cos( th )
tuple y = -sin( th )

Function Documentation

def diff_tf.__init__ (   self)

Definition at line 70 of file diff_tf.py.

def diff_tf.lwheelCallback (   self,
  msg 
)

Definition at line 192 of file diff_tf.py.

def diff_tf.rwheelCallback (   self,
  msg 
)

Definition at line 205 of file diff_tf.py.

def diff_tf.spin (   self)

parameters #######

Definition at line 115 of file diff_tf.py.

def diff_tf.update (   self)

Definition at line 124 of file diff_tf.py.


Variable Documentation

tuple diff_tf::d = ( d_left + d_right )

Definition at line 143 of file diff_tf.py.

tuple diff_tf::d_left = 0

Definition at line 134 of file diff_tf.py.

tuple diff_tf::d_right = 0

Definition at line 135 of file diff_tf.py.

main 

Definition at line 221 of file diff_tf.py.

tuple diff_tf::elapsed = now-self.then

Definition at line 128 of file diff_tf.py.

diff_tf::enc = msg.data

Definition at line 194 of file diff_tf.py.

tuple diff_tf::now = rospy.Time.now()

Definition at line 126 of file diff_tf.py.

tuple diff_tf::odom = Odometry()

Definition at line 175 of file diff_tf.py.

tuple diff_tf::quaternion = Quaternion()

Definition at line 162 of file diff_tf.py.

tuple diff_tf::r = rospy.Rate(self.rate)

Definition at line 117 of file diff_tf.py.

tuple diff_tf::th = ( d_right - d_left )

Definition at line 145 of file diff_tf.py.

tuple diff_tf::x = cos( th )

Definition at line 153 of file diff_tf.py.

tuple diff_tf::y = -sin( th )

Definition at line 154 of file diff_tf.py.



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