[Bug 707] OCL reporting unable to provide date and time of sample
Submitted by peter on Fri, 2011-03-25 12:00 |
http://bugs.orocos.org/show_bug.cgi?id=707
--- Comment #7 from Peter Soetens <peter [..] ...> 2011-03-25 12:58:31 CET ---
(In reply to comment #0)
> Only reports time since startup. For reference to external data sources, full
> date and time would be useful some times.
I'm bumping this topic up again, since I think this is still not merged on any
line ? Maybe something for 2.4.0 ?
Peter
[Bug 707] OCL reporting unable to provide date and time of sampl
On Mar 25, 2011, at 07:58 , Peter Soetens wrote:
>
> http://bugs.orocos.org/show_bug.cgi?id=707
>
> --- Comment #7 from Peter Soetens <peter [..] ...> 2011-03-25 12:58:31 CET ---
> (In reply to comment #0)
>> Only reports time since startup. For reference to external data sources, full
>> date and time would be useful some times.
>
> I'm bumping this topic up again, since I think this is still not merged on any
> line ? Maybe something for 2.4.0 ?
>
> Peter
I'll go back and look how we solved it, and produce a patch. It will take (at least) a couple of weeks to get to it ...
S
[Bug 707] OCL reporting unable to provide date and time of sampl
http://bugs.orocos.org/show_bug.cgi?id=707
Peter Soetens <peter [..] ...> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |next-major
--- Comment #10 from Peter Soetens <peter [..] ...> 2011-05-24 14:57:53 CEST ---
(In reply to comment #8)
> How does the following syntax look as an example of what we want? It is not
> quite ISO, as we replaced the "," with a "." IIRC. Having a comma in the
> datestamp is extra work with comma-separated files, etc.
ISO allows both comma and dot. So it is ISO.
>
>
>
> We intend to add this functionality to v1 and v2 I presume?
>
> Is a toolkit still required for v2? If so, I've no idea how to do that and
> don't have time to learn.
The toolkit would be required if you want to manipulate that time in scripts or
in XML files.
Peter
[Bug 707] OCL reporting unable to provide date and time of sampl
http://bugs.orocos.org/show_bug.cgi?id=707
--- Comment #8 from S Roderick <kiwi [dot] net [..] ...> 2011-04-15 22:17:23 CEST ---
How does the following syntax look as an example of what we want? It is not
quite ISO, as we replaced the "," with a "." IIRC. Having a comma in the
datestamp is extra work with comma-separated files, etc.
We intend to add this functionality to v1 and v2 I presume?
Is a toolkit still required for v2? If so, I've no idea how to do that and
don't have time to learn.
[Bug 707] OCL reporting unable to provide date and time of sampl
http://bugs.orocos.org/show_bug.cgi?id=707
S Roderick <kiwi [dot] net [..] ...> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #507 is|0 |1
obsolete| |
Attachment #508 is|0 |1
obsolete| |
Attachment #509 is|0 |1
obsolete| |
--- Comment #9 from S Roderick <kiwi [dot] net [..] ...> 2011-05-13 16:07:24 CEST ---
Created attachment 690
--> http://bugs.orocos.org/attachment.cgi?id=690
Patch v2 RTT::Logger to display as datestamp instead of seconds
Currently hardcoded to datestamp format.
- do we provide an option to switch between seconds and datestamp format (IMHO,
yes)?
- if so, is this a compile- or run-time option?
Produces output like the following.