Some confusing about configuration.
Posted: Wed Aug 04, 2010 1:03 pm
HI Tim, thanks for your amazing job. Allowing us to process with C3D file and extracting data exactly what the OpenSim need.
We are doing great with a lot of trials until we encountered several trials from others. Which their trials just came with only one force plate and the analog channels name came like CH00, CH01, CH02, CH03, etc,. So I didn't how to config with the force plate string.
This is what I wrote like below:
glab.FP.string = '%s'; % Prefix, PlateNum, Suffix
%%%% WORKSTATION
glab.FP.prefix = {'CH02','CH03','CH04','CH05','CH06','CH07'};
glab.FP.suffix = {'','','','','',''};
But the result came like below with error:
Warning: The argument for the %s format specifier must be of type char (a string).
> In getEvents>avrVertForceOnPlate at 629
In getEvents>detectSeq at 515
In getEvents at 441
In testWalkSimulation at 28
Warning: Could not detect force plate sequence.
I meant to see where does this error come from the source code but unfortunately I could even find where this error "The argument for the %s format specifier must be of type char (a string)" come from. From the source of GETEVENT.M, I found a function like :
function avrF = avrVertForceOnPlate(itf, plateNum, startVFrame, endVFrame)
But I could figure which is the definition of "avrVertForceOnPlate" come from? Would you mind give some tips?
Sorry for so many confusing questions.
Thanks again for the great toolkit.
Yi.
We are doing great with a lot of trials until we encountered several trials from others. Which their trials just came with only one force plate and the analog channels name came like CH00, CH01, CH02, CH03, etc,. So I didn't how to config with the force plate string.
This is what I wrote like below:
glab.FP.string = '%s'; % Prefix, PlateNum, Suffix
%%%% WORKSTATION
glab.FP.prefix = {'CH02','CH03','CH04','CH05','CH06','CH07'};
glab.FP.suffix = {'','','','','',''};
But the result came like below with error:
Warning: The argument for the %s format specifier must be of type char (a string).
> In getEvents>avrVertForceOnPlate at 629
In getEvents>detectSeq at 515
In getEvents at 441
In testWalkSimulation at 28
Warning: Could not detect force plate sequence.
I meant to see where does this error come from the source code but unfortunately I could even find where this error "The argument for the %s format specifier must be of type char (a string)" come from. From the source of GETEVENT.M, I found a function like :
function avrF = avrVertForceOnPlate(itf, plateNum, startVFrame, endVFrame)
But I could figure which is the definition of "avrVertForceOnPlate" come from? Would you mind give some tips?
Sorry for so many confusing questions.
Thanks again for the great toolkit.
Yi.