diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-05-23 15:08:33 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-05-23 15:08:33 +0200 |
commit | c4d79b84b4eb3b4d255706f29972cd3f31689749 (patch) | |
tree | fa0bc213731474cbebcbb32e441c5b6ad4d1f4d5 /src/drivers/gps/gps_helper.h | |
parent | 7bf1f82f615b05bb37b8c4c45891bbde96745a4b (diff) | |
download | px4-firmware-c4d79b84b4eb3b4d255706f29972cd3f31689749.tar.gz px4-firmware-c4d79b84b4eb3b4d255706f29972cd3f31689749.tar.bz2 px4-firmware-c4d79b84b4eb3b4d255706f29972cd3f31689749.zip |
bugfixes in UBX driver, emit new SNR, Jamming and noise count indices
Diffstat (limited to 'src/drivers/gps/gps_helper.h')
-rw-r--r-- | src/drivers/gps/gps_helper.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/drivers/gps/gps_helper.h b/src/drivers/gps/gps_helper.h index cfb9e0d43..d14a95afe 100644 --- a/src/drivers/gps/gps_helper.h +++ b/src/drivers/gps/gps_helper.h @@ -46,13 +46,17 @@ class GPS_Helper { public: + + GPS_Helper() {}; + virtual ~GPS_Helper() {}; + virtual int configure(unsigned &baud) = 0; virtual int receive(unsigned timeout) = 0; int set_baudrate(const int &fd, unsigned baud); float get_position_update_rate(); float get_velocity_update_rate(); - float reset_update_rates(); - float store_update_rates(); + void reset_update_rates(); + void store_update_rates(); protected: uint8_t _rate_count_lat_lon; |