|
RSeries astromech firmware
|
|
Go to the documentation of this file. 1 #ifndef TargetSteering_h
2 #define TargetSteering_h
10 fDesiredDistance(desiredDistance),
11 fDesiredAngle(desiredAngle),
12 fDSet(desiredDistance),
13 fDistance(fDIn, fDOut, fDSet, 1.0, 0.1, 0.1),
15 fAngle(fAIn, fAOut, fASet, 0.5, 0.05, 0.02),
16 fDIn(desiredDistance),
100 int fDesiredDistance;
void stop()
Definition: TargetSteering.h:48
void setDistanceOutputLimits(float limit)
Definition: TargetSteering.h:89
TargetSteering(int desiredDistance, int desiredAngle=0)
Definition: TargetSteering.h:9
bool process()
Definition: PID.h:53
void setOutputLimits(T outputMin, T outputMax)
Definition: PID.h:106
Definition: TargetSteering.h:6
void setDistanceTunings(float Kp, float Ki, float Kd)
Definition: TargetSteering.h:84
void setAutomatic(bool automatic)
Definition: PID.h:89
void setTunings(T Kp, T Ki, T Kd, bool pOnError)
Definition: PID.h:125
void setSampleTime(unsigned sampleTime)
Definition: PID.h:165
void setSampleTime(unsigned sampleTime)
Definition: TargetSteering.h:61
void lost()
Definition: TargetSteering.h:42
float getTurning()
Definition: TargetSteering.h:37
T getOutputMax() const
Definition: PID.h:101
void setAngleOutputLimits(float outputMin, float outputMax)
Definition: TargetSteering.h:79
void setAngleOutputLimits(float limit)
Definition: TargetSteering.h:74
void setDistanceOutputLimits(float outputMin, float outputMax)
Definition: TargetSteering.h:94
void setCurrentDistance(int distance)
Definition: TargetSteering.h:54
float getThrottle()
Definition: TargetSteering.h:32
void setCurrentAngle(int angle)
Definition: TargetSteering.h:67