PID tuning and Vbatt tuning