withHeadingGains

fun withHeadingGains(posGain: Double, velGain: Double): <Error class: unknown class>

Sets the heading (rotational) PID gains.

Return

This builder instance for method chaining

Parameters

posGain

The proportional gain for heading position control

velGain

The derivative gain for heading velocity control