Calculate angle difference in degrees, respecting angles <0 or >360.

angle_diff_deg(target_ang, ref_ang)

Arguments

target_ang

Angle

ref_ang

Reference angle

Value

Difference in angles in degrees