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

Public Member Functions

def __init__ (self, target_system=0, target_component=0)
 
def append_rally_point (self, p)
 
def clear (self)
 
def create_and_append_rally_point (self, lat, lon, alt, break_alt, land_dir, flags)
 
def load (self, filename)
 
def move (self, i, lat, lng, change_time=True)
 
def rally_count (self)
 
def rally_point (self, i)
 
def reindex (self)
 
def remove (self, i)
 
def save (self, filename)
 
def set_alt (self, i, alt, break_alt=None, change_time=True)
 

Public Attributes

 last_change
 
 rally_points
 
 target_component
 
 target_system
 

Detailed Description

MAVLink Rally points and Rally Land ponts loader

Definition at line 433 of file mavwp.py.

Constructor & Destructor Documentation

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

Definition at line 435 of file mavwp.py.

Member Function Documentation

def pymavlink.mavwp.MAVRallyLoader.append_rally_point (   self,
  p 
)
add rallypoint to end of list

Definition at line 456 of file mavwp.py.

def pymavlink.mavwp.MAVRallyLoader.clear (   self)
clear all point lists (rally and rally_land)

Definition at line 471 of file mavwp.py.

def pymavlink.mavwp.MAVRallyLoader.create_and_append_rally_point (   self,
  lat,
  lon,
  alt,
  break_alt,
  land_dir,
  flags 
)
add a point via latitude/longitude

Definition at line 465 of file mavwp.py.

def pymavlink.mavwp.MAVRallyLoader.load (   self,
  filename 
)
load rally and rally_land points from a file.
 returns number of points loaded

Definition at line 503 of file mavwp.py.

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

Definition at line 483 of file mavwp.py.

def pymavlink.mavwp.MAVRallyLoader.rally_count (   self)
return number of rally points

Definition at line 441 of file mavwp.py.

def pymavlink.mavwp.MAVRallyLoader.rally_point (   self,
  i 
)
return rally point i

Definition at line 445 of file mavwp.py.

def pymavlink.mavwp.MAVRallyLoader.reindex (   self)
reset counters and indexes

Definition at line 449 of file mavwp.py.

def pymavlink.mavwp.MAVRallyLoader.remove (   self,
  i 
)
remove a rally point

Definition at line 476 of file mavwp.py.

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

Definition at line 524 of file mavwp.py.

def pymavlink.mavwp.MAVRallyLoader.set_alt (   self,
  i,
  alt,
  break_alt = None,
  change_time = True 
)
set rally point altitude(s)

Definition at line 492 of file mavwp.py.

Member Data Documentation

pymavlink.mavwp.MAVRallyLoader.last_change

Definition at line 439 of file mavwp.py.

pymavlink.mavwp.MAVRallyLoader.rally_points

Definition at line 436 of file mavwp.py.

pymavlink.mavwp.MAVRallyLoader.target_component

Definition at line 438 of file mavwp.py.

pymavlink.mavwp.MAVRallyLoader.target_system

Definition at line 437 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