3 releases (breaking)

0.3.0 Jul 16, 2024
0.2.0 May 17, 2024
0.1.0 May 10, 2024

#109 in Robotics

Download history 160/week @ 2024-05-06 193/week @ 2024-05-13 60/week @ 2024-05-20 14/week @ 2024-05-27 13/week @ 2024-06-03 8/week @ 2024-06-10 10/week @ 2024-06-24 161/week @ 2024-07-15

171 downloads per month
Used in 4 crates

MIT license

345KB
7K SLoC

vexide-devices

Functionality for accessing hardware connected to the V5 brain.

This crate abstracts over the various V5 devices and provides a Peripherals API for accessing them.


lib.rs:

vexide-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.

Dependencies

~1.4–9.5MB
~87K SLoC