Sudden roll desire when first waypoint reached

I am trying to fly plane in sitl. I created an waypoint line for testing. but I’ve encountered a problem while flight.

although all waypoints on the same line, when plane reached to first waypoint, roll desire suddenly increasing and recovering. This causes a roll spike. how do I fix it?

log file: https://www.mediafire.com/file/s2mgrvz5o1dyx1p/00000156.BIN/file

By not setting WP_RADIUS to 2m. Your roll spike is caused by high target bearing error induced by small target distance.

1 Like