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 <Gps.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 Gps {
33 public:
45  Novatel(const core::FrameworkManager *parent, std::string name,
46  core::SerialPort *serialport, Gps::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 framewor
78 #endif // Novatel_H
Abstract class for data types.
Definition: io_data.h:77
Class for Novatel gps receiver.
Definition: Novatel.h:32
namespace of the flair Framework
Definition: Ahrs.h:19
Base class for GPS.
Definition: Gps.h:43
Base class for serial port.
Definition: SerialPort.h:25
Main class of the Framework library.
Definition: FrameworkManager.h:45
Abstract class for a thread.
Abstract class for a thread.
Definition: Thread.h:38
NMEAFlags_t
NMEA flags.
Definition: Gps.h:65
Base class for GPS.
Novatel(const core::FrameworkManager *parent, std::string name, core::SerialPort *serialport, Gps::NMEAFlags_t NMEAFlags, uint8_t priority)
Constructor.
~Novatel()
Destructor.