file
misc.hppContents
- Reference
Contains prototypes for miscellaneous functions pertaining to the controller, battery, and competition control.
This file should not be modified by users, since it gets replaced whenever a kernel upgrade occurs.
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http:/
Namespaces
- namespace pros
- LLEMU Conditional Include
- namespace pros::v5
- namespace pros::battery
- namespace pros::competition
- namespace pros::usd
Classes
- class pros::v5::Controller
Functions
- double get_capacity(void)
- Gets the current voltage of the battery, as reported by VEXos.
- int32_t get_current(void)
- Gets the current current of the battery in milliamps, as reported by VEXos.
- double get_temperature(void)
- Gets the current temperature of the battery, as reported by VEXos.
- int32_t get_voltage(void)
- Gets the current capacity of the battery in millivolts, as reported by VEXos.
- std::uint8_t get_status(void)
- Get the current status of the competition control.
- std::uint8_t is_autonomous(void)
- std::uint8_t is_connected(void)
- std::uint8_t is_disabled(void)
- std::uint8_t is_field_control(void)
- std::uint8_t is_competition_switch(void)
- std::int32_t is_installed(void)
- Checks if the SD card is installed.
- std::int32_t list_files(const char* path, char* buffer, std::int32_t len)
- Lists the files in a directory specified by the path Puts the list of file names (NOT DIRECTORIES) into the buffer seperated by newlines.