mirror of
https://github.com/SHC-ASTRA/rover-ros2.git
synced 2026-02-11 09:20:40 +00:00
chore: update ros2_interfaces_pkg to v1.1
No real difference, just made the PR and release
This commit is contained in:
@@ -245,7 +245,7 @@ class SerialRelay(Node):
|
|||||||
if abs(linear) > 1 or abs(angular) > 1:
|
if abs(linear) > 1 or abs(angular) > 1:
|
||||||
# if speed is greater than 1, then there is a problem
|
# if speed is greater than 1, then there is a problem
|
||||||
# make it look like a problem and don't just run away lmao
|
# make it look like a problem and don't just run away lmao
|
||||||
linear = copysign(0.25, linear)
|
linear = copysign(0.25, linear) # 0.25 duty cycle in direction of control (hopefully slow)
|
||||||
angular = copysign(0.25, angular)
|
angular = copysign(0.25, angular)
|
||||||
|
|
||||||
duty_left = linear - angular
|
duty_left = linear - angular
|
||||||
|
|||||||
Submodule src/ros2_interfaces_pkg updated: f7276a2c27...d6806af6c3
Reference in New Issue
Block a user