def set_secondary_vehicle_position(self, m):
        '''store second vehicle position for filtering purposes'''
        if m.get_type() != 'GLOBAL_POSITION_INT':
            return
        (lat, lon, heading) = (m.lat*1.0e-7, m.lon*1.0e-7, m.hdg*0.01)
        if abs(lat) < 1.0e-3 and abs(lon) < 1.0e-3:
            return
        self.vehicle2_pos = VehiclePos(m)
def set_secondary_vehicle_position ( self , m ) : if m . get_type ( ) != 'GLOBAL_POSITION_INT' : return ( lat , lon , heading ) = ( m . lat * 1.0e-7 , m . lon * 1.0e-7 , m . hdg * 0.01 ) if abs ( lat ) < 1.0e-3 and abs ( lon ) < 1.0e-3 : return self . vehicle2_pos = VehiclePos ( m )
store second vehicle position for filtering purposes