Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Global.h
- Revision:
- 9:d1fc0805ec7d
- Parent:
- 8:ca92cb674004
- Child:
- 10:0a4bf8c82493
--- a/Global.h Tue Oct 13 13:10:21 2015 +0000 +++ b/Global.h Wed Oct 14 13:44:32 2015 +0000 @@ -2,7 +2,11 @@ #define BIRD_CENTRAL_GLOBAL_H_ #include "mbed.h" +#include "rtos.h" + + class Global { + static double maxpitch; static double minpitch; static double neutralpitch; @@ -21,6 +25,8 @@ static double minpitchplayratio; static double maxyawplayratio; static double minyawplayratio; + + static double trimpitchrate; static double pitch; static double pitchdegree; @@ -35,6 +41,8 @@ static double altitude; public : + static Queue<char, 20> queue; + static void initialize(); static void fileread(); static void filewrite(); @@ -89,6 +97,10 @@ static void setmaxyawplayratio(double _maxyawplayratio); static void setminyawplayratio(double _minyawplayratio); + static double gettrimpitchrate(); + + static void settrimpitchrate(double _trimpitchrate); + static double getpitch(); static double getpitchdegree();