Skip to content

autoChain()

CreateiveRobotics edited this page Mar 7, 2020 · 2 revisions
void autoChain(bool state)

bool autoChain()

Set or read back the auto chain enable bit. When set to true, Commander will automatically attempt to chain commands by reloading any unprocessed payload as a new command line.

A chain can be broken by calling the unchain() method at the end of a command handler.

If autoChain is disabled and the chain() method is called at the end of a command handler, Commander will reload any unprocessed payload as a new command line.

Clone this wiki locally