Skip to content

Commit

Permalink
Fixed GNSS alt measurement generation issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
iandareid committed May 2, 2024
1 parent 099bc20 commit bc22ce2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rosflight_sim/src/sil_board.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ rosflight_firmware::GNSSData SILBoard::gnss_read()

out.lat = (int) std::round(rad2Deg(lla.X()) * 1e7);
out.lon = (int) std::round(rad2Deg(lla.Y()) * 1e7);
out.height = (int) std::round(rad2Deg(lla.Z()) * 1e3);
out.height = (int) std::round(lla.Z() * 1e3);

// For now, we have defined the Gazebo Local Frame as NWU. This should be fixed in a future
// commit
Expand Down

0 comments on commit bc22ce2

Please sign in to comment.