marshalling()->writeProperties need more precision

Hi,
I'm using an Orocos componnent in a highly accurate application and I
discovered that orocos marshalling.writesProperties() is no giving enough
digits when writing double(s). Right now, it's giving me only 7 digits and I
would like to use 16 digits.

Can someone help me?

marshalling()->writeProperties need more precision

On Jun 29, 2009, at 12:01 , Simon Pelletier-Thibault wrote:

> Hi,
>
> I'm using an Orocos componnent in a highly accurate application and
> I discovered that orocos marshalling.writesProperties() is no giving
> enough digits when writing double(s). Right now, it's giving me only
> 7 digits and I would like to use 16 digits.
>
> Can someone help me?

I posted on this very topic in the last few weeks, and outlined the
fix required to do this. Search the archives should bring it right up
- it was a one file change and a recompile of RTT. There have been
other posts recently on this topic too ...

HTH
S

marshalling()->writeProperties need more precision

2009/6/29 S Roderick <kiwi [dot] net [..] ...>:
> On Jun 29, 2009, at 12:01 , Simon Pelletier-Thibault wrote:
>
>> Hi,
>>
>> I'm using an Orocos componnent in a highly accurate application and
>> I discovered that orocos marshalling.writesProperties() is no giving
>> enough digits when writing double(s). Right now, it's giving me only
>> 7 digits and I would like to use 16 digits.
>>
>> Can someone help me?
>
> I posted on this very topic in the last few weeks, and outlined the
> fix required to do this. Search the archives should bring it right up
> - it was a one file change and a recompile of RTT. There have been
> other posts recently on this topic too ...

The fundamental solution is to make the property system rely on the
type system fully, such that a user can define his own 'high
precision' data type and influence marshalling by using this new type
or override the marshalling of doubles (that's for all doubles then)

Peter