Hey Shashank,
Now I understand. I tried to apply the converter to the files you were refering
to, and you are absolutely right that the converter fails.
I have been investigating this a bit and it actually turns out that the files do
not strictly follow the c3d file standard and that is why the converter stops
with an error. However, it is such a simple error in those files that it was not
so difficult to make a fix such that these can also be converted. I will have a
new version uploaded as soon as possible.
The reason why we have not seen this before is because this c3d converter is
fairly new and the WheelChairRancho model was made before the converter was.
Thanks a lot for bringing this to our attention.
Best regards
Michael Skipper Andersen
The AnyBody Research Project
----- Original Message -----
From: shashu_23
To: anyscript@yahoogroups.com
Sent: Thursday, November 08, 2007 6:26 PM
Subject: [AnyScript] Re: data input question
Hi Michael,
I understand when you say how certain elements are critical for
decoding. I was trying to use a file which is part of the repository
under ‘WheelChairRancho’ called 5858_free.c3d.
When i tried to use the c3d converter with this file. I got an error
which said ‘The specified element type is undefined Aborting’.
Now i assumed that this file worked for you guys as you have included
its data in the Anybody model. I was wondering why i am getting this
error, when it worked ( i assume) for you.
I have tried the converter with another c3d file which i had and it
worked so i know that the way i trying to run the converter is
correct.
Hope this clarifies my question a bit
Thanks
Shashank
— In anyscript@yahoogroups.com, “Michael Skipper Andersen”
<msandersen60@…> wrote:
>
> Hey Shashank,
>
> I am not sure I understand your problem with the wheelchair model.
Could you please elaborate?
>
> There are a few parts of the c3d file that the converter assume are
present, but these are only the very essential parts without which it
is impossible to completely decode the file. An example is the
POINTS:LABEL group which gives the data points a label. A complete
list of these parameters and groups can be found at www.c3d.org (the
required groups and parameters). If any of these are missing, the
converter will abort and display an error.
>
> Besides this, it has been attempted to make a one-to-one map from
the c3d file to the AnyScript files. However, the naming policy (or
lack of such rather) in the c3d file standard caused a problem
because the data can have names that are not accepted in AnyScript.
In order to solve this problem, the converter will convert all
unaccepted characters to accepted ones. For instance a “+” in a name
will be converted to “_”.
>
> I hope this answers your question. Else please ask again.
>
> Best regards
> Michael Skipper Andersen
> The AnyBody Research Project
>
> ----- Original Message -----
> From: shashu_23
> To: anyscript@yahoogroups.com
> Sent: Wednesday, November 07, 2007 11:07 PM
> Subject: [AnyScript] Re: data input question
>
>
> Thanks Søren,
> I downloaded the c3d converter and used it successfully with a
c3d
> file that i had. But when i tried to use it with the file
5858_free
> that is a part of the repository for the Wheelchair rancho model
it
> gave me an error saying “The specified element type is
undefined”.
> Which brings me to the question that does the converter look for
> specific things in the c3d file and if they are missing does it
work
> without that.
>
> Thanks
> Shashank
>
> — In anyscript@yahoogroups.com, “AnyBody Support” <support@>
> wrote:
> >
> > Hi Shashank
> >
> >
> >
> > In the AnyKinInterPolDriver you can import the data as a text
file,
> you just
> > need to provide a FileName. The data should be stored in
columns,
> for an
> > example of this please see the Gait3D/JointAndDrivers.any file
and
> one of
> > the marker trajectory files like p1.txt.
> >
> >
> >
> > Alternatively if you have the data stored in a C3D file you can
> used the
> > C3D2Any converter, this will create AnyScript text files with
the
> content of
> > the C3D. The data vectors of these files can also be used for
> driving the
> > markers, so instead of typing in the “Data” vector you can let
> the “Data”
> > vector point at these data. Please see posting #1524 from Oct.
4
> for the
> > details about the converter, it can be downloaded from the file
> section of
> > the group.
> >
> >
> >
> > Best regards
> >
> > Søren, Any Body Support
> >
> >
> >
> > _____
> >
> > From: anyscript@yahoogroups.com
[mailto:anyscript@yahoogroups.com]
> On Behalf
> > Of shashu_23
> > Sent: 06 November 2007 18:24
> > To: anyscript@yahoogroups.com
> > Subject: [AnyScript] data input question
> >
> >
> >
> > Hi,
> > Is there an optimal way to input marker data files into
Anybody. As
> > i need to assign each coordinate for each marker to a vector.
If i
> want
> > to try the same model with data from different subject’s. Is
the
> best
> > way to copy and paste data into these vectors. Or is there any
> other
> > quicker method.
> >
> > Thanks
> > Shashank
> >
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
[Non-text portions of this message have been removed]