diff --git a/pps_wiki/faq.md b/pps_wiki/faq.md index ea04cb904a1ee7ead34bb63c7bb3fe7672067d17..db63466c483dc18c6384ed8d87020feabb4069cf 100644 --- a/pps_wiki/faq.md +++ b/pps_wiki/faq.md @@ -263,6 +263,7 @@ Common pitfalls to watch out for are: - If there are two topics with a very similar name, then double check the spelling of the topic is identical in both the ``.advertise`` and ``.subscribe`` lines of code. - Even if the topic name is exactly matching, the name space may be different. - If you advertise or subscribe to a topic from with a block of code enclosed by curly braces, for example: + ``` ros::Subscriber my_subscriber; if (true)