You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Chintan Desai 995f8bd980
Merge branch 'master' into tutorial/nav2
1 year ago
..
images Add details to getting started tutorial 1 year ago
README.md Remove instances of RE2 1 year ago
align_to_aruco.md Remove typos 2 years ago
coming_soon.md fix broken links 2 years ago
deep_perception.md Add links to tutorials with minor corrections 2 years ago
example_1.md Remove redundant next tutorial links 2 years ago
example_2.md Burn down TODOs 2 years ago
example_3.md Remove redundant next tutorial links 2 years ago
example_4.md Burn down TODOs 2 years ago
example_10.md Merge branch 'features/mkdocs' of https://github.com/hello-robot/stretch_tutorials into features/mkdocs 2 years ago
follow_joint_trajectory.md Burn down TODOs 2 years ago
gazebo_basics.md Remove redundant next tutorial links 2 years ago
getting_started.md Add details to getting started tutorial 1 year ago
internal_state_of_stretch.md Remove redundant next tutorial links 2 years ago
moveit_basics.md Add MoveIt 2 tutorials 2 years ago
moveit_movegroup_demo.md Add MoveIt draw GIF 2 years ago
moveit_rviz_demo.md Add MoveIt 2 tutorials 2 years ago
navigation_simple_commander.md Add map path as launch argument 1 year ago
navigation_stack.md Save map in stretch_user dir and remove errors 1 year ago
obstacle_avoider.md Add links to tutorials with minor corrections 2 years ago
rviz_basics.md Update tutorial overview tables and tweak intros 1 year ago
teleoperating_stretch.md Update teleoperation, full robot teleop first 1 year ago

README.md

Tutorial Track: Stretch ROS 2 (Beta)

NOTE: Stretch's ROS2 packages and this ROS2 tutorial track are both under active development. They are considered 'beta', and we welcome any feedback. If you find any issues or bugs, please see the Stretch ROS2 and Stretch Tutorials issue trackers.

Robot Operating System 2 (ROS 2)

Despite the name, ROS is not an operating system. ROS is a middleware framework that is a collection of transport protocols, development and debugging tools, and open-source packages. As a transport protocol, ROS enables distributed communication via messages between nodes. As a development and debugging toolkit, ROS provides build systems that allows for writing applications in a wide variety of languages (Python and C++ are used in this tutorial track), a launch system to manage the execution of mutiple nodes simultaneously, and command line tools to interact with the running system. Finally, as a popular ecosystem, there are many open-source ROS packages that allow users to quickly prototype with new sensors, actuators, planners, perception stacks, and more.

This tutorial track is for users looking to get familiar with programming Stretch robots via ROS 2. We recommend going through the tutorials in the following order:

Basics

Tutorial Description
1 Getting Started Setup instructions for ROS 2 on Stretch
2 Follow Joint Trajectory Commands Control joints using joint trajectory server.
3 Internal State of Stretch Monitor the joint states of Stretch.
4 RViz Basics Visualize topics in Stretch.
5 MoveIt2 Basics Motion planning and control for the arm using MoveIt.
6 MoveIt2 with Rviz Motion planning and control for the arm using MoveIt.
7 MoveIt2 MoveGroup C++ API Motion planning and control for the arm using MoveIt.

Other Examples

To help get you get started on your software development, here are examples of nodes to have the stretch perform simple tasks.

Tutorial Description
1 Teleoperate Stretch with a Node Use a python script that sends velocity commands.
2 Filter Laser Scans Publish new scan ranges that are directly in front of Stretch.
3 Mobile Base Collision Avoidance Stop Stretch from running into a wall.
4 Give Stretch a Balloon Create a "balloon" marker that goes where ever Stretch goes.
5 Tf2 Broadcaster and Listener Create a tf2 broadcaster and listener.
6 Obstacle Avoider Avoid obstacles using the planar lidar.
7 Align to ArUco Detect ArUco fiducials using OpenCV and align to them.
8 Deep Perception Use YOLOv5 to detect 3D objects in a point cloud.