|
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) |
|
MAVLink geo-fence loader
Definition at line 538 of file mavwp.py.
def pymavlink.mavwp.MAVFenceLoader.__init__ |
( |
|
self, |
|
|
|
target_system = 0 , |
|
|
|
target_component = 0 |
|
) |
| |
def pymavlink.mavwp.MAVFenceLoader.add |
( |
|
self, |
|
|
|
p |
|
) |
| |
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.
pymavlink.mavwp.MAVFenceLoader.last_change |
pymavlink.mavwp.MAVFenceLoader.points |
pymavlink.mavwp.MAVFenceLoader.target_component |
pymavlink.mavwp.MAVFenceLoader.target_system |
The documentation for this class was generated from the following file: