Skip to content

Commit

Permalink
[sim] ocaml gps sim: also set alt from hmsl
Browse files Browse the repository at this point in the history
  • Loading branch information
flixr committed Sep 14, 2012
1 parent e2d6fca commit a6dee18
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sw/airborne/arch/sim/sim_gps.c
Expand Up @@ -36,6 +36,7 @@ value sim_use_gps_pos(value x, value y, value z, value c, value a, value s, valu
struct UtmCoor_f utm_f;
lla_f.lat = Double_val(lat);
lla_f.lon = Double_val(lon);
lla_f.alt = Double_val(a);
utm_f.zone = nav_utm_zone0;
utm_of_lla_f(&utm_f, &lla_f);
LLA_BFP_OF_REAL(gps.lla_pos, lla_f);
Expand Down

0 comments on commit a6dee18

Please sign in to comment.