From ef1ae71be1ae739fb368a22bd8c8679202205ef0 Mon Sep 17 00:00:00 2001 From: Katherine Scott Date: Thu, 21 Nov 2024 15:59:03 -0800 Subject: [PATCH] Update source/Tutorials/Intermediate/RViz/RViz-Custom-Panel/RViz-Custom-Panel.rst Signed-off-by: Katherine Scott --- .../Intermediate/RViz/RViz-Custom-Panel/RViz-Custom-Panel.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/Tutorials/Intermediate/RViz/RViz-Custom-Panel/RViz-Custom-Panel.rst b/source/Tutorials/Intermediate/RViz/RViz-Custom-Panel/RViz-Custom-Panel.rst index 6bf266923c..fc0dce619b 100644 --- a/source/Tutorials/Intermediate/RViz/RViz-Custom-Panel/RViz-Custom-Panel.rst +++ b/source/Tutorials/Intermediate/RViz/RViz-Custom-Panel/RViz-Custom-Panel.rst @@ -278,6 +278,8 @@ Update ``demo_panel.cpp`` to have the following contents: // When the subscriber gets a message, this callback is triggered, // and then we copy its data into the widget's label + // When our node interface gets a message on its input topic this callback + // gets called and we copy the message text to our button label. void DemoPanel::topicCallback(const std_msgs::msg::String & msg) { label_->setText(QString(msg.data.c_str()));