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
Hashes for createdryverail-2.5.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f041a324c0756b5227fbdbcc587e17fbcf0cacc1f884db66b6431dcd4c654845 |
|
MD5 | 4adada899ae1e5ba606efabc7c5deaf5 |
|
BLAKE2b-256 | 7be143e0158e71b53100e451b20b6a21ac05f9b2c564703c2aef267d5291a47e |