simple_robot_control::base::Base Class Reference
List of all members.
Detailed Description
Definition at line 46 of file base.py.
Member Function Documentation
def simple_robot_control::base::Base::__init__ |
( |
|
self |
) |
|
def simple_robot_control::base::Base::_driveTwist |
( |
|
self, |
|
|
|
distance, |
|
|
|
velocity | |
|
) |
| | [private] |
def simple_robot_control::base::Base::_turnLeft |
( |
|
self, |
|
|
|
radians, |
|
|
|
speed = 0.2 | |
|
) |
| | [private] |
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 |
) |
|
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
The documentation for this class was generated from the following file: