pros::battery namespace

Contents

Functions

double pros::battery::get_capacity(void)
Gets the current voltage of the battery, as reported by VEXos.
int32_t pros::battery::get_current(void)
Gets the current current of the battery in milliamps, as reported by VEXos.
double pros::battery::get_temperature(void)
Gets the current temperature of the battery, as reported by VEXos.
int32_t pros::battery::get_voltage(void)
Gets the current capacity of the battery in millivolts, as reported by VEXos.