diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-04-22 14:56:13 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-04-22 14:56:13 +0200 |
commit | 2b2c3f135dd13dda0ab9664efd6fa7ac86ee9563 (patch) | |
tree | 276cac9a798ef103e3ed37192398333edd699511 /apps | |
parent | a817dedf11f60cafee262e81531208a260b7f13a (diff) | |
download | px4-firmware-2b2c3f135dd13dda0ab9664efd6fa7ac86ee9563.tar.gz px4-firmware-2b2c3f135dd13dda0ab9664efd6fa7ac86ee9563.tar.bz2 px4-firmware-2b2c3f135dd13dda0ab9664efd6fa7ac86ee9563.zip |
Hotfix: Build fix
Diffstat (limited to 'apps')
-rw-r--r-- | apps/mavlink/mavlink_receiver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/mavlink/mavlink_receiver.c b/apps/mavlink/mavlink_receiver.c index 14631d503..a30f0bf3c 100644 --- a/apps/mavlink/mavlink_receiver.c +++ b/apps/mavlink/mavlink_receiver.c @@ -495,7 +495,7 @@ handle_message(mavlink_message_t *msg) hil_gps.vel_e_m_s = (float)gps.vel * 1e-2f * sinf(heading_rad); hil_gps.vel_d_m_s = 0.0f; /* COG (course over ground) is speced as 0..360 degrees (compass) */ - hil_gps.cog_rad = cog_rad + M_PI_F; // from deg*100 to rad + hil_gps.cog_rad = heading_rad + M_PI_F; // from deg*100 to rad hil_gps.fix_type = gps.fix_type; hil_gps.satellites_visible = gps.satellites_visible; |