convert std_msgs/Time to float
I'm totally new to ROS Is it possible to convert std_msgs/Time to float by using python?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
I'm totally new to ROS Is it possible to convert std_msgs/Time to float by using python?
Just use the to_sec
method.
time_float = msg.header.stamp.to_sec()
ROS docs : http://wiki.ros.org/rospy/Overview/Ti...
Asked: 2021-11-17 11:43:52 -0600
Seen: 479 times
Last updated: Nov 17 '21
Best toolchain for recording kinect data and converting to pointcloud offline?
how to bind a callback to include a MessageEvent [closed]
Proper source of xncore for compiling svn opencv with openni support?
rosserial and std_msgs [solved]
ROS support for industrial robotic arms?
When should I use topics vs services vs actionlib actions (vs dynamic_reconfigure)?