Skip to content

Commit

Permalink
Airframe parser: add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jlecoeur committed Jul 22, 2019
1 parent f51000f commit ec68b49
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Tools/px4airframes/srcparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,24 +140,45 @@ def __init__(self, path, post_path, name, airframe_type, airframe_class, airfram
self.maintainer = maintainer

def GetPath(self):
"""
Get path to airframe startup script
"""
return self.path

def GetPostPath(self):
"""
Get path to airframe post startup script
"""
return self.post_path

def GetName(self):
"""
Get airframe name
"""
return self.name

def GetType(self):
"""
Get airframe type
"""
return self.type

def GetClass(self):
"""
Get airframe class
"""
return self.af_class

def GetId(self):
"""
Get airframe id
"""
return self.id

def GetMaintainer(self):
"""
Get airframe maintainer
"""
return self.maintainer

def SetField(self, code, value):
Expand Down

0 comments on commit ec68b49

Please sign in to comment.