RaidZeroLib
Coroutine robot framework for VEX V5
Loading...
Searching...
No Matches
Hardware

Motors, sensors, devices and the controller: the interfaces, their V5 implementations and simulated ones for tests. More...

Classes

class  rz::Controller
 A V5 controller (the handheld joystick). More...
class  rz::Device
 Base for anything plugged into a V5 smart port. The only layer that talks to hardware. More...
struct  rz::GearRatio
 A gear reduction, from the tooth counts as you would read them off the robot. More...
class  rz::Motor
 Something that turns a voltage into motion: a V5 motor, a motor group, a simulated motor, a power-takeoff port, or a test mock. More...
class  rz::MotorGroup
 Several motors driving one mechanism, used as a single Motor. More...
class  rz::Sensor< T >
 A reading from hardware, or computed from other sensors. More...
class  rz::SensorView< T >
 One consumer's zero on a shared sensor. Resetting it affects nobody else. More...
class  rz::InertialSensor
 V5 Inertial Sensor, read as a heading, counterclockwise positive seen from above (ENU). More...
class  rz::MotorDevice
 V5 Smart Motor. Its built-in encoder is exposed as sensors on the same snapshot. More...
class  rz::ProsController
 The master or partner V5 controller, read through PROS. More...
class  rz::RotationSensor
 V5 Rotation Sensor. Reads continuous (multi-turn) angle. More...
class  rz::SimulationController
 A controller whose sticks and buttons are set by a test or simulation. Read like a real one, each tick. More...
class  rz::SimulationMotor
 A first-order motor model: speed approaches (voltage / 12 V) × free speed with a time constant. More...
class  rz::SimulationSensor< T >
 A sensor whose reading and connection are set directly, for tests. More...

Enumerations

enum class  rz::Direction { rz::Direction::Clockwise , rz::Direction::Counterclockwise }
 A way a shaft can turn, seen looking at the face the shaft comes out of. More...

Detailed Description

Motors, sensors, devices and the controller: the interfaces, their V5 implementations and simulated ones for tests.

Enumeration Type Documentation

◆ Direction

enum class rz::Direction
strong

A way a shaft can turn, seen looking at the face the shaft comes out of.

Enumerator
Clockwise 
Counterclockwise