Flair
Framework Libre Air
Novatel.h
Go to the documentation of this file.
1 // %flair:license{
2 // This file is part of the Flair framework distributed under the
3 // CECILL-C License, Version 1.0.
4 // %flair:license}
13 #ifndef Novatel_H
14 #define Novatel_H
15 
16 #include <Thread.h>
17 #include <NmeaGps.h>
18 
19 namespace flair {
20 namespace core {
21 class FrameworkManager;
22 class SerialPort;
23 }
24 }
25 
26 namespace flair {
27 namespace sensor {
32 class Novatel : public core::Thread, public NmeaGps {
33 public:
45  Novatel(std::string name,
46  core::SerialPort *serialport, NmeaGps::NMEAFlags_t NMEAFlags,
47  uint8_t priority);
48 
53  ~Novatel();
54 
55 private:
63  void UpdateFrom(const core::io_data *data){};
64 
71  void Run(void);
72 
73  core::SerialPort *serialport;
74  void Sync(void);
75 };
76 } // end namespace sensor
77 } // end namespace flair
78 #endif // Novatel_H
Abstract class for data types.
Definition: io_data.h:94
Novatel(std::string name, core::SerialPort *serialport, NmeaGps::NMEAFlags_t NMEAFlags, uint8_t priority)
Constructor.
Class for Novatel gps receiver.
Definition: Novatel.h:32
namespace of the flair Framework
Definition: Ahrs.h:19
Base class for GPS using NMEA sentances.
Base class for GPS using NMEA sentances.
Definition: NmeaGps.h:45
Base class for serial port.
Definition: SerialPort.h:25
NMEAFlags_t
NMEA flags.
Definition: NmeaGps.h:51
Abstract class for a thread.
Abstract class for a thread.
Definition: Thread.h:38
~Novatel()
Destructor.