diff --git a/rb_ws/src/buggy/scripts/debug/debug_steer.py b/rb_ws/src/buggy/scripts/debug/debug_steer.py index 142920f..ec6b8ce 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)