Hormone for optimizing COT

Dependents:   TurtleBot_v01 TurtleBot_with_AHS

hormone.h

Committer:
worasuchad
Date:
2018-08-13
Revision:
0:df6e371d8665

File content as of revision 0:df6e371d8665:

#ifndef HORMONE_H
#define HORMONE_H

#include "mbed.h"

class hormone
{
    //protected:
    public:
        float upDegree, downDegree;
    public:
        float upPreProc, downPreProc;
        float cgUp, cgDown, cgUpPrev, cgDownPrev;
    public:
        hormone();
        float upHG(const float G2, const float G4 );
        float downHG(const float G2, const float G3);
        float hormoneRecUp(const float upDeg);
        float hormoneRecDown(const float downDeg);
};
#endif