Re: Orocos program
"Andrea Consonni" <[email protected]>
| Newsgroups | gmane.science.robotics.orocos.user |
|---|---|
| Message-ID | <[email protected]> |
>> Why only do you support up to three parameters? We are interested in (for >> now) controlling in joint space, so we would want to pass six parameters >> (six joint positions). > >The parser in itself accomodates for an 'unlimited' number of parameters. It >are the command and datasource factories that must allow multiple arguments. >A last quick look at the repository revealed the current status : >commands (+termination conditions) : support 0 to 3 arguments >datasource: support 0 to 1 arguments > >Adding support for N arguments requires linear coding time (you can skip the ><N argument support). So it would not be hard to add support for 6 or 12 >arguments. We however solved it by introducing extra datatypes in the parser. >frame, vector and rotation are an example of that. I am not sure if that is a >good solution for your case, the scripting language was never intended to >create 'real' programs as in C or C++. > >BTW you probably want to specify 7 parameters to add a time or velocity >argument. If you could provide more details about what your program script >should do, I'll be happy to see how it fits in Orocos. We would want to specify 6 joint positions and 6 velocity or time arguments. We have tried to extending the Orocos parser to support Double6D type, but we have compile errors. How could we do this? With kind regards, Andrea & Stefano PS: About the release 0.14.2, it's all right :-)