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: 303 times
Last updated: Nov 17 '21
Why ros2 std_msgs/Header removes `seq`?
Syntax Error when using dynamixel_motor
Gmapping a problem with gates on the map
Build robot without embedded board
How to Create Elevator in Gazebo with Control ROS Topics ?
Failed to initialize SBPL Planning Context
How to use pos_vel_controllers/JointTrajectoryController?
Implications of installing MotoPlus on controller for non-ROS users