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: Lib_Cntrl AHRS Lib_Misc
Sources/Read_Xtern_Sensors.h
- Committer:
- altb2
- Date:
- 2019-10-09
- Revision:
- 1:d8c9f6b16279
File content as of revision 1:d8c9f6b16279:
#ifndef READ_XTERN_SENSORS_H_ #define READ_XTERN_SENSORS_H_ #include "Signal.h" #include "data_structs.h" #include "PX4Flow.h" #include "TFMini_i2c.h" extern DATA_Xchange data; class Read_Xtern_Sensors { public: Read_Xtern_Sensors(float); virtual ~Read_Xtern_Sensors(); void init_loop(void); void start_loop(void); private: Signal signal; Thread thread; Ticker ticker; void loop(void); void sendSignal(); I2C i2c; PX4Flow optical_flow; TFMini_i2c tfmini_1; float Ts; }; #endif