Skip to content
Adaptive AgroTech NetworkUniversity of Southern Denmark · SDU Drone Center
Cover for Why Does a Robot Turn 358 Degrees Instead of 2 Degrees?

Video by Adaptive AgroTech. If the embedded player is unavailable, open the original video ↗.

Why Does a Robot Turn 358 Degrees Instead of 2 Degrees?

Heading angles wrap at a full turn. A controller that subtracts them directly can command almost a full revolution when the goal is only two degrees away.

Understand the concept

The key idea

From 359 degrees to 1 degree, straightforward subtraction gives minus 358 degrees. Wrapping the difference into a signed interval spanning one turn yields plus 2 degrees for the shortest rotation.

What to remember

  • Compute the angular difference using consistent units.
  • If the joint has travel limits, check that the chosen turn is mechanically feasible.
Pause & think

Check your understanding

What is the shortest signed heading change from 1 degree to 359 degrees?

Show the explanation

Minus 2 degrees when positive angles increase in the usual direction.