Crate pros_devices
source ·Expand description
§pros-devices
Functionality for accessing hardware connected to the V5 brain.
§Overview
The V5 brain features 21 RJ9 4p4c connector ports (known as “Smart ports”) for communicating with newer V5 peripherals, as well as six 3-wire ports with log-to-digital conversion capability for compatibility with legacy Cortex devices. This module provides access to both smart devices and ADI devices.
§Organization
smart
contains abstractions and types for smart port connected devices.adi
contains abstractions for three wire ADI connected devices.battery
provides functions for getting information about the currently connected battery.controller
provides types for interacting with the V5 controller.
Re-exports§
pub use controller::Controller;
pub use position::Position;
pub use screen::Screen;
Modules§
- ADI (Triport) devices on the Vex V5.
- Utilites for getting information about the robot’s battery.
- Utilities for getting what state of the competition the robot is in.
- Read from the buttons and joysticks on the controller and write to the controller’s display.
- Peripherals implementations.
- Generic angular position type for motors and sensors.
- Brain screen display and touch functions.
- Smart Ports & Devices
- USD api.