Khangai Robot Play - Naive  01
THe naive play of the Khangai Robot
bridge.h
Go to the documentation of this file.
1 /*
2  * bridge.h
3  *
4  * Created : 4/3/2019
5  * Author : n-is
6  * email : 073bex422.nischal@pcampus.edu.np
7  */
8 
9 #ifndef _BRIDGE_H_
10 #define _BRIDGE_H_
11 
12 #include "moore.h"
13 
14 //* According to the drawn state diagram, we need 9 states and there are
15 //* 2 possible inputs
16 const size_t gN_States = 9;
17 const size_t gN_Inputs = 2;
18 
20 
21 //* The following global variable(s) are modified by the state machine
22 extern float gLast_YEncoderValue;
23 
24 #endif // !_BRIDGE_H_
Moore_Machine< gN_States, gN_Inputs > gBridge_Machine
const size_t gN_Inputs
Definition: bridge.h:17
float gLast_YEncoderValue
Definition: position_sensor.cpp:26
Definition: moore.h:8
const size_t gN_States
Definition: bridge.h:16