REVLib - C++
rev Namespace Reference

Namespaces

namespace  detail
 

Classes

class  AnalogInput
 
class  CANAnalog
 
class  CANDigitalInput
 
class  CANEncoder
 
class  CANPIDController
 
class  CANSensor
 
class  CANSparkMax
 
class  CANSparkMaxLowLevel
 
class  CIEColor
 
class  ColorMatch
 
class  ColorSensorV3
 
class  MotorFeedbackSensor
 
class  RelativeEncoder
 
class  SparkMaxAlternateEncoder
 
class  SparkMaxAnalogSensor
 
class  SparkMaxLimitSwitch
 
class  SparkMaxPIDController
 
class  SparkMaxRelativeEncoder
 

Enumerations

enum class  ControlType {
  kDutyCycle = 0 , kVelocity = 1 , kVoltage = 2 , kPosition = 3 ,
  kSmartMotion = 4 , kCurrent = 5 , kSmartVelocity = 6
}
 
enum class  REVLibError {
  kOk = 0 , kError , kTimeout , kNotImplemented ,
  kHALError , kCantFindFirmware , kFirmwareTooOld , kFirmwareTooNew ,
  kParamInvalidID , kParamMismatchType , kParamAccessMode , kParamInvalid ,
  kParamNotImplementedDeprecated , kFollowConfigMismatch , kInvalid , kSetpointOutOfRange ,
  kUnknown , kCANDisconnected , kDuplicateCANId , kInvalidCANId ,
  kSparkMaxDataPortAlreadyConfiguredDifferently
}
 

Enumeration Type Documentation

◆ ControlType

enum class rev::ControlType
strong
Deprecated:
Use CANSparkMax::ControlType instead
Enumerator
kDutyCycle 
kVelocity 
kVoltage 
kPosition 
kSmartMotion 
kCurrent 
kSmartVelocity 

◆ REVLibError

enum class rev::REVLibError
strong
Enumerator
kOk 
kError 
kTimeout 
kNotImplemented 
kHALError 
kCantFindFirmware 
kFirmwareTooOld 
kFirmwareTooNew 
kParamInvalidID 
kParamMismatchType 
kParamAccessMode 
kParamInvalid 
kParamNotImplementedDeprecated 
kFollowConfigMismatch 
kInvalid 
kSetpointOutOfRange 
kUnknown 
kCANDisconnected 
kDuplicateCANId 
kInvalidCANId 
kSparkMaxDataPortAlreadyConfiguredDifferently