From 3fd117339d3dee835998ceda5b2bd14ca6f9cbf9 Mon Sep 17 00:00:00 2001 From: hello-jesus <141784078+hello-jesus@users.noreply.github.com> Date: Tue, 8 Aug 2023 15:13:23 -0700 Subject: [PATCH] example_2.md Change the path of the RViz configuration and added a note. --- ros2/example_2.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ros2/example_2.md b/ros2/example_2.md index ed71c8f..9bd3e7f 100644 --- a/ros2/example_2.md +++ b/ros2/example_2.md @@ -59,9 +59,11 @@ ros2 run stretch_ros_tutorials scan_filter Then run the following command to bring up a simple RViz configuration of the Stretch robot. ```{.bash .shell-prompt} -ros2 run rviz2 rviz2 -d `ros2 pkg prefix stretch_calibration`/rviz/stretch_simple_test.rviz +ros2 run rviz2 rviz2 -d `ros2 pkg prefix stretch_calibration`/share/stretch_calibration/rviz/stretch_simple_test.rviz ``` - +!!! note + If the laser scan or the filter doesn't appear, you can add it manually in Add, By Topic and you can find the filter_scan there. + Change the topic name from the LaserScan display from */scan* to */filter_scan*.