Duration
- class compas_fab.robots.Duration(secs, nsecs)[source]
Bases:
object
Duration consists of two integers: seconds and nanoseconds.
- Attributes:
secs (int) – Integer representing number of seconds.
nsecs (int) – Integer representing number of nanoseconds.
Methods
Construct a duration from its data representation.
Return the data dictionary that represents the duration, and from which it can be reconstructed.