diff --git a/pps_wiki/faq.md b/pps_wiki/faq.md index 3fa72033042c2f13878af69611076e378b411a5d..b9de7e5d32dc4ac5c55a6255e9305ea2aaf839d0 100644 --- a/pps_wiki/faq.md +++ b/pps_wiki/faq.md @@ -284,8 +284,8 @@ if (true) ``` This would work if it is in the ``main()`` function of a node, but if it is in another function then you may need to declare the subscriber as a class variable. -To observe any message published on a particular topic, after launching your node, open a separate command window and type the command: +To observe all messages published on a particular topic, after launching your node, open a separate command window and type the command: ``` rostopic echo /namespace/topicname ``` -where ``/namespace/topicname`` needs to be replace with the topic that you wish to echo. Any messages received by this topic will be directly printed out in the command window. \ No newline at end of file +where ``/namespace/topicname`` needs to be replaced with the topic that you wish to echo. All messages published to this topic will be directly printed out in the command window. \ No newline at end of file