startThread

open fun startThread()

Call to delegate the manual data updating of the IMU to a thread managed by Threads. Manual calls to run will be ignored as they will be dispatched by the thread. This mirrors behaviour found in a BunyipsSubsystem.

The thread will run at full speed as-is.


open fun startThread(loopSleepDuration: Measure<Time>)

Call to delegate the manual data updating of the IMU to a thread managed by Threads. Manual calls to run will be ignored as they will be dispatched by the thread. This mirrors behaviour found in a BunyipsSubsystem.

Parameters

loopSleepDuration

the duration to sleep this thread after every loop to save resources