Robotics StackExchange | Archived questions

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

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 apppub stdmsgs/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

Asked by enigmashroom on 2017-06-16 02:42:07 UTC

Comments

Answers