RSeries astromech firmware
TargetSteering Class Reference

#include <drive/TargetSteering.h>

Public Member Functions

 TargetSteering (int desiredDistance, int desiredAngle=0)
 
float getThrottle ()
 
float getTurning ()
 
void lost ()
 
void stop ()
 
void setCurrentDistance (int distance)
 
void setSampleTime (unsigned sampleTime)
 
void setCurrentAngle (int angle)
 
void setAngleOutputLimits (float limit)
 
void setAngleOutputLimits (float outputMin, float outputMax)
 
void setDistanceTunings (float Kp, float Ki, float Kd)
 
void setDistanceOutputLimits (float limit)
 
void setDistanceOutputLimits (float outputMin, float outputMax)
 

Constructor & Destructor Documentation

◆ TargetSteering()

TargetSteering::TargetSteering ( int  desiredDistance,
int  desiredAngle = 0 
)
inline

Member Function Documentation

◆ getThrottle()

float TargetSteering::getThrottle ( )
inline

◆ getTurning()

float TargetSteering::getTurning ( )
inline

◆ lost()

void TargetSteering::lost ( )
inline

◆ setAngleOutputLimits() [1/2]

void TargetSteering::setAngleOutputLimits ( float  limit)
inline

◆ setAngleOutputLimits() [2/2]

void TargetSteering::setAngleOutputLimits ( float  outputMin,
float  outputMax 
)
inline

◆ setCurrentAngle()

void TargetSteering::setCurrentAngle ( int  angle)
inline

◆ setCurrentDistance()

void TargetSteering::setCurrentDistance ( int  distance)
inline

◆ setDistanceOutputLimits() [1/2]

void TargetSteering::setDistanceOutputLimits ( float  limit)
inline

◆ setDistanceOutputLimits() [2/2]

void TargetSteering::setDistanceOutputLimits ( float  outputMin,
float  outputMax 
)
inline

◆ setDistanceTunings()

void TargetSteering::setDistanceTunings ( float  Kp,
float  Ki,
float  Kd 
)
inline

◆ setSampleTime()

void TargetSteering::setSampleTime ( unsigned  sampleTime)
inline

◆ stop()

void TargetSteering::stop ( )
inline

The documentation for this class was generated from the following file: