RaidZeroLib
Coroutine robot framework for VEX V5
Loading...
Searching...
No Matches
rz::RobotConfig Struct Reference

Everything that makes up a robot program. More...

#include <Robot.hpp>

Public Attributes

std::function< Task<>()> autonomous = {}
std::function< Task<>()> driver = {}
std::function< Task<>()> disabled = {}
Duration watchdogTimeout = au::milli(au::seconds)(100.0)
 How long without a tick before rz::start's watchdog ends the program. Zero disables it.

Detailed Description

Everything that makes up a robot program.

Member Data Documentation

◆ autonomous

std::function<Task<>()> rz::RobotConfig::autonomous = {}

◆ disabled

std::function<Task<>()> rz::RobotConfig::disabled = {}

◆ driver

std::function<Task<>()> rz::RobotConfig::driver = {}

◆ watchdogTimeout

Duration rz::RobotConfig::watchdogTimeout = au::milli(au::seconds)(100.0)

How long without a tick before rz::start's watchdog ends the program. Zero disables it.


The documentation for this struct was generated from the following file: