Cheetah Software
1.0
|
#include <DesiredStateCommand.h>
Public Member Functions | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | DesiredStateCommand (GamepadCommand *command, StateEstimate< T > *sEstimate) |
void | convertToStateCommands () |
void | desiredStateTrajectory (int N, Vec10< T > dtVec) |
void | printRawInfo () |
void | printStateCommandInfo () |
float | deadband (float command, T minVal, T maxVal) |
Public Attributes | |
T | maxRoll = 0.4 |
T | minRoll = -0.4 |
T | maxPitch = 0.4 |
T | minPitch = -0.4 |
T | maxVelX = 1.0 |
T | minVelX = -1.0 |
T | maxVelY = 0.5 |
T | minVelY = -0.5 |
T | maxTurnRate = 2.0 |
T | minTurnRate = -2.0 |
DesiredStateData< T > | data |
Private Attributes | |
GamepadCommand * | gamepadCommand |
StateEstimate< T > * | stateEstimate |
Mat12< T > | A |
T | dt = 0.001 |
T | deadbandRegion = 0.075 |
int | printNum = 5 |
int | printIter = 0 |
Definition at line 35 of file DesiredStateCommand.h.
|
inline |
Definition at line 39 of file DesiredStateCommand.h.
void DesiredStateCommand< T >::convertToStateCommands | ( | ) |
Definition at line 26 of file DesiredStateCommand.cpp.
References deadband().
float DesiredStateCommand< T >::deadband | ( | float | command, |
T | minVal, | ||
T | maxVal | ||
) |
Definition at line 110 of file DesiredStateCommand.cpp.
void DesiredStateCommand< T >::desiredStateTrajectory | ( | int | N, |
Vec10< T > | dtVec | ||
) |
Definition at line 74 of file DesiredStateCommand.cpp.
void DesiredStateCommand< T >::printRawInfo | ( | ) |
Definition at line 122 of file DesiredStateCommand.cpp.
void DesiredStateCommand< T >::printStateCommandInfo | ( | ) |
Definition at line 160 of file DesiredStateCommand.cpp.
|
private |
Definition at line 70 of file DesiredStateCommand.h.
DesiredStateData<T> DesiredStateCommand< T >::data |
Definition at line 63 of file DesiredStateCommand.h.
|
private |
Definition at line 76 of file DesiredStateCommand.h.
|
private |
Definition at line 73 of file DesiredStateCommand.h.
|
private |
Definition at line 66 of file DesiredStateCommand.h.
T DesiredStateCommand< T >::maxPitch = 0.4 |
Definition at line 53 of file DesiredStateCommand.h.
T DesiredStateCommand< T >::maxRoll = 0.4 |
Definition at line 51 of file DesiredStateCommand.h.
T DesiredStateCommand< T >::maxTurnRate = 2.0 |
Definition at line 59 of file DesiredStateCommand.h.
T DesiredStateCommand< T >::maxVelX = 1.0 |
Definition at line 55 of file DesiredStateCommand.h.
T DesiredStateCommand< T >::maxVelY = 0.5 |
Definition at line 57 of file DesiredStateCommand.h.
T DesiredStateCommand< T >::minPitch = -0.4 |
Definition at line 54 of file DesiredStateCommand.h.
T DesiredStateCommand< T >::minRoll = -0.4 |
Definition at line 52 of file DesiredStateCommand.h.
T DesiredStateCommand< T >::minTurnRate = -2.0 |
Definition at line 60 of file DesiredStateCommand.h.
T DesiredStateCommand< T >::minVelX = -1.0 |
Definition at line 56 of file DesiredStateCommand.h.
T DesiredStateCommand< T >::minVelY = -0.5 |
Definition at line 58 of file DesiredStateCommand.h.
|
private |
Definition at line 82 of file DesiredStateCommand.h.
|
private |
Definition at line 79 of file DesiredStateCommand.h.
|
private |
Definition at line 67 of file DesiredStateCommand.h.