REVLib - C++
rev Namespace Reference

Namespaces

namespace  detail
 

Classes

class  AbsoluteEncoder
 
class  AnalogInput
 
class  CANAnalog
 
class  CANDigitalInput
 
class  CANEncoder
 
class  CANPIDController
 
class  CANSensor
 
class  CANSparkBase
 
class  CANSparkFlex
 
class  CANSparkLowLevel
 
class  CANSparkMax
 
class  CANSparkMaxLowLevel
 
class  CIEColor
 
class  ColorMatch
 
class  ColorSensorV3
 
class  MotorFeedbackSensor
 
class  RelativeEncoder
 
class  SparkAbsoluteEncoder
 
class  SparkAnalogSensor
 
class  SparkFlexExternalEncoder
 
class  SparkLimitSwitch
 
class  SparkMaxAbsoluteEncoder
 
class  SparkMaxAlternateEncoder
 
class  SparkMaxAnalogSensor
 
class  SparkMaxLimitSwitch
 
class  SparkMaxPIDController
 
class  SparkMaxRelativeEncoder
 
class  SparkPIDController
 
class  SparkRelativeEncoder
 

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 CANSparkBase::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