(target: number, current: number)
| 38 | * Returns value in [-PI, PI] |
| 39 | */ |
| 40 | export function angleDifference(target: number, current: number): number { |
| 41 | return normalizeAngle(target - current); |
| 42 | } |
| 43 | |
| 44 | /** |
| 45 | * Project a waypoint to screen coordinates using bearing-based calculation |
no test coverage detected