Correct factoring issue for AP_GPS_IMU XPlane HIL interface.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1673 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
deweibel@gmail.com 2011-02-17 21:36:56 +00:00
parent b02baa5672
commit c1c2021719
2 changed files with 12 additions and 1 deletions

View File

@ -223,4 +223,11 @@ void AP_GPS_IMU::checksum(byte data)
{
ck_a += data;
ck_b += ck_a;
}
}
/****************************************************************
* Unused
****************************************************************/
void AP_GPS_IMU::setHIL(long time, float latitude, float longitude, float altitude,
float ground_speed, float ground_course, float speed_3d, uint8_t num_sats) {};

View File

@ -20,6 +20,10 @@ class AP_GPS_IMU : public GPS {
int airspeed;
float imu_health;
uint8_t imu_ok;
// Unused
virtual void setHIL(long time, float latitude, float longitude, float altitude,
float ground_speed, float ground_course, float speed_3d, uint8_t num_sats);
private:
// Packet checksums