Skip to content

Commit

Permalink
Merge pull request #9 from pollen-robotics/2-modif-SDK
Browse files Browse the repository at this point in the history
2 modif sdk
  • Loading branch information
ClaireHzl authored Jan 23, 2025
2 parents 5e0b003 + 4dcf85e commit 41125c5
Show file tree
Hide file tree
Showing 42 changed files with 1,177 additions and 651 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
public/
Binary file added assets/images/sdk/first-moves/firewall.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/sdk/first-moves/pykernel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/sdk/first-moves/python_env.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/sdk/first-moves/reachy_env.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/sdk/first-moves/reachy_methods.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions content/developing-with-reachy-2/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,11 @@ draft: false
images: []
type: docs
---

In this section, you will learn how to :

- ["install the reachy2_sdk library"]({{< ref "developing-with-reachy-2/getting-started-sdk/installation" >}})
- ["connect to your robot"]({{< ref "developing-with-reachy-2/getting-started-sdk/connect-reachy2" >}})
- ["use a simulated robot"]({{< ref "developing-with-reachy-2/simulation/" >}})
- ["use basic sdk functions"]({{< ref "developing-with-reachy-2/basics/" >}})
- ["build complex behaviors"]({{< ref "developing-with-reachy-2/advanced-tutos/" >}})
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
title: "Reachy's Awakening"
description: ""
lead: "Your first tracking with head using arm kinematics"
date: 2023-07-26T08:05:23+02:00
lastmod: 2023-07-26T08:05:23+02:00
draft: false
images: []
type: docs
menu:
developing-with-reachy-2:
parent: "Advanced tutorials"
weight: 300
toc: true
---
<br>

## Introduction


Now, you’ve learned the **basics behaviours** available with reachy2_sdk. But how to use them to **build your own program** may still seem a little abstract.

That's why we've created a series of **practical tutorials** to guide you step-by-step through the process of thinking about and building different programs that will help you understand the mechanics involved in creating **your own behaviour**!

For the moment, there are **three tutorials** available, ranging from the simplest to the most complex, to help you get to grips with different Reachy functions.

The first two use only the **SDK Client**, and the last one adds object detection with AI model from **pollen-vision.**

You will find the GitHub repository just [there](https://github.com/pollen-robotics/reachy2-tutorials), and to make the third tutorial with pollen-vision, you need to install the library on your virtual environment :

```python
pip install --user --no-warn-script-location "pollen-vision[vision] @ git+https://github.com/pollen-robotics/pollen-vision.git@develop"
pip install depthai
```

Now that you're all set up, have fun !

## Reachy's Awakening

In [this tutorial](https://github.com/pollen-robotics/reachy2-tutorials/blob/main/1_Reachy_awakening.ipynb), we will make Reachy do the awake sequence, which is a series of movements that makes it look like it is waking up. It involves moving its head and arms and can be used as a starting point for more complex sequences.

What you will learn:

- How to make it move its **head**
- How to make it move its **arms**
- How to **synchronize** head and arms movements

<img src="/gifs/tutorials/gif_awake.gif" alt="Gif awake" style="display: block; margin: 0 auto;" width="400">
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
title: "Reachy the Mime"
description: ""
lead: "Synchronize head, arm and mobile base movements"
date: 2023-07-26T08:05:23+02:00
lastmod: 2023-07-26T08:05:23+02:00
draft: false
images: []
type: docs
menu:
developing-with-reachy-2:
parent: "Advanced tutorials"
weight: 310
toc: true
---

In [this tutorial](https://github.com/pollen-robotics/reachy2-tutorials/blob/main/2_Reachy_the_mime.ipynb), we will transform Reachy into a mime who pulls an invisible rope.



What you will learn :

- How to use the **mobile base**,
- How to **synchronize** arms and mobile base movements,
- How and when to use **blocking** gotos,
- How to follow a particular **trajectory** with the end effector.


<img src="/gifs/tutorials/gif_rope.gif" alt="Gif mime" style="display: block; margin: 0 auto;" width="400">
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
title: "Reachy the Greengrocer"
description: ""
lead: "Use pollen_vision to plug an vision model with the SDK for fruit detection and manipulation"
date: 2023-07-26T08:05:23+02:00
lastmod: 2023-07-26T08:05:23+02:00
draft: false
images: []
type: docs
menu:
developing-with-reachy-2:
parent: "Advanced tutorials"
weight: 320
toc: true
---

<br>


In this [tutorial](https://github.com/pollen-robotics/reachy2-tutorials/blob/main/3_Reachy_the_greengrocer.ipynb), we will ask Reachy to sort fruits on a table and to drop them in user-defined places, according to which fruit it is.

What you will learn :

- How to do object detection
- How to switch from the image frame to the robot frame
- How to make Reachy move according to what it sees


<img src="/gifs/tutorials/gif_oranges.gif" alt="Gif greengrocer" style="display: block; margin: 0 auto;" width="400">
20 changes: 20 additions & 0 deletions content/developing-with-reachy-2/advanced-tutos/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,23 @@ menu:
developing-with-reachy-2:
weight: 30
---



Now, you’ve learned the **basics behaviours** available with reachy2_sdk. But how to use them to **build your own program** may still seem a little abstract.

That's why we've created a series of **practical tutorials** to guide you step-by-step through the process of thinking about and building different programs that will help you understand the mechanics involved in creating **your own behaviour**!

For the moment, there are **three tutorials** available, ranging from the simplest to the most complex, to help you get to grips with different Reachy functions.

The first two use only the **SDK Client**, and the last one adds object detection with AI model from **pollen-vision.**

You will find the GitHub repository just [there](https://github.com/pollen-robotics/reachy2-tutorials), and to make the third tutorial with pollen-vision, you need to install the library on your virtual environment :

```python
pip install --user --no-warn-script-location "pollen-vision[vision] @ git+https://github.com/pollen-robotics/pollen-vision.git@develop"
pip install depthai
```

Now that you're all set up, have fun !

This file was deleted.

This file was deleted.

17 changes: 0 additions & 17 deletions content/developing-with-reachy-2/advanced-tutos/reachy-the-mime.md

This file was deleted.

Loading

0 comments on commit 41125c5

Please sign in to comment.