From d50cf4be992da95e6f733b5cfadbecfbec0878b8 Mon Sep 17 00:00:00 2001 From: "Alan G. Sanchez" Date: Wed, 31 Aug 2022 08:59:35 -0700 Subject: [PATCH] Removed the agrument in go_to function. --- src/navigation.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/navigation.py b/src/navigation.py index 1e565f4..aec9687 100644 --- a/src/navigation.py +++ b/src/navigation.py @@ -52,9 +52,9 @@ class StretchNavigation: """ return Quaternion(*transformations.quaternion_from_euler(0.0, 0.0, theta)) - def go_to(self, x, y, theta, wait=False): + 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. @@ -96,4 +96,4 @@ if __name__ == '__main__': nav = StretchNavigation() # Send a nav goal to the `go_to()` method - nav.go_to(0.5, 0.0, 0.0, wait=True) + nav.go_to(0.5, 0.0, 0.0)