|
| RobotDriveBase (const RobotDriveBase &)=delete |
|
RobotDriveBase & | operator= (const RobotDriveBase &)=delete |
|
void | SetDeadband (double deadband) |
|
void | SetMaxOutput (double maxOutput) |
| Configure the scaling factor for using RobotDrive with motor controllers in a mode other than PercentVbus. More...
|
|
void | SetExpiration (double timeout) override |
|
double | GetExpiration () const override |
|
bool | IsAlive () const override |
|
void | StopMotor () override=0 |
|
bool | IsSafetyEnabled () const override |
|
void | SetSafetyEnabled (bool enabled) override |
|
void | GetDescription (llvm::raw_ostream &desc) const override=0 |
|
| ErrorBase (const ErrorBase &)=delete |
|
ErrorBase & | operator= (const ErrorBase &)=delete |
|
virtual Error & | GetError () |
| Retrieve the current error. More...
|
|
virtual const Error & | GetError () const |
|
virtual void | SetErrnoError (llvm::StringRef contextMessage, llvm::StringRef filename, llvm::StringRef function, int lineNumber) const |
| Set error information associated with a C library call that set an error to the "errno" global variable. More...
|
|
virtual void | SetImaqError (int success, llvm::StringRef contextMessage, llvm::StringRef filename, llvm::StringRef function, int lineNumber) const |
| Set the current error information associated from the nivision Imaq API. More...
|
|
virtual void | SetError (Error::Code code, llvm::StringRef contextMessage, llvm::StringRef filename, llvm::StringRef function, int lineNumber) const |
| Set the current error information associated with this sensor. More...
|
|
virtual void | SetErrorRange (Error::Code code, int32_t minRange, int32_t maxRange, int32_t requestedValue, llvm::StringRef contextMessage, llvm::StringRef filename, llvm::StringRef function, int lineNumber) const |
| Set the current error information associated with this sensor. More...
|
|
virtual void | SetWPIError (llvm::StringRef errorMessage, Error::Code code, llvm::StringRef contextMessage, llvm::StringRef filename, llvm::StringRef function, int lineNumber) const |
| Set the current error information associated with this sensor. More...
|
|
virtual void | CloneError (const ErrorBase &rhs) const |
|
virtual void | ClearError () const |
| Clear the current error information associated with this sensor.
|
|
virtual bool | StatusIsFatal () const |
| Check if the current error code represents a fatal error. More...
|
|
Common base class for drive platforms.