|
| encoder1 |
| first encoder object channel
|
|
| encoder2 |
| second encoder object channel
|
|
| encPeriod |
| period for encoder to update for
|
|
| lastTime |
| TimeStamp for last iteration of the task in microseconds.
|
|
| nextTime |
| timestamp for the next iteration of the task in microseconds More...
|
|
| state |
| initialize state
|
|
| thisTime |
| time when class first starts running in microseconds
|
|
|
int | S0_UPDATE = 0 |
| Initiliaze Program with State 0, updates encoder positions.
|
|
int | S1_COLLECT_DATA = 1 |
| State 1 starts collecting and storing data.
|
|
◆ __init__()
def task1.controllerTask.__init__ |
( |
|
self, |
|
|
|
encPeriod |
|
) |
| |
Class that runs the encoder driver.
runs the encoder driver and stores values in shares.py.
- Parameters
-
encPeriod | user defined period to update encoder positions |
◆ transitionTo()
def task1.controllerTask.transitionTo |
( |
|
self, |
|
|
|
newState |
|
) |
| |
transitions from current state to next
- Parameters
-
newState | The next desire state |
- Returns
- the new state to transition to
◆ nextTime
task1.controllerTask.nextTime |
timestamp for the next iteration of the task in microseconds
timestamp for the next iteration of the task
The documentation for this class was generated from the following file: