From 86239927c7e025715d18b0a4df30ef928558f504 Mon Sep 17 00:00:00 2001 From: Paul Beuchat <beuchatp@control.ee.ethz.ch> Date: Mon, 23 Apr 2018 12:40:13 +0200 Subject: [PATCH] Fixed small typo in custom cutton connection FAQ wiki page --- pps_wiki/faq.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pps_wiki/faq.md b/pps_wiki/faq.md index 0ef7de79..77b57240 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. -- GitLab