From c2ba63effd352028d16d370f3722c3192d18b38b Mon Sep 17 00:00:00 2001 From: Ar-Ray-code Date: Sun, 10 Mar 2024 21:19:40 +0900 Subject: [PATCH] update pid params --- auto_driver_bringup/launch/auto2024.launch.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/auto_driver_bringup/launch/auto2024.launch.py b/auto_driver_bringup/launch/auto2024.launch.py index f56fcf8..f39be06 100644 --- a/auto_driver_bringup/launch/auto2024.launch.py +++ b/auto_driver_bringup/launch/auto2024.launch.py @@ -31,9 +31,9 @@ def generate_launch_description(): name='pitch_motor', namespace='can_node/gm6020_0', parameters=[ - {'p': 50}, + {'p': 80}, {'i': 10}, - {'d': 5}, + {'d': 10}, {'max_spd': 8000}, {'init_deg': 120}, {'min_limit': 20}, @@ -47,10 +47,10 @@ def generate_launch_description(): name='yaw_motor', namespace='can_node/gm6020_1', parameters=[ - {'p': 50}, + {'p': 80}, {'i': 10}, {'d': 5}, - {'max_spd': 8000}, + {'max_spd': 5000}, {'init_deg': 180}, {'min_limit': 25}, {'max_limit': 315} @@ -94,7 +94,8 @@ def generate_launch_description(): {'offset_x': 0.0}, {'offset_y': 0.0}, {'offset_z': 0.0}, - {'invert_degree': False} + {'invert_degree': False}, + {'speed_multiplier': 0.5} ] ), ComposableNode( @@ -110,7 +111,8 @@ def generate_launch_description(): {'offset_x': 0.0}, {'offset_y': 0.0}, {'offset_z': 0.0}, - {'invert_degree': True} + {'invert_degree': True}, + {'speed_multiplier': 0.5} ] ) ],