line_follow_control.yaml 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. # Safety gate: the controller starts in observation mode and never moves the
  2. # vehicle until this parameter is explicitly changed to true.
  3. enabled: false
  4. # These are published by line_follow_debug.py after its metric IPM processing.
  5. lane_valid_topic: /line_follow_debug/lane_valid
  6. lookahead_target_topic: /line_follow_debug/lookahead_target
  7. cmd_vel_topic: /cmd_vel
  8. # Real-route controller settings.
  9. control_rate: 20.0
  10. linear_speed: 0.15
  11. # LEFT/RIGHT routes and the STRAIGHT route before turn two use 0.15 m/s.
  12. # FOLLOW_AFTER_SECOND automatically slows to 0.10 m/s.
  13. task_state_topic: /traffic_line_task/state
  14. normal_linear_speed: 0.15
  15. after_second_linear_speed: 0.10
  16. # Pure-pursuit angular.z = linear_speed * curvature_gain * 2*y/(x^2+y^2).
  17. curvature_gain: 1.8
  18. # Retain the verified steering safety limit after increasing linear speed.
  19. max_angular_speed: 0.20
  20. # The published metric target follows base_link: +x forward and +y left.
  21. steering_sign: 1.0
  22. # Smooth target motion slightly without introducing a distance/time delay.
  23. target_alpha: 0.65
  24. lateral_deadband_m: 0.01
  25. min_target_forward_m: 0.10
  26. max_target_distance_m: 1.50
  27. target_timeout: 0.50