Robotics StackExchange | Archived questions

Elapsed time goes weird

Hello, I'm experiencing periodic Moved backwards in time errors from robot_state_publisher. I'm not using rosbag. I'm using my-own simple kinematic simulator where is a program to publish joint state with time stamp =rospy.Time.now(). Investigating this issue, I noticed that the ROS Elapsed Time displayed on RViz goes weird in every 60 sec, and I guess this is causing the Moved backwards in time errors.

Environment:

Reproducing the issue:

Phenomenon:

Video (please watch it in the highest quality or download it): https://drive.google.com/file/d/1eWoRtoD7INCWwR4B12JjrPLT1mJxwgrs/view?usp=sharing

Asked by akihiko on 2020-11-01 22:46:45 UTC

Comments

Is there anything besides roscore and rviz running when this happens? If so, please post your launch file(s) and any code you're using.

Asked by tryan on 2020-11-24 14:38:33 UTC

Answers