ME507 Airheads Project v1.1.0
Flight Stabilization for Glider
Loading...
Searching...
No Matches
shares.h
Go to the documentation of this file.
1
11// Compile this file only once
12#ifndef _SHARES_H_
13#define _SHARES_H_
14
15#include "taskqueue.h"
16#include "taskshare.h"
17
18extern Share<bool> near_ground;
19extern Share<uint8_t> tc_state;
20extern Share<int16_t> rudder_duty;
21extern Share<int16_t> elev_duty;
22extern Share<float> yawC;
23extern Share<float> pitchC;
24extern Share<bool> web_calibrate;
25
26#endif // _SHARES_H_
Share< float > pitchC
A share for the current pitch.
Share< int16_t > elev_duty
A share for the duty cycle for the elevator motor.
Share< uint8_t > tc_state
A share describing the state of the controller FSM.
Share< int16_t > rudder_duty
A share for the duty cycle for the rudder motor.
Share< bool > near_ground
A share describing whether the glider is near the ground.
Share< bool > web_calibrate
A share for a calibration variable.
Share< float > yawC
A share for the current yaw.