def normalize_angle_deg(angle: float) -> float:
    """ Given an angle in degrees, normalises in [-179, 180] """
    # ATTRIBUTION: https://github.com/Gor-Ren/gym-jsbsim
    new_angle = angle % 360
    if new_angle > 180:
        new_angle -= 360
    return new_angle