mirror of https://github.com/ArduPilot/ardupilot
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:
parent
b02baa5672
commit
c1c2021719
|
@ -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) {};
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue