|
Thunderbots Project
|
#include <chicker.h>
Public Member Functions | |
| Chicker () | |
Static Public Member Functions | |
| static void | kick (uint32_t kick_pulse_width) |
| static void | chip (uint32_t chip_pulse_width) |
| static void | autokick (uint32_t kick_pulse_width) |
| static void | autochip (uint32_t chip_pulse_width) |
| static bool | getBreakBeamTripped () |
Represents the chicker on the power board
|
static |
Attaches an interrupt on the BREAK_BEAM_PIN to kick/chip. kick/chip will only be triggered once
|
static |
Get the current status of whether the break beam was tripped or not This is reset before every kick/chip
|
static |
Sets the action of the chicker. Arguments can not be passed to isr's so these need to be set before calling kick/chip