|
| PIDCommand (const char *name, double p, double i, double d) |
|
| PIDCommand (const char *name, double p, double i, double d, double period) |
|
| PIDCommand (const char *name, double p, double i, double d, double f, double perioid) |
|
| PIDCommand (double p, double i, double d) |
|
| PIDCommand (double p, double i, double d, double period) |
|
| PIDCommand (double p, double i, double d, double f, double period) |
|
void | SetSetpointRelative (double deltaSetpoint) |
|
virtual void | PIDWrite (float output) |
|
virtual double | PIDGet () |
|
virtual void | InitTable (ITable *table) |
|
virtual std::string | GetSmartDashboardType () |
|
Public Member Functions inherited from Command |
| Command () |
|
| Command (const char *name) |
|
| Command (double timeout) |
|
| Command (const char *name, double timeout) |
|
double | TimeSinceInitialized () |
|
void | Requires (Subsystem *s) |
|
bool | IsCanceled () |
|
void | Start () |
|
bool | Run () |
|
void | Cancel () |
|
bool | IsRunning () |
|
bool | IsInterruptible () |
|
void | SetInterruptible (bool interruptible) |
|
bool | DoesRequire (Subsystem *subsystem) |
|
SubsystemSet | GetRequirements () |
|
CommandGroup * | GetGroup () |
|
void | SetRunWhenDisabled (bool run) |
|
bool | WillRunWhenDisabled () |
|
int | GetID () |
|
virtual std::string | GetName () |
|
virtual ITable * | GetTable () |
|
virtual void | ValueChanged (ITable *source, const std::string &key, EntryValue value, bool isNew) |
|
virtual Error & | GetError () |
| Retrieve the current error. Get the current error information associated with this sensor.
|
|
virtual const Error & | GetError () const |
|
virtual void | SetErrnoError (const char *contextMessage, const char *filename, const char *function, uint32_t 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, const char *contextMessage, const char *filename, const char *function, uint32_t lineNumber) const |
| Set the current error information associated from the nivision Imaq API. More...
|
|
virtual void | SetError (Error::Code code, const char *contextMessage, const char *filename, const char *function, uint32_t lineNumber) const |
| Set the current error information associated with this sensor. More...
|
|
virtual void | SetWPIError (const char *errorMessage, const char *contextMessage, const char *filename, const char *function, uint32_t lineNumber) const |
| Set the current error information associated with this sensor. More...
|
|
virtual void | CloneError (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...
|
|
|
Public Types inherited from Command |
typedef std::set< Subsystem * > | SubsystemSet |
|
enum | PIDSourceParameter { kDistance,
kRate,
kAngle
} |
|
static void | SetGlobalError (Error::Code code, const char *contextMessage, const char *filename, const char *function, uint32_t lineNumber) |
|
static void | SetGlobalWPIError (const char *errorMessage, const char *contextMessage, const char *filename, const char *function, uint32_t lineNumber) |
|
static Error & | GetGlobalError () |
|
Protected Attributes inherited from Command |
ITable * | m_table |
|
Error | m_error |
|
static SEM_ID | _globalErrorMutex = semMCreate(SEM_Q_PRIORITY | SEM_DELETE_SAFE | SEM_INVERSION_SAFE) |
|
static Error | _globalError |
|
Definition at line 16 of file PIDCommand.h.