.. _package-rst-timing:
====================
Package rst.timing
====================
*Not documented*
Messages
========
.. container:: mess4ge-multi
.. container:: mess4ge-graph
.. digraph:: message_graph
fontname="Arial";
fontsize=11;
stylesheet="../_static/corlab.css";
node [fontsize=11]
node [fontname="Arial"]
edge [fontsize=11]
edge [fontname="Arial"]
"6" [label=<
| Duration |
|
UINT64 | time |
>,shape=box,style=filled,fillcolor="white"];
"5" [label=< | Frequency |
|
FLOAT64 | hz |
>,shape=box,style=filled,fillcolor="white"];
"1" [label=< | Point2DTimeseries |
|
Point2DTimestampPair | entry |
>,shape=box,style=filled,fillcolor="white"];
"2" [label=< | Point2DTimestampPair |
|
Vec2DFloat | point |
Timestamp | timestamp |
>,shape=box,style=filled,fillcolor="white"];
"4" [label=< | Timestamp |
|
UINT64 | time |
>,shape=box,style=filled,fillcolor="white"];
"3" [label=< | Vec2DFloat |
|
FLOAT32 | x |
FLOAT32 | y |
>,shape=box,style=filled,fillcolor="white"];
"1":entry -> "2" [];
"2":timestamp -> "4" [];
"2":point -> "3" [];
.. container:: mess4ge-list
.. container:: messages
* :ref:`Point2DTimeseries `
* :ref:`Point2DTimestampPair `
* :ref:`Timestamp `
* :ref:`Frequency `
* :ref:`Duration `
.. container:: clearer
clearer: should be made invisible via css
.. _message-rst-timing-point2dtimeseries:
Message Point2DTimeseries
-------------------------
.. container:: message-rst-timing-point2dtimeseries-multi
.. container:: message-rst-timing-point2dtimeseries-documentation
.. py:class:: rst.timing.Point2DTimeseries
An ordered list of pairs each consisting of a timestamp and a 2D point.
.. codeauthor:: Agnes Swadzba
.. py:attribute:: entry
:type: array of :py:class:`rst.timing.Point2DTimestampPair`
**Constraint**: ``for i from 0 below (len(value) - 1) value[i].timestamp.time < value[i+1].timestamp.time end``
Entries are sorted in increasing order of the :py:attr:`timestamp ` field.
.. container:: message-rst-timing-point2dtimeseries-source
:download:`Download this file /home/jenkins/workspace/rst-manual-0.10-merge-simulator/rst-manual/../rst-proto/proto/sandbox/rst/timing/Point2DTimeseries.proto>`
.. literalinclude:: //home/jenkins/workspace/rst-manual-0.10-merge-simulator/rst-manual/../rst-proto/proto/sandbox/rst/timing/Point2DTimeseries.proto
:lines: 12-21
:language: protobuf
:emphasize-lines: 8-8
.. _message-rst-timing-point2dtimestamppair:
Message Point2DTimestampPair
----------------------------
.. container:: message-rst-timing-point2dtimestamppair-multi
.. container:: message-rst-timing-point2dtimestamppair-documentation
.. py:class:: rst.timing.Point2DTimestampPair
A pair assembled from a 2D Point and a timestamp.
.. codeauthor:: Agnes Swadzba
.. py:attribute:: point
:type: :py:class:`rst.math.Vec2DFloat`
*Not documented*
.. py:attribute:: timestamp
:type: :py:class:`rst.timing.Timestamp`
*Not documented*
.. container:: message-rst-timing-point2dtimestamppair-source
:download:`Download this file /home/jenkins/workspace/rst-manual-0.10-merge-simulator/rst-manual/../rst-proto/proto/sandbox/rst/timing/Point2DTimestampPair.proto>`
.. literalinclude:: //home/jenkins/workspace/rst-manual-0.10-merge-simulator/rst-manual/../rst-proto/proto/sandbox/rst/timing/Point2DTimestampPair.proto
:lines: 13-19
:language: protobuf
:emphasize-lines: 3-3,5-5
.. _message-rst-timing-timestamp:
Message Timestamp
-----------------
.. container:: message-rst-timing-timestamp-multi
.. container:: message-rst-timing-timestamp-documentation
.. py:class:: rst.timing.Timestamp
Holds a UNIX timestamp in microseconds.
Count starts at the Unix Epoch on January 1st, 1970 in UTC time.
.. codeauthor:: Agnes Swadzba
.. py:attribute:: time
:type: :py:class:`UINT64`
**Unit**: microsecond
Number of microseconds since January 1st, 1970 in UTC time.
.. container:: message-rst-timing-timestamp-source
:download:`Download this file /home/jenkins/workspace/rst-manual-0.10-merge-simulator/rst-manual/../rst-proto/proto/stable/rst/timing/Timestamp.proto>`
.. literalinclude:: //home/jenkins/workspace/rst-manual-0.10-merge-simulator/rst-manual/../rst-proto/proto/stable/rst/timing/Timestamp.proto
:lines: 12-20
:language: protobuf
:emphasize-lines: 7-7
.. _message-rst-timing-frequency:
Message Frequency
-----------------
.. container:: message-rst-timing-frequency-multi
.. container:: message-rst-timing-frequency-documentation
.. py:class:: rst.timing.Frequency
Holds a frequency.
.. codeauthor:: Arne Nordmann
.. py:attribute:: hz
:type: :py:class:`FLOAT64`
**Unit**: hertz
.. container:: message-rst-timing-frequency-source
:download:`Download this file /home/jenkins/workspace/rst-manual-0.10-merge-simulator/rst-manual/../rst-proto/proto/sandbox/rst/timing/Frequency.proto>`
.. literalinclude:: //home/jenkins/workspace/rst-manual-0.10-merge-simulator/rst-manual/../rst-proto/proto/sandbox/rst/timing/Frequency.proto
:lines: 10-15
:language: protobuf
:emphasize-lines: 4-4
.. _message-rst-timing-duration:
Message Duration
----------------
.. container:: message-rst-timing-duration-multi
.. container:: message-rst-timing-duration-documentation
.. py:class:: rst.timing.Duration
Holds a time duration in microseconds.
.. codeauthor:: Arne Nordmann
.. py:attribute:: time
:type: :py:class:`UINT64`
**Unit**: microsecond
.. container:: message-rst-timing-duration-source
:download:`Download this file /home/jenkins/workspace/rst-manual-0.10-merge-simulator/rst-manual/../rst-proto/proto/sandbox/rst/timing/Duration.proto>`
.. literalinclude:: //home/jenkins/workspace/rst-manual-0.10-merge-simulator/rst-manual/../rst-proto/proto/sandbox/rst/timing/Duration.proto
:lines: 10-15
:language: protobuf
:emphasize-lines: 4-4