Main Content
rosduration
Create a ROS duration object
Syntax
Description
returns a default
ROS duration object. The properties for seconds and nanoseconds are set to
0.dur
= rosduration
Note
In a future release, ROS Toolbox will use message structures instead of objects for ROS messages.
To use message structures now, set the "DataFormat"
name-value
argument to "struct"
. For more information, see ROS Message Structures.
uses message structures instead of objects with any of the arguments in previous
syntaxes. For more information, see ROS Message Structures.dur
= rosduration (___,"DataFormat","struct")