Re: Re: Re: Orocos Program

"Andrea Consonni" <[email protected]>
Newsgroups gmane.science.robotics.orocos.user
Message-ID <[email protected]>
>On Tuesday 18 May 2004 09:58, Andrea Consonni wrote:
>> >>> you want to introduce a constructor like :
>> >>>
>> >>> var Double6D d6 = Double6D(0.,1.,2.,3.,4.,5.)
>> >>
>> >> Exactly!
>
>Ok. I have found the bug. The parser only allows keywords which 
>are fully lowercase. Thus it must be : double6d(...) instead. I 
>could soften this requirement, but I think it is better to leave it 
>this way.
>
>I have successfully tested the double6d(1.0) constructor... 
>So everything you did was correct. While I was "at it", i Also 
>added the double6d(1.0,2.0,3.0,4.0,5.0,6.0) constructor, 
>that's what is in the second patch. The second patch also 
>includes the first patch.
>
>I also added my test program (which is very limited :-).
>
>'Hope this helps you a lot...

Thanks very much for your help. Now all works correctly.

>PS : do :
>cd orocos-0.14.2/packages/execution/program_parser/0.14.2/
>patch -p4 < fix-xxx.patch

To install the patch, we have had to change the first row substituting "0.14.2"
for "current" otherwise we had "Hunk #x FAILED". We don't know why.

Regard,
  Andrea & Stefano
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.