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.
Dependents: 7_21_17_FSG 7_26_17_FSG
Fork of System_ by
StaticDefs.hpp
- Committer:
- mdavis30
- Date:
- 2017-07-28
- Revision:
- 7:60b1f9e72822
- Parent:
- 1:e827d45c3948
File content as of revision 7:60b1f9e72822:
#ifndef AUTOPILOTSTATICDEFS_H_
#define AUTOPILOTSTATICDEFS_H_
#include "mbed.h"
#include "ltc1298.hpp"
#include "PosVelFilter.hpp"
#include "PololuHbridge.hpp"
#include "controller.hpp"
//Declare static global variables using 'construct on use' idiom to ensure they are always constructed correctly
// and avoid "static initialization order fiasco".
Timer & systemTime();
Serial & pc();
SpiADC & adc();
PosVelFilter & pvf();
PololuHBridge & hBridge();
PositionController & posCon();
#endif
