simple_robot_control::base::Base Class Reference

List of all members.

Public Member Functions

def __init__
def driveForward
def driveLeft
def driveTwist
def isDone
def turnLeft

Public Attributes

 base_vel_cmd_pub
 listener
 lock

Private Member Functions

def _driveTwist
def _turnLeft

Detailed Description

Definition at line 46 of file base.py.


Member Function Documentation

def simple_robot_control::base::Base::__init__ (   self  ) 

Definition at line 47 of file base.py.

def simple_robot_control::base::Base::_driveTwist (   self,
  distance,
  velocity 
) [private]

Definition at line 81 of file base.py.

def simple_robot_control::base::Base::_turnLeft (   self,
  radians,
  speed = 0.2 
) [private]

Definition at line 110 of file base.py.

def simple_robot_control::base::Base::driveForward (   self,
  distance,
  speed = 0.1,
  wait = True 
)
if distance is positive it drives forward else backwards

Definition at line 55 of file base.py.

def simple_robot_control::base::Base::driveLeft (   self,
  distance,
  speed = 0.1,
  wait = True 
)
if distance is positive it drives left else right

Definition at line 67 of file base.py.

def simple_robot_control::base::Base::driveTwist (   self,
  distance,
  velocity,
  wait 
)
executes translational drive command as specified in velocity twist

Definition at line 95 of file base.py.

def simple_robot_control::base::Base::isDone (   self  ) 

Definition at line 148 of file base.py.

def simple_robot_control::base::Base::turnLeft (   self,
  radians,
  speed = 0.2,
  wait = True 
)
rotates the base by radians with speed. positive radians value will cause counterclockwise turning, negative radians will cause clockwise turning

Definition at line 137 of file base.py.


Member Data Documentation

Definition at line 49 of file base.py.

Definition at line 50 of file base.py.

Definition at line 51 of file base.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


simple_robot_control
Author(s): Christian Bersch, Sebastian Haug
autogenerated on Fri Jan 11 10:10:10 2013