[Rock-dev] [Discussion] usage of infinity for "no-data" tagging

Sylvain Joyeux sylvain.joyeux at dfki.de
Fri Jul 15 12:32:01 CEST 2011


On 07/15/2011 12:20 PM, Alexander Duda wrote:
> For me Infinity is more or less equal to not defined. Therefore I think
> it is a nice way to disable certain options without having an additional
> flag. Maybe NaN would be also a way to express it.
>
> But I am not sure if we can set the values from ruby or orogen. If not I
> would drop the idea.
>
> -->  property 'val1','double','NaN' would be nice
Unfortunately, Ruby does not have a NaN value. However, it does have an 
Infinity value (I just have to make sure we can manipulate it freely in 
the typelib-to-ruby bridge)

Sylvain


More information about the Rock-dev mailing list