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 | |
Definition at line 38 of file motion_square.py.
| def kobuki_testsuite.motion_square.Square.__init__ | ( | self, | |
| cmd_vel_topic, | |||
| odom_topic, | |||
| gyro_topic | |||
| ) |
Definition at line 44 of file motion_square.py.
| 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.
| def kobuki_testsuite.motion_square.Square._forward | ( | self | ) | [private] |
Definition at line 150 of file motion_square.py.
| def kobuki_testsuite.motion_square.Square._has_reached_forward_goal | ( | self | ) | [private] |
Utilities.
Definition at line 125 of file motion_square.py.
| def kobuki_testsuite.motion_square.Square._has_reached_turning_goal | ( | self | ) | [private] |
Definition at line 134 of file motion_square.py.
| def kobuki_testsuite.motion_square.Square._stop_forward | ( | self | ) | [private] |
Definition at line 158 of file motion_square.py.
| def kobuki_testsuite.motion_square.Square._stop_turn | ( | self | ) | [private] |
Definition at line 174 of file motion_square.py.
| def kobuki_testsuite.motion_square.Square._turn | ( | self | ) | [private] |
Definition at line 164 of file motion_square.py.
| def kobuki_testsuite.motion_square.Square.execute | ( | self | ) |
Drop this into threading.Thread or QThread for execution
Definition at line 81 of file motion_square.py.
| def kobuki_testsuite.motion_square.Square.heading_callback | ( | self, | |
| data | |||
| ) |
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.
| def kobuki_testsuite.motion_square.Square.odometry_callback | ( | self, | |
| data | |||
| ) |
Ros Callbacks.
Definition at line 189 of file motion_square.py.
| def kobuki_testsuite.motion_square.Square.shutdown | ( | self | ) |
Definition at line 67 of file motion_square.py.
| def kobuki_testsuite.motion_square.Square.stop | ( | self | ) |
Definition at line 78 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 44 of file motion_square.py.
string kobuki_testsuite::motion_square.Square::STATE_FORWARD = "forward" [static] |
Definition at line 39 of file motion_square.py.
string kobuki_testsuite::motion_square.Square::STATE_STOP_FORWARD = "stop_forward" [static] |
Definition at line 40 of file motion_square.py.
string kobuki_testsuite::motion_square.Square::STATE_STOP_TURN = "stop_turn" [static] |
Definition at line 42 of file motion_square.py.
string kobuki_testsuite::motion_square.Square::STATE_TURN = "turn" [static] |
Definition at line 41 of file motion_square.py.