Dryve D1 script created by 2 undergraduate robotic students of Aalborg University
Project description
Create Dryve Rail
The following library is to be used for translation along the x-axis of a track controlled by the Dryve D1.
Movement of the platform along the x-axis can be done with the:
targetPosition(<point>)
The point is set in reference to the home position set at the negative end-switch. As the end-switch's home position is then set to x = 0 at the designated home position, any input into the function is considered as relative to the universal frame set at this position. The home position will begin to be set with:
dryveInit()
To manually set this position for any reason, simply run:
homing()
To get current position of the Dryve rail, simply use:
getposition(<position (mm)>)
As indicated, the function returns position of the rail at execution in millimetres.
To set velocity profile, simply run:
velocityProfile(<velocity (mm/s)>)
Likewise, the target velocity can be set with:
targetVelocity(<velocity (mm/s)>)
The difference between velocity profile and target velocity is that targetvelocity() simply moves a set velocity until a new command is set, while velocityProfile() simply modifies the velocity setting in point to point movement.
If createdryverail contributes to a project that leads to publication, please acknowledge this by citing createdryverrail.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file createdryverail-2.5.7.tar.gz.
File metadata
- Download URL: createdryverail-2.5.7.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99992c6c9ed306d10fdd6bd12ca359634b4088a668ec300e020594be3d66b171
|
|
| MD5 |
e1ec99202b4742dbc06c601d0f27b8e4
|
|
| BLAKE2b-256 |
bd2027a832206795ddb3763f7999e2fc7e0b7f04f6392af2dc2b721f3e3a99e7
|
File details
Details for the file createdryverail-2.5.7-py3-none-any.whl.
File metadata
- Download URL: createdryverail-2.5.7-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20619fee54a1ac17ddfe34e1a0c688b1d49881d3246a226d20ee4119837ebab5
|
|
| MD5 |
98e09348e5ffbee425a1b62778f76077
|
|
| BLAKE2b-256 |
441939b85e82b57f365e306b5dff6ee7683ebecc49dba25c88e8b161ec27808d
|