Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Private Attributes
kobuki_testsuite.motion_square.Square Class Reference

List of all members.

Public Member Functions

def __init__
def execute
def heading_callback
def init
def odometry_callback
 Ros Callbacks.
def shutdown
def stop

Public Attributes

 cmd_vel_publisher
 gyro_subscriber
 last_state
 odom_subscriber

Static Public Attributes

string STATE_FORWARD = "forward"
string STATE_STOP_FORWARD = "stop_forward"
string STATE_STOP_TURN = "stop_turn"
string STATE_TURN = "turn"

Private Member Functions

def _command
def _forward
def _has_reached_forward_goal
 Utilities.
def _has_reached_turning_goal
def _stop_forward
def _stop_turn
def _turn

Private Attributes

 _current_pose
 _rate
 _running
 _side_distance
 _speed
 _starting_pose
 _state
 _stop
 _turn_count

Detailed Description

Definition at line 38 of file motion_square.py.


Constructor & Destructor Documentation

def kobuki_testsuite.motion_square.Square.__init__ (   self,
  cmd_vel_topic,
  odom_topic,
  gyro_topic 
)

Definition at line 44 of file motion_square.py.


Member Function Documentation

def kobuki_testsuite.motion_square.Square._command (   self,
  linear,
  angular 
) [private]
  Publishes a cmd_vel message for the kobuki.

Definition at line 141 of file motion_square.py.

Definition at line 150 of file motion_square.py.

Utilities.

Definition at line 125 of file motion_square.py.

Definition at line 134 of file motion_square.py.

Definition at line 158 of file motion_square.py.

Definition at line 174 of file motion_square.py.

Definition at line 164 of file motion_square.py.

  Drop this into threading.Thread or QThread for execution

Definition at line 81 of file motion_square.py.

Definition at line 195 of file motion_square.py.

def kobuki_testsuite.motion_square.Square.init (   self,
  speed,
  side_distance 
)

Definition at line 62 of file motion_square.py.

Ros Callbacks.

Definition at line 189 of file motion_square.py.

Definition at line 67 of file motion_square.py.

Definition at line 78 of file motion_square.py.


Member Data Documentation

Definition at line 44 of file motion_square.py.

Definition at line 44 of file motion_square.py.

Definition at line 44 of file motion_square.py.

Definition at line 44 of file motion_square.py.

Definition at line 44 of file motion_square.py.

Definition at line 44 of file motion_square.py.

Definition at line 44 of file motion_square.py.

Definition at line 44 of file motion_square.py.

Definition at line 44 of file motion_square.py.

Definition at line 44 of file motion_square.py.

Definition at line 44 of file motion_square.py.

Definition at line 44 of file motion_square.py.

Definition at line 44 of file motion_square.py.

Definition at line 39 of file motion_square.py.

Definition at line 40 of file motion_square.py.

Definition at line 42 of file motion_square.py.

Definition at line 41 of file motion_square.py.


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


kobuki_testsuite
Author(s): Jorge Santos Simon
autogenerated on Mon Oct 6 2014 01:33:05