#include <CANSparkMaxLowLevel.h>
|
enum class | MotorType { kBrushed = 0
, kBrushless = 1
} |
|
enum class | ControlType {
kDutyCycle = 0
, kVelocity = 1
, kVoltage = 2
, kPosition = 3
,
kSmartMotion = 4
, kCurrent = 5
, kSmartVelocity = 6
} |
|
enum class | ParameterStatus {
kOK = 0
, kInvalidID = 1
, kMismatchType = 2
, kAccessMode = 3
,
kInvalid = 4
, kNotImplementedDeprecated = 5
} |
|
enum class | PeriodicFrame {
kStatus0 = 0
, kStatus1 = 1
, kStatus2 = 2
, kStatus3 = 3
,
kStatus4 = 4
, kStatus5 = 5
, kStatus6 = 6
} |
|
enum class | TelemetryID {
kBusVoltage = 0
, kOutputCurrent
, kVelocity
, kPosition
,
kIAccum
, kAppliedOutput
, kMotorTemp
, kFaults
,
kStickyFaults
, kAnalogVoltage
, kAnalogPosition
, kAnalogVelocity
,
kAltEncPosition
, kAltEncVelocity
, kTotalStreams
} |
|
◆ MotorType
◆ ControlType
◆ ParameterStatus
◆ PeriodicFrame
◆ TelemetryID
- Deprecated:
- Use CANSparkLowLevel::TelemetryID instead
Enumerator |
---|
kBusVoltage | |
kOutputCurrent | |
kVelocity | |
kPosition | |
kIAccum | |
kAppliedOutput | |
kMotorTemp | |
kFaults | |
kStickyFaults | |
kAnalogVoltage | |
kAnalogPosition | |
kAnalogVelocity | |
kAltEncPosition | |
kAltEncVelocity | |
kTotalStreams | |
◆ ~CANSparkMaxLowLevel()
virtual rev::CANSparkMaxLowLevel::~CANSparkMaxLowLevel |
( |
| ) |
|
|
inlinevirtual |
Closes the SPARK MAX Controller
The documentation for this class was generated from the following file: