VEX V5 Python API
Static Public Attributes | List of all members
vex.BrakeType Class Reference

A unit of brake mode. More...

Inherits vex.Enum.

Static Public Attributes

int COAST = 0
 A unit type that represents a type of a brake mode as coast. More...
 
int BRAKE = 1
 A unit type that represents a type of a brake mode as brake. More...
 
int HOLD = 2
 A unit type that represents a type of a brake mode as hold. More...
 
int UNDEFINED = 3
 A unit type that represents a type of a brake mode as undefined. More...
 

Detailed Description

A unit of brake mode.

Member Data Documentation

◆ COAST

int vex.BrakeType.COAST = 0
static

A unit type that represents a type of a brake mode as coast.

This will cause a motor to coast after turning it off.

◆ BRAKE

int vex.BrakeType.BRAKE = 1
static

A unit type that represents a type of a brake mode as brake.

This will cause a motor to brake after turning it off.

◆ HOLD

int vex.BrakeType.HOLD = 2
static

A unit type that represents a type of a brake mode as hold.

This will cause the motor to try to hold is position after turning off.

◆ UNDEFINED

int vex.BrakeType.UNDEFINED = 3
static

A unit type that represents a type of a brake mode as undefined.