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?
add a comment
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 -0500
Seen: 231 times
Last updated: Nov 17 '21
How to display only selected topics in rqt topic monitor
MoveIt multiple planning pipelines
Unable to install keys for ROS Kinetic using Ubuntu 16.04
How do I remove a dependency of a package?
How do I add the robot footprint area to the map?
problem of openai using turtlebot3 in ROS Noetic