rostopic got stuck in publishing and latching message for 3.0 seconds"

asked 2017-06-16 02:42:07 -0500

enigmashroom gravatar image

Hi all,

I'm not sure whether this is a bug or not, but I'm seeing that occasionally if I do something like: I typed the below command into the terminal: rostopic pub -1 app_pub std_msgs/String -- '"{\"pub_name\": \"example\"}"'

Obviously I am trying to publish a message through app_pub topic. Most of time it works well showing with "publishing and latching message for 3.0 seconds". After 3 seconds, the terminal shows it is ready to type in new command line. Unfortunately it gets stuck in "publishing and latching message for 3.0 seconds" sometimes. It cannot be interrupted even using ctrl+C.

Any ideas will be helpful. Thanks

edit retag flag offensive close merge delete