Example #1
0
float TinyGPS::f_speed_kmph()  
{ 
  #ifdef __TEST__
  __speed = __speed + 0.1;
  return __speed;
  #endif
  float sk = f_speed_knots();
  return sk == GPS_INVALID_F_SPEED ? GPS_INVALID_F_SPEED : _GPS_KMPH_PER_KNOT * sk; 
}
Example #2
0
float TinyGPS::f_speed_kmph()  
{ 
  float sk = f_speed_knots();
  return sk == GPS_INVALID_F_SPEED ? GPS_INVALID_F_SPEED : _GPS_KMPH_PER_KNOT * sk; 
}
Example #3
0
float Gps::f_speed_mps()
{
  float sk = f_speed_knots();
  return sk == GPS_INVALID_F_SPEED ?
      GPS_INVALID_F_SPEED : _GPS_MPS_PER_KNOT * f_speed_knots();
}
Example #4
0
float CopTinyGps::f_speed_mph()   
{ 
  float sk = f_speed_knots();
  return sk == GPS_INVALID_F_SPEED ? GPS_INVALID_F_SPEED : _GPS_MPH_PER_KNOT * sk; 
}