double function ( double arg0 , double arg1 ) { double loc0 = arg0 - arg1 ; if ( loc0 < - 180 ) { loc0 += 360 ; } else if ( loc0 > 180 ) { loc0 -= 360 ; } return loc0 ; }
computes angle difference a - b , accounting for wrap-around , in radians concode_field_sep PlaceHolder placeHolder concode_field_sep double LimitVal concode_elem_sep double LimitVal concode_elem_sep double angleDiff concode_elem_sep double RadianToDegree concode_elem_sep double makeBetween180s concode_elem_sep double DegreeToRadian concode_elem_sep double angleRot180 concode_elem_sep double LimitMotor concode_elem_sep double StopInDeadband concode_elem_sep boolean inInclusiveRange