#ifndef SAFETY_CHECKER_H #define SAFETY_CHECKER_H #include // Contains all of the control related data #include "ControlFSMData.h" /** * The SafetyChecker handles the checks requested by the ControlFSM. */ template class SafetyChecker { public: SafetyChecker(ControlFSMData* dataIn) : data(dataIn){}; // Pre checks to make sure controls are safe to run bool checkSafeOrientation(); // robot's orientation is safe to control // Post checks to make sure controls can be sent to robot bool checkPDesFoot(); // desired foot position is not too far bool checkForceFeedForward(); // desired feedforward forces are not too large // Stores the data from the ControlFSM ControlFSMData* data; private: }; #endif // SAFETY_CHECKER_H