| ||||||
Firgelli Linear Actuator driver. More...
Go to the source code of this file.
Defines | |
| #define | STALL_TIME_SLOW 1200 |
| #define | STALL_TIME_FAST 800 |
Functions | |
| task | _FLACcontrolTaskA () |
| task | _FLACcontrolTaskB () |
| task | _FLACcontrolTaskC () |
| void | _FLACcontrolTasks (tMotor _motor, int _highPower, long _encTarget) |
| bool | isDone (tMotor _motor) |
| void | FLACstopLA (tMotor _motor) |
| void | FLACextendLA (tMotor _motor, int _highPower) |
| void | FLACextendLA (tMotor _motor, int _highPower, int distance) |
| void | FLACtretractLA (tMotor _motor, int _highPower) |
| void | FLACtretractLA (tMotor _motor, int _highPower, int distance) |
| void | FLACmoveLA (tMotor _motor, int highpower, int pos) |
| void | FLACsetInverse (tMotor _motor) |
| bool | isStalled (tMotor _motor) |
| void | FLACretractLA (tMotor _motor, int _highPower) |
| void | FLACsetInverse (tMotor _motor, bool invert) |
Variables | |
| long | _encoderTarget [3] = {0, 0, 0} |
| long | _motorHighPower [3] = {0, 0, 0} |
| bool | _stalled [3] = {false, false, false} |
| bool | _inverted [3] = {false, false, false} |
Firgelli Linear Actuator driver.
firgelli-linearact.h provides an API for the Firgelli Linear Actuator.
Changelog:
TODO:
Credits:
License: You may use this code as you wish, provided you give credit where its due.
THIS CODE WILL ONLY WORK WITH ROBOTC VERSION 3.59 AND HIGHER.
Definition in file firgelli-linearact.h.
1.7.2