Wer hat es schon probiert und kann mir weiterhelfen?
http://wiki.openpilot.org/display/Doc/Log+File+Analysis+in+Matlab+or+Octave
(mit https://github.com/TauLabs/TauLabs/wiki/linux)
Compilieren geht:
erzeugt /TauLabs/build/uavobject-synthetics/matlab/LogConvert.m.pass1
wird von octave angenommen (Achtung: uavobject-synthetics, nicht uavobjects-synthetics)
Das Skript mag dann aber nicht laufen, 'octave LogConvert.m.pass1' im Terminal ergibt:
(gleiches bei 'octave LogConvert.m.pass1 /logs/TauLabs-2014-01-05_14-11-30')
Direkt in Octave geht gar nichts, LogConvert wird genauso behandelt wie beliebiger Text
http://wiki.openpilot.org/display/Doc/Log+File+Analysis+in+Matlab+or+Octave
(mit https://github.com/TauLabs/TauLabs/wiki/linux)
Compilieren geht:
Code:
~/taulabscode/TauLabs$ make uavobjects_matlab
make[1]: Nothing to be done for `first'.
- Tau Labs UAVObject Generator -
Done: processed 101 XML files and generated 101 objects with no ID collisions. Total size of the data fields is 3407 bytes.
generating matlab code
Code:
octave-3.2.4:5> addpath('/home/carsten/taulabscode/TauLabs/build/uavobject-synthetics/matlab/');
octave-3.2.4:6>
Das Skript mag dann aber nicht laufen, 'octave LogConvert.m.pass1' im Terminal ergibt:
Code:
error: nested functions not implemented in this context
error: near line 3620 of file `LogConvert.m.pass1.m'
parse error near line 3620 of file LogConvert.m.pass1
syntax error
>>> function OPLog2csv(structIn, structName, logfile)
^
error: parse error while reading script file LogConvert.m.pass1
error: source: error sourcing file `LogConvert.m.pass1'
Direkt in Octave geht gar nichts, LogConvert wird genauso behandelt wie beliebiger Text
Code:
octave-3.2.4:6> LogConvert
error: `LogConvert' undefined near line 6 column 1
octave-3.2.4:6> bla
error: `bla' undefined near line 6 column 1
octave-3.2.4:6> LogConvert.m.pass1
error: `LogConvert' undefined near line 6 column 1
octave-3.2.4:6>