Skip to content

Commit 812847e

Browse files
authored
Merge pull request #120 from Open-STEM/GettingBasket
Getting basket
2 parents 5551ac2 + ef25279 commit 812847e

1 file changed

Lines changed: 13 additions & 12 deletions

File tree

course/manipulation/custom_functions.rst

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,28 @@ Picking up a Basket
22
===================
33

44
Now that we've covered how to move the XRP arm to specific angles, we can start to think about how to use the arm
5-
to pick up objects. In this section, we'll cover how to use the arm to pick up a basket used for your final project.
5+
to pick up objects. In this section, we'll cover how to use the arm to pick up a basket which is one of the challenges for your final project described in detail in the next module.
66

77
The Process
88
-----------
99

10-
Let's first think about what the process of picking up a basket would look like.
10+
Let's first think about what the process of picking up a basket would look like. Imagine the a small paper
11+
cup with a bail attached over the top to that you can hook with the servo arm. An example of a basket is
12+
shown in the video below.
1113

12-
First, we can assume that the robot is right in front of the basket. We can also assume that the basket is on the ground,
13-
and that the robot is able to move its arm to a position where it can reach the basket.
14+
An example of the steps required to aquire the basket are:
1415

15-
Then, we can back up until the robot is a safe distance away from the basket. We can then move the arm down until the arm is at the right height.
1616

17-
Finally, we can move the arm forward until the basket is in the robot's grasp and then raise the arm back up to gain control of the basket.
17+
#. Lower the arm to a height where it will be inside the bail.
18+
#. Back up the robot so that the arm goes inside the bail.
19+
#. Raise the arm to lift the bucket off the ground.
20+
#. Drive away carying the bucket.
1821

22+
Now the robot can drive away while carrying the basket.
1923

20-
.. admonition:: Try it out
24+
Try placing your robot in front of a basket and then writing a program to pick it up as shown in the
25+
following video.
2126

22-
Try placing your robot in front of a basket and then writing a program to pick up the basket.
23-
24-
25-
Here is a video of the robot picking up a basket:
2627

2728
.. image::
2829
RobotGrab.gif
@@ -33,4 +34,4 @@ Integrating Locating and Pickup
3334

3435
Now that we've covered how to pick up a basket, we can start to think about how to integrate this with code that we have previously written to locate a nearby object.
3536

36-
To do this, you will essentially re-use the code that you have written to how execute the pickup process when the robot is in front of the basket.
37+
To do this, you will re-use the code that you have written to how execute the pickup process when the robot is in front of the basket.

0 commit comments

Comments
 (0)