Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 1516

rospy.Time.now() returns 0

$
0
0
#! /usr/bin/env python import rospy rospy.init_node('h') print(rospy.Time.now()) => 0 **Prints zero? Here is the context** 1. Kinetic 1. rosparam get /use_sim_time -> true $ rostopic info /clock Type: rosgraph_msgs/Clock Publishers: * /gazebo (http://10.0.0.95:36787/) Subscribers: * /rosout (http://10.0.0.95:45435/) * /gazebo (http://10.0.0.95:36787/) * /gazebo_gui (http://10.0.0.95:43597/)

Viewing all articles
Browse latest Browse all 1516

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>