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.
Fork of System_7_14 by
StaticDefs.hpp
00001 #ifndef AUTOPILOTSTATICDEFS_H_ 00002 #define AUTOPILOTSTATICDEFS_H_ 00003 00004 #include "mbed.h" 00005 #include "ltc1298.hpp" 00006 #include "PosVelFilter.hpp" 00007 #include "PololuHbridge.hpp" 00008 #include "controller.hpp" 00009 00010 00011 //Declare static global variables using 'construct on use' idiom to ensure they are always constructed correctly 00012 // and avoid "static initialization order fiasco". 00013 00014 Timer & systemTime(); 00015 Serial & pc(); 00016 00017 SpiADC & adc(); 00018 00019 PosVelFilter & pvf(); 00020 PololuHBridge & hBridge(); 00021 PositionController & posCon(); 00022 00023 #endif
Generated on Sun Aug 14 2022 12:28:28 by
1.7.2
