bugfixes in UBX driver, emit new SNR, Jamming and noise count indices

This commit is contained in:
Lorenz Meier
2014-05-23 15:08:33 +02:00
parent 7bf1f82f61
commit c4d79b84b4
5 changed files with 62 additions and 9 deletions
+2 -2
View File
@@ -56,7 +56,7 @@ GPS_Helper::get_velocity_update_rate()
return _rate_vel;
}
float
void
GPS_Helper::reset_update_rates()
{
_rate_count_vel = 0;
@@ -64,7 +64,7 @@ GPS_Helper::reset_update_rates()
_interval_rate_start = hrt_absolute_time();
}
float
void
GPS_Helper::store_update_rates()
{
_rate_vel = _rate_count_vel / (((float)(hrt_absolute_time() - _interval_rate_start)) / 1000000.0f);