Browse Source

updated command instructions.

noetic
Alan G. Sanchez 2 years ago
parent
commit
5f3150eb97
12 changed files with 20 additions and 20 deletions
  1. +2
    -2
      example_1.md
  2. +4
    -4
      example_10.md
  3. +1
    -1
      example_11.md
  4. +1
    -1
      example_2.md
  5. +1
    -1
      example_3.md
  6. +1
    -1
      example_4.md
  7. +1
    -1
      example_5.md
  8. +2
    -2
      example_6.md
  9. +2
    -2
      example_7.md
  10. +1
    -1
      example_8.md
  11. +1
    -1
      example_9.md
  12. +3
    -3
      follow_joint_trajectory.md

+ 2
- 2
example_1.md View File

@ -18,7 +18,7 @@ Switch the mode to *navigation* mode using a rosservice call. Then drive the rob
# Terminal 2 # Terminal 2
rosservice call /switch_to_navigation_mode rosservice call /switch_to_navigation_mode
cd catkin_ws/src/stretch_tutorials/src/ cd catkin_ws/src/stretch_tutorials/src/
python move.py
python3 move.py
``` ```
To stop the node from sending twist messages, type **Ctrl** + **c**. To stop the node from sending twist messages, type **Ctrl** + **c**.
@ -152,7 +152,7 @@ After saving the edited node, bringup [Stretch in the empty world simulation](ga
```bash ```bash
cd catkin_ws/src/stretch_tutorials/src/ cd catkin_ws/src/stretch_tutorials/src/
python move.py
python3 move.py
``` ```
To stop the node from sending twist messages, type **Ctrl** + **c**. To stop the node from sending twist messages, type **Ctrl** + **c**.

+ 4
- 4
example_10.md View File

@ -24,7 +24,7 @@ Then run the tf2 broadcaster node to visualize three static frames.
```bash ```bash
# Terminal 3 # Terminal 3
cd catkin_ws/src/stretch_tutorials/src/ cd catkin_ws/src/stretch_tutorials/src/
python tf2_broadcaster.py
python3 tf2_broadcaster.py
``` ```
The gif below visualizes what happens when running the previous node. The gif below visualizes what happens when running the previous node.
@ -37,7 +37,7 @@ The gif below visualizes what happens when running the previous node.
```bash ```bash
# Terminal 4 # Terminal 4
cd catkin_ws/src/stretch_tutorials/src/ cd catkin_ws/src/stretch_tutorials/src/
python stow_command.py
python3 stow_command.py
``` ```
@ -214,7 +214,7 @@ Then run the tf2 broadcaster node to create the three static frames.
```bash ```bash
# Terminal 2 # Terminal 2
cd catkin_ws/src/stretch_tutorials/src/ cd catkin_ws/src/stretch_tutorials/src/
python tf2_broadcaster.py
python3 tf2_broadcaster.py
``` ```
Finally, run the tf2 listener node to print the transform between two links. Finally, run the tf2 listener node to print the transform between two links.
@ -222,7 +222,7 @@ Finally, run the tf2 listener node to print the transform between two links.
```bash ```bash
# Terminal 3 # Terminal 3
cd catkin_ws/src/stretch_tutorials/src/ cd catkin_ws/src/stretch_tutorials/src/
python tf2_listener.py
python3 tf2_listener.py
``` ```
Within the terminal the transform will be printed every 1 second. Below is an example of what will be printed in the terminal. There is also an image for reference of the two frames. Within the terminal the transform will be printed every 1 second. Below is an example of what will be printed in the terminal. There is also an image for reference of the two frames.

+ 1
- 1
example_11.md View File

@ -22,7 +22,7 @@ Then run the `PointCloud` transformer node.
```bash ```bash
# Terminal 3 # Terminal 3
cd catkin_ws/src/stretch_tutorials/src/ cd catkin_ws/src/stretch_tutorials/src/
python pointcloud_transformer.py
python3 pointcloud_transformer.py
``` ```
Within this tutorial package, there is an RViz config file with the `PointCloud` in the Display tree. You can visualize this topic and the robot model by running the command below in a new terminal. Within this tutorial package, there is an RViz config file with the `PointCloud` in the Display tree. You can visualize this topic and the robot model by running the command below in a new terminal.

+ 1
- 1
example_2.md View File

@ -55,7 +55,7 @@ To filter the lidar scans for ranges that are directly in front of Stretch (widt
```bash ```bash
# Terminal 3 # Terminal 3
cd catkin_ws/src/stretch_tutorials/src/ cd catkin_ws/src/stretch_tutorials/src/
python scan_filter.py
python3 scan_filter.py
``` ```
Then run the following command to bring up a simple RViz configuration of the Stretch robot. Then run the following command to bring up a simple RViz configuration of the Stretch robot.

+ 1
- 1
example_3.md View File

@ -20,7 +20,7 @@ To set *navigation* mode and to activate the avoider node, type the following in
# Terminal 3 # Terminal 3
rosservice call /switch_to_navigation_mode rosservice call /switch_to_navigation_mode
cd catkin_ws/src/stretch_tutorials/src/ cd catkin_ws/src/stretch_tutorials/src/
python avoider.py
python3 avoider.py
``` ```
To stop the node from sending twist messages, type **Ctrl** + **c** in the terminal running the avoider node. To stop the node from sending twist messages, type **Ctrl** + **c** in the terminal running the avoider node.

+ 1
- 1
example_4.md View File

@ -16,7 +16,7 @@ the `rviz` flag will open an RViz window to visualize a variety of ROS topics.
```bash ```bash
# Terminal 2 # Terminal 2
cd catkin_ws/src/stretch_tutorials/src/ cd catkin_ws/src/stretch_tutorials/src/
python marker.py
python3 marker.py
``` ```
The gif below demonstrates how to add a new *Marker* display type, and change the topic name from `visualization_marker` to `balloon`. A red sphere Marker should appear above the Stretch robot. The gif below demonstrates how to add a new *Marker* display type, and change the topic name from `visualization_marker` to `balloon`. A red sphere Marker should appear above the Stretch robot.

+ 1
- 1
example_5.md View File

@ -15,7 +15,7 @@ You can then hit the run-stop button (you should hear a beep and the LED light i
```bash ```bash
cd catkin_ws/src/stretch_tutorials/src/ cd catkin_ws/src/stretch_tutorials/src/
python joint_state_printer.py
python3 joint_state_printer.py
``` ```
Your terminal will output the `position` information of the previously mentioned joints shown below. Your terminal will output the `position` information of the previously mentioned joints shown below.
``` ```

+ 2
- 2
example_6.md View File

@ -20,7 +20,7 @@ Switch the mode to *position* mode using a rosservice call. Then run the single
# Terminal 2 # Terminal 2
rosservice call /switch_to_position_mode rosservice call /switch_to_position_mode
cd catkin_ws/src/stretch_tutorials/src/ cd catkin_ws/src/stretch_tutorials/src/
python effort_sensing.py
python3 effort_sensing.py
``` ```
This will send a `FollowJointTrajectory` command to move Stretch's arm or head while also printing the effort of the lift. This will send a `FollowJointTrajectory` command to move Stretch's arm or head while also printing the effort of the lift.
@ -302,7 +302,7 @@ Once you have changed the file name, then run the following in a new command.
```bash ```bash
cd catkin_ws/src/stretch_tutorials/src/ cd catkin_ws/src/stretch_tutorials/src/
python stored_data_plotter.py
python3 stored_data_plotter.py
``` ```

+ 2
- 2
example_7.md View File

@ -64,7 +64,7 @@ In this section, you can use a Python node to capture an image from the RealSens
```bash ```bash
# Terminal 4 # Terminal 4
cd ~/catkin_ws/src/stretch_tutorials/src cd ~/catkin_ws/src/stretch_tutorials/src
python capture_image.py
python3 capture_image.py
``` ```
An image named **camera_image.jpeg** is saved in the **stored_data** folder in this package. An image named **camera_image.jpeg** is saved in the **stored_data** folder in this package.
@ -214,7 +214,7 @@ In this section, we highlight a node that utilizes the [Canny Edge filter](https
```bash ```bash
# Terminal 4 # Terminal 4
cd ~/catkin_ws/src/stretch_tutorials/src cd ~/catkin_ws/src/stretch_tutorials/src
python edge_detection.py
python3 edge_detection.py
``` ```
The node will publish a new Image topic named */image_edge_detection*. This can be visualized in RViz and a gif is provided below for reference. The node will publish a new Image topic named */image_edge_detection*. This can be visualized in RViz and a gif is provided below for reference.

+ 1
- 1
example_8.md View File

@ -20,7 +20,7 @@ Then run the speech_text node.
```bash ```bash
# Terminal 2 # Terminal 2
cd catkin_ws/src/stretch_tutorials/src/ cd catkin_ws/src/stretch_tutorials/src/
python speech_text.py
python3 speech_text.py
``` ```
The ReSpeaker will be listening and will start to interpret speech and save the transcript to a text file. To stop shutdown the node, type **Ctrl** + **c** in the terminal. The ReSpeaker will be listening and will start to interpret speech and save the transcript to a text file. To stop shutdown the node, type **Ctrl** + **c** in the terminal.

+ 1
- 1
example_9.md View File

@ -22,7 +22,7 @@ Then run the voice teleoperation base node in a new terminal.
```bash ```bash
# Terminal 3 # Terminal 3
cd catkin_ws/src/stretch_tutorials/src/ cd catkin_ws/src/stretch_tutorials/src/
python voice_teleoperation_base.py
python3 voice_teleoperation_base.py
``` ```
In terminal 3, a menu of voice commands is printed. You can reference this menu layout below. In terminal 3, a menu of voice commands is printed. You can reference this menu layout below.

+ 3
- 3
follow_joint_trajectory.md View File

@ -22,7 +22,7 @@ Switch the mode to *position* mode using a rosservice call. Then run the stow co
# Terminal 2 # Terminal 2
rosservice call /switch_to_position_mode rosservice call /switch_to_position_mode
cd catkin_ws/src/stretch_tutorials/src/ cd catkin_ws/src/stretch_tutorials/src/
python stow_command.py
python3 stow_command.py
``` ```
@ -174,7 +174,7 @@ Switch the mode to *position* mode using a rosservice call. Then run the multipo
# Terminal 2 # Terminal 2
rosservice call /switch_to_position_mode rosservice call /switch_to_position_mode
cd catkin_ws/src/stretch_tutorials/src/ cd catkin_ws/src/stretch_tutorials/src/
python multipoint_command.py
python3 multipoint_command.py
``` ```
This will send a list of `JointTrajectoryPoint` message types to move Stretch's arm. This will send a list of `JointTrajectoryPoint` message types to move Stretch's arm.
@ -324,7 +324,7 @@ Switch the mode to *position* mode using a rosservice call. Then run the single
# Terminal 2 # Terminal 2
rosservice call /switch_to_position_mode rosservice call /switch_to_position_mode
cd catkin_ws/src/stretch_tutorials/src/ cd catkin_ws/src/stretch_tutorials/src/
python single_joint_actuator.py
python3 single_joint_actuator.py
``` ```
This will send a list of `JointTrajectoryPoint` message types to move Stretch's arm. This will send a list of `JointTrajectoryPoint` message types to move Stretch's arm.

Loading…
Cancel
Save