Browse Source

Init commit.

main
Alan G. Sanchez 2 years ago
parent
commit
33228c38c9
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      example_13.md

+ 3
- 3
example_13.md View File

@ -70,7 +70,7 @@ class StretchNavigation:
def go_to(self, x, y, theta):
"""
Drive the robot to a particlar pose on the map. The Stretch only needs
Drive the robot to a particular pose on the map. The Stretch only needs
(x, y) coordinates and a heading.
:param x: x coordinate in the map frame.
:param y: y coordinate in the map frame.
@ -101,7 +101,7 @@ class StretchNavigation:
if __name__ == '__main__':
rospy.init_node('navigation', argv=sys.argv)
nav = StretchNavigation()
nav.go_to(0.5, 0.0, 0.0, wait=True)
nav.go_to(0.5, 0.0, 0.0)
```
### The Code Explained
@ -211,4 +211,4 @@ Declare the `StretchNavigation` object.
```python
nav.go_to(0.5, 0.0, 0.0)
```
Send a move base goal half a meter in front of the map's .
Send a move base goal half a meter in front of the map's origin.

Loading…
Cancel
Save