[Bug 707] New: OCL reporting unable to provide date and time of sample

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=707

Summary: OCL reporting unable to provide date and time of
sample
Product: OCL
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: Reporting
AssignedTo: orocos-dev [..] ...
ReportedBy: kiwi [dot] net [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0

Only reports time since startup. For reference to external data sources, full
date and time would be useful some times.

[Bug 707] OCL reporting unable to provide date and time of sampl

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=707

--- Comment #6 from Peter Soetens <peter [..] ...> 2010-01-23 16:22:21 ---
(In reply to comment #5)
> (In reply to comment #4)
> > I think the code in the patches is relatively clean (bar lack of XML support in
> > the toolkit plugin), however, I'm a little worried about the build system. I've
> > taken what I could from RTT and OCL, but it might need some massaging ...
>
> I think it's valuable to have this in anyway. Too bad the RTT::Logger does not
> support Posix date/time in order to have logs in sync.

Note: I prefer to include the LoggingService on the 1.x branch (which uses
posix-like times?) than to add this feature to the 'to-be-dead' Logger class.

Peter

[Bug 707] OCL reporting unable to provide date and time of sampl

On Jan 23, 2010, at 10:22 , Peter Soetens wrote:

> https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=707
>
>
>
>
>
> --- Comment #6 from Peter Soetens <peter [..] ...> 2010-01-23 16:22:21 ---
> (In reply to comment #5)
>> (In reply to comment #4)
>>> I think the code in the patches is relatively clean (bar lack of XML support in
>>> the toolkit plugin), however, I'm a little worried about the build system. I've
>>> taken what I could from RTT and OCL, but it might need some massaging ...
>>
>> I think it's valuable to have this in anyway. Too bad the RTT::Logger does not
>> support Posix date/time in order to have logs in sync.
>
> Note: I prefer to include the LoggingService on the 1.x branch (which uses
> posix-like times?) than to add this feature to the 'to-be-dead' Logger class.

+1

The real-time logging (aka LoggingService) does indeed use posix-like times.
S

[Bug 707] OCL reporting unable to provide date and time of sampl

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=707

Peter Soetens <peter [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |peter [..] ...

--- Comment #5 from Peter Soetens <peter [..] ...> 2010-01-23 16:09:20 ---
(In reply to comment #4)
> I think the code in the patches is relatively clean (bar lack of XML support in
> the toolkit plugin), however, I'm a little worried about the build system. I've
> taken what I could from RTT and OCL, but it might need some massaging ...

I think it's valuable to have this in anyway. Too bad the RTT::Logger does not
support Posix date/time in order to have logs in sync.

>
> NB there is a workaround in the cobra transport plugin CMakeLists.txt file, to
> deal with the fact that on macosx the RTT pkgconfig file does not correctly
> announce its dependancy on the boost thread library. This should be dealt with
> properly within RTT.

Do you mean -lboost_thread-mt does not belong in the Libs.private section but
in the Libs section ? I would assume so because user code is inlining calls to
the boost thread lib...

Peter

[Bug 707] OCL reporting unable to provide date and time of sampl

On Jan 23, 2010, at 10:09 , Peter Soetens wrote:

> https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=707
>
>
> Peter Soetens <peter [..] ...> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> CC| |peter [..] ...
>
>
>
>
> --- Comment #5 from Peter Soetens <peter [..] ...> 2010-01-23 16:09:20 ---
> (In reply to comment #4)
>> I think the code in the patches is relatively clean (bar lack of XML support in
>> the toolkit plugin), however, I'm a little worried about the build system. I've
>> taken what I could from RTT and OCL, but it might need some massaging ...
>
> I think it's valuable to have this in anyway. Too bad the RTT::Logger does not
> support Posix date/time in order to have logs in sync.

Agreed. But as in other email, lets get the LoggingService done instead.

>> NB there is a workaround in the cobra transport plugin CMakeLists.txt file, to
>> deal with the fact that on macosx the RTT pkgconfig file does not correctly
>> announce its dependancy on the boost thread library. This should be dealt with
>> properly within RTT.
>
> Do you mean -lboost_thread-mt does not belong in the Libs.private section but
> in the Libs section ? I would assume so because user code is inlining calls to
> the boost thread lib...

I _think_ that is what I meant. It's been a while ...
S

[Bug 707] OCL reporting unable to provide date and time of sampl

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=707

--- Comment #4 from S Roderick <kiwi [dot] net [..] ...> 2009-10-09 20:24:05 ---
I think the code in the patches is relatively clean (bar lack of XML support in
the toolkit plugin), however, I'm a little worried about the build system. I've
taken what I could from RTT and OCL, but it might need some massaging ...

NB there is a workaround in the cobra transport plugin CMakeLists.txt file, to
deal with the fact that on macosx the RTT pkgconfig file does not correctly
announce its dependancy on the boost thread library. This should be dealt with
properly within RTT.

[Bug 707] OCL reporting unable to provide date and time of sampl

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=707

--- Comment #3 from S Roderick <kiwi [dot] net [..] ...> 2009-10-09 20:22:31 ---
Created an attachment (id=509)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=509)
Use boost date/time plugin in reporting

[Bug 707] OCL reporting unable to provide date and time of sampl

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=707

--- Comment #2 from S Roderick <kiwi [dot] net [..] ...> 2009-10-09 20:22:00 ---
Created an attachment (id=508)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=508)
Add boost date/time toolkit and transport plugins

Adds toolkits for boost ptime and time_duration.

Does not currently support read/write from XML.

Does provide corba transport plugin.

Does provide test cases

[Bug 707] OCL reporting unable to provide date and time of sampl

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=707

--- Comment #1 from S Roderick <kiwi [dot] net [..] ...> 2009-10-09 20:20:35 ---
Created an attachment (id=507)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=507)
Add boost datestamp to Reporting component

You need the following two patches for this to actually work.

Default behaviour remains the same. You need to set the "UseDateStamp" property
to get Reporting to report full date and time.