Re: Re: Orocos Program

"Andrea Consonni" <[email protected]>
Newsgroups gmane.science.robotics.orocos.user
Message-ID <[email protected]>
>>> you want to introduce a constructor like :
>>>
>>> var Double6D d6 = Double6D(0.,1.,2.,3.,4.,5.)
>>
>> Exactly!
>>
>>> you need a 'sixfold' operator ( a function object with 6 
>>> parameters ) to do the inline construction. The vector 
>>> constructor uses a TernaryOperator (See Operators.hpp
>>> and Operators.cxx). A '[]' operator might be handy too, 
>>> bounds checking can be done during the program parsing.
>>
>> For now, we have only interested to define a Double6D
>> variable and pass it to the Generator MoveTo method.

> ok.

>>
>> We don't have any compile errors, but when we start our program
>>
>>   program {
>>     var double6D Command = double6D(1.0)
>>   }
>>
>> we have the following parser error: 
>> "Value "double6D" is not defined..."

> Hmm. Could you send me a patch so that i can test it for myself ?
> This is not  the kind of error you would expect :-).

Ok, we'll send the modified sources of Orocos to your personal e-mail.

>> 2) The StartupComponents struct in configuration xml file contains 
>> the list of components which must be selected when the kernel is
>> started. However, we have noted that the componentStartup hook 
>> of these components isn't executed. Why?

> This is strange, this works in the motion_tracking kernel for example.

> Possible mistakes are :
> * A spelling error in the xml file (you must specify the unique name 
> given in the constructor of your component)

Sorry, we had a spelling error in the xml file. We didn't see that because
the Generator MoveTo method was executed and we thought that the components
were selected in right way.

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.