Hormone for optimizing COT

Dependents:   TurtleBot_v01 TurtleBot_with_AHS

Committer:
worasuchad
Date:
Wed Nov 20 06:50:25 2019 +0000
Revision:
4:0dfa16b90d92
Parent:
0:df6e371d8665
define config

Who changed what in which revision?

UserRevisionLine numberNew contents of line
worasuchad 0:df6e371d8665 1 #ifndef HORMONE_H
worasuchad 0:df6e371d8665 2 #define HORMONE_H
worasuchad 0:df6e371d8665 3
worasuchad 0:df6e371d8665 4 #include "mbed.h"
worasuchad 0:df6e371d8665 5
worasuchad 0:df6e371d8665 6 class hormone
worasuchad 0:df6e371d8665 7 {
worasuchad 0:df6e371d8665 8 //protected:
worasuchad 0:df6e371d8665 9 public:
worasuchad 0:df6e371d8665 10 float upDegree, downDegree;
worasuchad 0:df6e371d8665 11 public:
worasuchad 0:df6e371d8665 12 float upPreProc, downPreProc;
worasuchad 0:df6e371d8665 13 float cgUp, cgDown, cgUpPrev, cgDownPrev;
worasuchad 0:df6e371d8665 14 public:
worasuchad 0:df6e371d8665 15 hormone();
worasuchad 0:df6e371d8665 16 float upHG(const float G2, const float G4 );
worasuchad 0:df6e371d8665 17 float downHG(const float G2, const float G3);
worasuchad 0:df6e371d8665 18 float hormoneRecUp(const float upDeg);
worasuchad 0:df6e371d8665 19 float hormoneRecDown(const float downDeg);
worasuchad 0:df6e371d8665 20 };
worasuchad 0:df6e371d8665 21 #endif