most functionality to splashdwon, find neutral and start mission. short timeouts still in code for testing, will adjust to go directly to sit_idle after splashdown
Dependencies: mbed MODSERIAL FATFileSystem
System/StaticDefs.hpp
- Committer:
- tnhnrl
- Date:
- 2018-06-25
- Revision:
- 67:c86a4b464682
- Parent:
- 54:d4990fb68404
- Child:
- 73:f6f378311c8d
File content as of revision 67:c86a4b464682:
#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" //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 & xb(); LocalFileSystem & local(); SpiADC & adc(); LinearActuator & bce(); LinearActuator & batt(); omegaPX209 & depth(); OuterLoop & depthLoop(); IMU & imu(); 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(); //servo driver ServoDriver & rudder(); //new 06/06/2018 OuterLoop & headingLoop(); //change 06/08/2018 // leds for debugging, global for use in any function DigitalOut & led1(); DigitalOut & led2(); DigitalOut & led3(); DigitalOut & led4(); #endif