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.
Dependencies: mbed MODSERIAL FATFileSystem
System/StaticDefs.hpp
- Committer:
- joel_ssc
- Date:
- 2019-05-08
- Revision:
- 87:6d95f853dab3
- Parent:
- 82:0981b9ada820
File content as of revision 87:6d95f853dab3:
#ifndef AUTOPILOTSTATICDEFS_H_
#define AUTOPILOTSTATICDEFS_H_
#include "mbed.h"
#include "MODSERIAL.h"
#include "ltc1298.hpp"
#include "LinearActuator.hpp"
#include "IMU.h"
#include "omegaPX209.hpp"
#include "PosVelFilter.hpp"
#include "OuterLoop.hpp"
#include "StateMachine.hpp"
#include "ConfigFileIO.hpp"
#include "SequenceController.hpp"
#include "MbedLogger.hpp"
#include "SDFileSystem.h"
#include "ServoDriver.hpp"
#include "Gui.hpp"
#include "Sensors.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();
Ticker & pulse();
//MODSERIAL & pc();
MODSERIAL & xbee();
LocalFileSystem & local();
SpiADC & adc();
LinearActuator & bce();
LinearActuator & batt();
omegaPX209 & depth();
OuterLoop & depthLoop();
IMU & imu();
Sensors & sensors();
OuterLoop & pitchLoop();
StateMachine & stateMachine();
MbedLogger & mbedLogger(); //internal memory log files
//SDFileSystem & sd_card(); //SD card file system
//MbedLogger & sdLogger(); //sd log files
ConfigFileIO & configFileIO();
SequenceController & sequenceController();
LegController & legController();
//servo driver
ServoDriver & rudder(); //new 06/06/2018
OuterLoop & headingLoop(); //change 06/08/2018
OuterLoop & altimLoop(); //change 03may2019
// leds for debugging, global for use in any function
DigitalOut & led1();
DigitalOut & led2();
DigitalOut & led3();
DigitalOut & led4();
DigitalIn & motorDisconnect(); // is this right? is it basically global?
Gui & gui();
#endif