From 210c44bb5319b127493389d139075508c3c63eb7 Mon Sep 17 00:00:00 2001 From: Evan Date: Wed, 25 Sep 2024 17:33:04 -0400 Subject: [PATCH] Wassup! Sincerely, Evan --- rb_ws/src/buggy/scripts/debug/debug_steer.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rb_ws/src/buggy/scripts/debug/debug_steer.py b/rb_ws/src/buggy/scripts/debug/debug_steer.py index 142920f..ce1efc4 100755 --- a/rb_ws/src/buggy/scripts/debug/debug_steer.py +++ b/rb_ws/src/buggy/scripts/debug/debug_steer.py @@ -30,6 +30,9 @@ def sin_steer(self, tick_count): def constant_steer(self, _): return 42.0 + def even_faster_steer(self, tick_count): + return 50 * np.sin(1/(2 * np.pi) * tick_count/500) + #Creates a loop based on tick counter def loop(self): rate = rospy.Rate(self.rate)