ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

WARNING: no messages received and simulated time is active. Laser Scan Matcher

asked 2018-04-16 04:46:52 -0500

anonymous user


ROS Kinetic - Ubuntu 16.04

Looking this up, all the forum posts I can find are either about gazebo or don't really have an answer.

Laser Scan Matcher node takes an input and produces an output. The input isn't empty, I checked with $ rostopic echo /theinputtopic.

If I put <param name="/use_sim_time" value="true"/>in the node launch file, and I do $rostopic echo /outputtopic , I get:

WARNING: no messages received and simulated time is active. Is /clock being published?

If I put <param name="/use_sim_time" value="false"/> in the node launch file, and I do $rostopic echo /outputtopic , I get absolutely nothing, just an empty new line.

Putting --clock as argument also doesn't seem to have any effect.

What's causing this error?

edit retag flag offensive close merge delete


Have you solved this problem yet? If not, could you post the entire launch file, and maybe a screenshot of an rqt_graph of the system running with the bag playback?

robustify gravatar image robustify  ( 2018-04-28 01:06:32 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-04-28 07:40:35 -0500

anonymous user


The input topic was /tf_static which only gets sent out a single time, the very first millisecond. The trick is to run everything you need to do (example: $ rviz and $ rosrun somepackage somealgorithm and then run $ rosbag play bagfile.bag

This way, $ rostopic echo /tf_static isn't empty, and everything functions properly.

Basically, the topic was a bit annoying and had to be run last, otherwise everything else doesn't work.

edit flag offensive delete link more


Can"t understand what your answer has to do with the question

Kansai gravatar image Kansai  ( 2021-01-14 01:33:21 -0500 )edit

Question Tools

1 follower


Asked: 2018-04-16 04:46:52 -0500

Seen: 3,246 times

Last updated: Apr 28 '18