def map_heading_range(self, angle):
        if angle > 180.0:
            return self.map_heading_range(angle-360.0)
        else:
            return angle
Maps angle to +/-180.0
dataset/ETHPy150Open FishPi/FishPi-POCV---Command---Control/fishpi/control/navigation.py/NavigationUnit.map_heading_range