HoloLib
High-performance holonomic (X-Drive) control library for VEX V5
Loading...
Searching...
No Matches
motion_handler.hpp File Reference
#include <cstdint>
#include <functional>
#include <optional>

Go to the source code of this file.

Namespaces

namespace  hololib
 
namespace  hololib::motion_handler
 

Functions

void hololib::motion_handler::move (std::function< void(void)> _motion, std::optional< uint32_t > _priority=std::nullopt)
 run a motion algorithm
 
bool hololib::motion_handler::isMoving ()
 cancel the currently running motion, if it exists
 
void hololib::motion_handler::cancel ()
 cancel the currently running motion, if it exists
 
void hololib::motion_handler::waitUntilDone ()