Tuning Pivot Turns¶
This page describes how to tune the “pivot turn” feature on a Rover (or boat) with skid-steering.
A pivot turn involves the vehicle slowing or stopping, turning towards the destination and then continuing. These turns are only triggered in Auto, Guided, RTL or SmartRTL modes and only as a vehicle first starts towards the next waypoint.
WP_PIVOT_ANGLE holds the minimum angle error that will trigger a pivot turn. For example when set to the default of “60”, a pivot turn will be triggered if the vehicle’s heading is at least 60 degrees off from the next waypoint. This parameter should normally not be set below 30 unless you wish to disable pivot-turns which can be done by setting this parameter to 0. The vehicle will begin towards the next waypoints once its heading is within 10 degrees of the heading to the destination
WP_PIVOT_RATE holds the maximum turn rate of the vehicle (in degrees per second) during a pivot turn
ATC_STR_ANG_P converts the vehicle’s heading error into a desired turn rate. Higher values lead to a more aggressive turn towards the destination.
ATC_STR_RAT_MAX limits the vehicle’s maximum turn rate (in degrees per second) in all modes including during pivot turns.
ATC_STR_ACC_MAX limits the vehicle’s maximum rotational acceleration (in deg/sec/sec) in all modes. higher numbers lead to the vehicle getting up to its maximum turn rate more quickly
box boat performing pivot turns