Browse Source

Fixed typos.

pull/14/head
Mohamed Fazil 2 years ago
parent
commit
1d23035d61
4 changed files with 8 additions and 8 deletions
  1. +1
    -1
      example_2.md
  2. +5
    -5
      example_3.md
  3. +1
    -1
      src/multipoint_command.py
  4. +1
    -1
      src/stow_command.py

+ 1
- 1
example_2.md View File

@ -60,7 +60,7 @@ python3 scan_filter.py
Then run the following command to bring up a simple RViz configuration of the Stretch robot.
```bash
# Terminal 5
# Terminal 4
rosrun rviz rviz -d `rospack find stretch_core`/rviz/stretch_simple_test.rviz
```
Change the topic name from the LaserScan display from */scan* to */filter_scan*.

+ 5
- 5
example_3.md View File

@ -2,21 +2,21 @@
The aim of example 3 is to combine the two previous examples and have Stretch utilize its laser scan data to avoid collision with objects as it drives forward.
Begin by running `roscore` in a terminal. Then set the ros parameter to *manipulation* mode by running the following commands in a new terminal.
Begin by running `roscore` in a terminal. Then set the ros parameter to *navigation* mode by running the following commands in a new terminal.
```bash
# Terminal 1
rosparam set /stretch_driver/mode "manipulation"
# Terminal 2
rosparam set /stretch_driver/mode "navigation"
roslaunch stretch_core stretch_driver.launch
```
Then in a new terminal type the following to activate the LiDAR sensor.
```bash
# Terminal 2
# Terminal 3
roslaunch stretch_core rplidar.launch
```
To activate the avoider node, type the following in a new terminal.
```bash
# Terminal 3
# Terminal 4
cd catkin_ws/src/stretch_ros_tutorials/src/
python3 avoider.py
```

+ 1
- 1
src/multipoint_command.py View File

@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
# Every python controller needs these lines
import rospy

+ 1
- 1
src/stow_command.py View File

@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
# Every python controller needs these lines
import rospy

Loading…
Cancel
Save