|
HoloLib
High-performance holonomic (X-Drive) control library for VEX V5
|
Functions | |
| void | move (std::function< void(void)> _motion, std::optional< uint32_t > _priority=std::nullopt) |
| run a motion algorithm | |
| bool | isMoving () |
| cancel the currently running motion, if it exists | |
| void | cancel () |
| cancel the currently running motion, if it exists | |
| void | waitUntilDone () |
| void hololib::motion_handler::move | ( | std::function< void(void)> | _motion, |
| std::optional< uint32_t > | _priority = std::nullopt |
||
| ) |
run a motion algorithm
| f | the motion function |
Example:
| bool hololib::motion_handler::isMoving | ( | ) |
cancel the currently running motion, if it exists
Example:
| void hololib::motion_handler::cancel | ( | ) |
cancel the currently running motion, if it exists
Example:
| void hololib::motion_handler::waitUntilDone | ( | ) |