Skip to content

Commit fe0b2d1

Browse files
committed
add README files to help users create models
1 parent 9cc8a60 commit fe0b2d1

File tree

2 files changed

+34
-6
lines changed

2 files changed

+34
-6
lines changed

roboticstoolbox/models/DH/README.md

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
1-
# Creating a new robot model using Denavit-Hartenberg parameters
1+
# Denavit-Hartenberg models
2+
3+
## Shipped robot models
4+
5+
| Model name | Description |
6+
| --- | --- |
7+
| Ball | an n-link robot that folds into a ball shape |
8+
| Cobra600 | 4-axis Adept (now OMRON) SCARA robot |
9+
| IRB140 | 6-axis ABB robot |
10+
| KR5 | 6-axis Kuka robot |
11+
| Panda | 7-axis Franka-Emika robot |
12+
| Puma | 6-axis Unimation robot (with dynamics data) |
13+
| Stanford | 6-axis Stanford resarch robot, 1 prismatic joint (with dynamics data) |
14+
| Threelink | ?? |
15+
16+
## Creating a new robot model using Denavit-Hartenberg parameters
217

318
To begin, you must know:
419

@@ -7,7 +22,7 @@ To begin, you must know:
722
3. The joint structure, does it have revolute, prismatic joints or both.
823

924

10-
## Write the definition
25+
### Write the definition
1126

1227
Create a file called `MYROBOT.py` where `MYROBOT` is a descriptive name of your
1328
robot that is a valid filename and Python class name.
@@ -132,7 +147,7 @@ Toolbox models have a configuration called `qz` which is the set of zero
132147
joint angles.
133148

134149

135-
## Adding your model to the Toolbox
150+
### Adding your model to the Toolbox
136151

137152
Edit the file `__init__.py` in this folder. Add a line like:
138153

@@ -142,7 +157,7 @@ from roboticstoolbox.models.DH.Stanford import MYROBOT
142157

143158
and then add `'MYROBOT'` to the list that defines `__all__`.
144159

145-
## Testing
160+
### Testing
146161

147162
Now to test your class
148163

@@ -152,11 +167,15 @@ Now to test your class
152167
print(myrobot.MYCONFIG) # check that the joint configuration works
153168
```
154169

155-
## Next steps
170+
### Next steps
156171

157172
You can now use the power of the Toolbox to compute forward and inverse
158173
kinematics, display a graphical model, and interactively teach the robot.
159174
If you defined dynamic parameters then you can compute forward and inverse
160175
rigid-body dyamics and simulate the response of the robot to applied torques.
161176

162-
Good luck and enjoy!
177+
Good luck and enjoy!
178+
179+
### Contribute your model
180+
181+
If you think your model might be interesting to others consider submitting a pull request.

roboticstoolbox/models/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
There are three types of model supported by the Toolbox, and all are subclasses of the abstract `Robot` superclass.
2+
3+
* [Denavit-Hartenberg (DH) models](roboticstoolbox/models/DH). These are defined using standard or modified DH parameters, with optional 3D meshes for visualisation and optional dynamic parameters.
4+
* [ETS models](roboticstoolbox/models/ETS). There are defined using a sequence of elementary transformations (rotation and translations), and is a quick and intuitive way to describe a robot, see [this article](https://petercorke.com/robotics/a-simple-and-systematic-approach-to-assigning-denavit-hartenberg-parameters/).
5+
* [URDF models](roboticstoolbox/models/URDF). These models are defined by a Unified Robot Description Format file, an XML format file. Models exist for the classic Puma560 robot as well as the Franka-Emika Panda, the Universal robotics range and all the Interbotix hobby-class robots.
6+
7+
In each folder you will find a README describing how to create your own model.
8+
9+
If you think your model might be interesting to others consider submitting a pull request.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy