Inheritance diagram for BlueSense::StepperDevice:

Public Member Functions | |
| StepperDevice (Master master, ushort deviceId) | |
| void | requestSetSpeed (char speed) |
| void | requestSetStepCount (char speed, short stepCount) |
| void | requestGetState () |
| short | getCurrentStepCount () |
| char | getPendingSpeed () |
| bool | getRequestSetSpeedDone () |
| char | getCurrentSpeed () |
| uint | getTimeOutUs () |
| void | requestSetConfiguration (ushort current, bool autostop, bool halfStep, bool waveDrive, bool fastDecay) |
| void | setTimeOutUs (uint timeOutUs) |
|
||||||||||||
|
Creates a 'software' stepper device proxy with a given id. The device will inacessible until a physical device with the same id is detected.
|
|
|
Returns the current set speed of a specific stepper.
|
|
|
Returns the current step count (updated after a requestGetState) (v2 module firmware only)
|
|
|
returns the set speed which is currently underway to the device Note that speed is a value between -128 and 127. -128 to -1 represent a speed left, 0 stand still and 1 to 127 a speed right, the actual physical speed depends on the specifications of the connected stepper. |
|
|
Checks if the speed set request is finished
|
|
|
Returns the current set time out delay. The time out delay is used to check if a request was acknowledged in the set time. If an answer to a request is not received within the set time, the request is resent.
|
|
|
Sends a request to retrieve the current speed and step count (v2 module firmware only) |
|
||||||||||||||||||||||||
|
Sends a request to change the configuration of the module
|
|
|
Requests the stepper device to set its steppermotor to a new speed
|
|
||||||||||||
|
Request the stepper device to advance position (v2 module firmare only)
|
|
|
Sets the time out value which is used to check if a request was acknowledged in the set time. If an answer to a request is not received within the set time, the request is resent.
|
1.4.4