Skip to content

Commit

Permalink
Add documentation of SysLog
Browse files Browse the repository at this point in the history
  • Loading branch information
ufechner7 committed Dec 25, 2021
1 parent 1fd3f15 commit 43c4fa5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
1 change: 1 addition & 0 deletions docs/src/types.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ Also look at the default file that is parsed to fill the Settings stuct with dat
MyFloat
SysState{P}
ExtSysState{P}
SysLog{P}
```
19 changes: 14 additions & 5 deletions src/KiteUtils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -220,13 +220,22 @@ struct ExtSysState{P}
z::MyFloat
end

# flight log, containing the basic data as struct of arrays
# and in addition an extended view on the data that includes derived/ calculated values for plotting
# finally meta data like the file name of the log file is included
"""
SysLog{P}
Flight log, containing the basic data as struct of arrays
and in addition an extended view on the data that includes derived/ calculated values for plotting
finally meta data like the file name of the log file is included.
$(TYPEDFIELDS)
"""
struct SysLog{P}
"name of the flight log"
name::String
syslog::StructArray{SysState{P}} # struct of vectors
extlog::StructArray{ExtSysState{P}} # struct of vectors, containing derived values
"struct of vectors"
syslog::StructArray{SysState{P}}
"struct of vectors, containing derived values"
extlog::StructArray{ExtSysState{P}}
end

# functions
Expand Down

0 comments on commit 43c4fa5

Please sign in to comment.