Public Member Functions | Public Attributes
pymavlink.mavwp.MAVFenceLoader Class Reference

List of all members.

Public Member Functions

def __init__
def add
def add_latlon
def clear
def count
def load
def move
def point
def polygon
def reindex
def remove
def save

Public Attributes

 last_change
 points
 target_component
 target_system

Detailed Description

MAVLink geo-fence loader

Definition at line 501 of file mavwp.py.


Constructor & Destructor Documentation

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

Definition at line 503 of file mavwp.py.


Member Function Documentation

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

Definition at line 517 of file mavwp.py.

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

Definition at line 532 of file mavwp.py.

clear point list

Definition at line 538 of file mavwp.py.

return number of points

Definition at line 509 of file mavwp.py.

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

Definition at line 543 of file mavwp.py.

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

Definition at line 568 of file mavwp.py.

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

Definition at line 513 of file mavwp.py.

return a polygon for the fence

Definition at line 599 of file mavwp.py.

reindex waypoints

Definition at line 522 of file mavwp.py.

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

Definition at line 584 of file mavwp.py.

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

Definition at line 561 of file mavwp.py.


Member Data Documentation

Definition at line 503 of file mavwp.py.

Definition at line 503 of file mavwp.py.

Definition at line 503 of file mavwp.py.

Definition at line 503 of file mavwp.py.


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


mavlink
Author(s): Lorenz Meier
autogenerated on Thu Jun 6 2019 19:01:58