diff --git a/pps_wiki/faq.md b/pps_wiki/faq.md index 0ef7de7948c78cac33b705917f3ca49b3ef0f20e..77b57240b859c6bd33b458ed5ac488c355df66d6 100644 --- a/pps_wiki/faq.md +++ b/pps_wiki/faq.md @@ -311,7 +311,7 @@ void customCommandReceivedCallback(const CustomButton& commandReceived); ``` -Add the following subscriber with the ``main`` function and before the ``ros::spin();`` command: +Add the following subscriber within the ``main`` function and before the ``ros::spin();`` command: ``` // Instantiate the local variable "customCommandSubscriber" to be a "ros::Subscriber" // type variable that subscribes to the "StudentCustomButton" topic and calls the class @@ -388,4 +388,4 @@ void customCommandReceivedCallback(const CustomButton& commandReceived) } ``` -To respond to each of the button, add your code with the respective switch cases. +To respond to each of the button, add your code within the respective switch cases.