Header Assignment
Libraries:
ROS Toolbox / ROS
Description
TheHeader Assignmentblock updates the values in the header field of a ROS message. When a ROS message contains a header field of typestd_msgs/Header
, you can use this block to update theframe_id
andstamp
values in its header field. During each sample hit, the block updates theframe_id
andstamp
fields in the header. The accuracy of the timestamp depends on the step size of the solver. Smaller step sizes result in more accurate timestamps.
Ports
Input
Output
Parameters
Extended Capabilities
版本历史
Introduced in R2021a