Public Member Functions | Public Attributes | List of all members
pymavlink.mavwp.MAVFenceLoader Class Reference
Inheritance diagram for pymavlink.mavwp.MAVFenceLoader:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, target_system=0, target_component=0)
 
def add (self, p)
 
def add_latlon (self, lat, lon)
 
def clear (self)
 
def count (self)
 
def load (self, filename)
 
def move (self, i, lat, lng, change_time=True)
 
def point (self, i)
 
def polygon (self)
 
def reindex (self)
 
def remove (self, i, change_time=True)
 
def save (self, filename)
 

Public Attributes

 last_change
 
 points
 
 target_component
 
 target_system
 

Detailed Description

MAVLink geo-fence loader

Definition at line 538 of file mavwp.py.

Constructor & Destructor Documentation

def pymavlink.mavwp.MAVFenceLoader.__init__ (   self,
  target_system = 0,
  target_component = 0 
)

Definition at line 540 of file mavwp.py.

Member Function Documentation

def pymavlink.mavwp.MAVFenceLoader.add (   self,
  p 
)
add a point

Definition at line 554 of file mavwp.py.

def pymavlink.mavwp.MAVFenceLoader.add_latlon (   self,
  lat,
  lon 
)
add a point via latitude/longitude

Definition at line 569 of file mavwp.py.

def pymavlink.mavwp.MAVFenceLoader.clear (   self)
clear point list

Definition at line 575 of file mavwp.py.

def pymavlink.mavwp.MAVFenceLoader.count (   self)
return number of points

Definition at line 546 of file mavwp.py.

def pymavlink.mavwp.MAVFenceLoader.load (   self,
  filename 
)
load points from a file.
returns number of points loaded

Definition at line 580 of file mavwp.py.

def pymavlink.mavwp.MAVFenceLoader.move (   self,
  i,
  lat,
  lng,
  change_time = True 
)
move a fence point

Definition at line 605 of file mavwp.py.

def pymavlink.mavwp.MAVFenceLoader.point (   self,
  i 
)
return a point

Definition at line 550 of file mavwp.py.

def pymavlink.mavwp.MAVFenceLoader.polygon (   self)
return a polygon for the fence

Definition at line 636 of file mavwp.py.

def pymavlink.mavwp.MAVFenceLoader.reindex (   self)
reindex waypoints

Definition at line 559 of file mavwp.py.

def pymavlink.mavwp.MAVFenceLoader.remove (   self,
  i,
  change_time = True 
)
remove a fence point

Definition at line 621 of file mavwp.py.

def pymavlink.mavwp.MAVFenceLoader.save (   self,
  filename 
)
save fence points to a file

Definition at line 598 of file mavwp.py.

Member Data Documentation

pymavlink.mavwp.MAVFenceLoader.last_change

Definition at line 544 of file mavwp.py.

pymavlink.mavwp.MAVFenceLoader.points

Definition at line 541 of file mavwp.py.

pymavlink.mavwp.MAVFenceLoader.target_component

Definition at line 543 of file mavwp.py.

pymavlink.mavwp.MAVFenceLoader.target_system

Definition at line 542 of file mavwp.py.


The documentation for this class was generated from the following file:


mavlink
Author(s): Lorenz Meier
autogenerated on Sun Jul 7 2019 03:22:08