Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)
MAVLink geo-fence loader

src/c/u/cuav-1.3.1/cuav/lib/cuav_missiongenerator.py   cuav(Download)
 
        # create fence.txt
        fenceloader = mavwp.MAVFenceLoader()
        fp = mavutil.mavlink.MAVLink_fence_point_message(0, 0, 0, 0, self.airfieldHome[0], self.airfieldHome[1])
        fenceloader.add(fp)

src/c/u/cuav-HEAD/cuav/lib/cuav_missiongenerator.py   cuav(Download)
 
        # create fence.txt
        fenceloader = mavwp.MAVFenceLoader()
        fp = mavutil.mavlink.MAVLink_fence_point_message(0, 0, 0, 0, self.airfieldHome[0], self.airfieldHome[1])
        fenceloader.add(fp)

src/m/a/MAVProxy-1.3.3/MAVProxy/modules/mavproxy_fence.py   MAVProxy(Download)
    def __init__(self, mpstate):
        super(FenceModule, self).__init__(mpstate, "fence", "geo-fence management", public = True)
        self.fenceloader = mavwp.MAVFenceLoader()
        self.last_fence_breach = 0
        self.last_fence_status = 0

src/m/a/MAVProxy-HEAD/MAVProxy/modules/mavproxy_fence.py   MAVProxy(Download)
    def __init__(self, mpstate):
        super(FenceModule, self).__init__(mpstate, "fence", "geo-fence management", public = True)
        self.fenceloader = mavwp.MAVFenceLoader()
        self.last_fence_breach = 0
        self.last_fence_status = 0