You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improvements to the ROS2 Navigation menu, examples, and overview pages. (#34)
* Renamed examples1-10 to files with their correct names. Added a placeholder for a Sensors tutorial, and funmap links to the README awaiting a plugin that embeds github links.
* Pointcloud manipulation was a Realsense Camera example, changed it back.
* Renamed gazebo_basics to stretch_simulation. Updated gamepad teleop link to use 0.3 in teleoperating_stretch.
* Updated links to example_#.md and the title of all the examples to match their content where they were wrong.
* README.md is now the overview/getting started page on the docs
* Fixed the include-markdown embed for stretch_simulation and funmap
* Added content to writing nodes
* Gamepad teleop uses stretch_driver instead of stretch_body
* Created a sub-menu for ROS2 Basics
* Added a Stretch Simulation tutorial
* Changed link to a relative one
* Merged perception tutorial into rviz_baiscs. Merged aruco_locator into aruco_marker_detection. Added back the Getting Started navigation
* Added a tutorial on ROS_DOMAIN_ID
Copy file name to clipboardExpand all lines: ros2/README.md
+42-33Lines changed: 42 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,16 @@
1
1

2
-
# Tutorial Track: Stretch ROS 2 (Beta)
2
+
# Tutorial Track: Stretch ROS 2
3
+
4
+
This tutorial series covers writing ROS 2 software for Stretch. ROS 2 programs can be written in a variety of programming languages, but this series uses Python. We'll write programs that enable Stretch to navigate autonomously in its environment, manipulate objects with Stretch's gripper, perceive its environment, and much more.
5
+
6
+
## Prerequisites
7
+
8
+
Ensure that:
9
+
10
+
1. Your Stretch has the latest robot distribution installed
11
+
- These tutorials were written for the latest robot distribution. Take a look at the [Distributions & Roadmap](../../software/distributions/) guide to identify your current distribution and upgrade if necessary.
12
+
2. You have gone through the [Getting Started Tutorials](../../getting_started/hello_robot/)
13
+
- If you've never developed with Stretch before or are new to programming, check out the [Developing with Stretch](../../developing/basics/) tutorial series. In particular, the [Using ROS 2 with Stretch](#TODO) tutorial from that series is a good resource for those new to ROS 2.
3
14
4
15
## Robot Operating System 2 (ROS 2)
5
16
@@ -16,44 +27,42 @@ This tutorial track is for users looking to get familiar with programming Stretc
Copy file name to clipboardExpand all lines: ros2/align_to_aruco.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,7 +102,7 @@ Stretch comes preconfigured to identify ArUco markers. The ROS node that enables
102
102
103
103
## Computing Transformations
104
104
105
-
If you have not already done so, now might be a good time to review the [tf listener](https://docs.hello-robot.com/latest/ros2/example_10/) tutorial. Go on, we can wait...
105
+
If you have not already done so, now might be a good time to review the [tf listener](https://docs.hello-robot.com/latest/ros2/tf2_transforms/) tutorial.
106
106
Now that we know how to program stretch to return the transform between known reference frames, we can use this knowledge to compute the transform between the detected marker and the robot's base_link. From its current pose, for Stretch to align itself in front of the marker, we need to command it to reach there. But even before that, we need to program Stretch to know the goal pose. We define the goal pose to be 0.75 meter outward from the marker in the marker negative y-axis (Green axis). This is easier to visualize through the figure below.
0 commit comments