mirror of
https://github.com/SHC-ASTRA/rover-ros2.git
synced 2026-02-11 09:20:40 +00:00
fix: make turning input curve less aggressive
^2 instead of ^3. Not tested, hopefully makes it a lil better
This commit is contained in:
@@ -177,7 +177,7 @@ class Headless(Node):
|
|||||||
|
|
||||||
# Forward/back and Turn
|
# Forward/back and Turn
|
||||||
input.linear.x = -1.0 * left_stick_y
|
input.linear.x = -1.0 * left_stick_y
|
||||||
input.angular.z = -1.0 * right_stick_x ** 3 # Cubic for finer control (curve)
|
input.angular.z = -1.0 * right_stick_x ** 2 # Exponent for finer control (curve)
|
||||||
|
|
||||||
# Publish
|
# Publish
|
||||||
self.core_twist_pub_.publish(input)
|
self.core_twist_pub_.publish(input)
|
||||||
|
|||||||
Reference in New Issue
Block a user