Plays a sequence of servo commands using a servo group mask.
|
| | ServoSequencer (ServoDispatch &dispatch) |
| |
| void | playVariableSpeed (const ServoStep *sequence, uint16_t length, uint32_t servoGroupMask, uint16_t speedMinMS, uint16_t speedMaxMS, float startPos=0.0, float endPos=1.0, float(*onEasingMethod)(float)=NULL, float(*offEasingMethod)(float)=NULL) |
| |
| void | play (const ServoStep *sequence, uint16_t length, uint32_t servoGroupMask, uint16_t speedMS=0, float startPos=0.0, float endPos=1.0) |
| |
| void | stop () |
| |
| bool | isFinished () const |
| |
| virtual void | animate () override |
| | Subclasses must implement this function to run through a single frame of animation/activity. More...
|
| |
| ServoDispatch & | dispatch () |
| |
| | AnimatedEvent () |
| | Default Constructor. More...
|
| |
| void | setLoopDoneCallback (AnimatedLoopDone loopProc) |
| |