rqt_publisher genpy.Time[0]
How i can publish a msg with rqt_publisher with current time added to the stamp in a msg?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
How i can publish a msg with rqt_publisher with current time added to the stamp in a msg?
For values, one can use any valid python expression, including functions from math, time, and random modules (without module prefix). Thus, for time, one should use time()
in the secs field of the time stamp and time()*1e9 % 1e9
for the nsecs field. time()
returns the seconds since epoch as float.
Asked: 2016-02-18 08:50:40 -0500
Seen: 769 times
Last updated: Feb 18 '16
Why isn't rospy.Rate.sleep() terminating?
Why the output of some topic delays with IDEs?
Publish a Clock - time stuff in ROS
Time issue when publishing laser scan message
differences in simulation from gazebo and Matlab
Debugging with Robot_Localization
rqt_publisher "error evaluating as list" with uint8[4] message
ros::Time::now() always returns wall time [closed]