Skip to content

Commit

Permalink
Rover: Notify lat and long to the seventh decimal place
Browse files Browse the repository at this point in the history
  • Loading branch information
muramura committed May 8, 2024
1 parent 4320063 commit 7cb12ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rover/commands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ bool Rover::set_home(const Location& loc, bool lock)
mode_auto.mission.write_home_to_storage();

// send text of home position to ground stations
gcs().send_text(MAV_SEVERITY_INFO, "Set HOME to %.6f %.6f at %.2fm",
gcs().send_text(MAV_SEVERITY_INFO, "Set HOME to %.7f %.7f at %.2fm",
static_cast<double>(loc.lat * 1.0e-7f),
static_cast<double>(loc.lng * 1.0e-7f),
static_cast<double>(loc.alt * 0.01f));
Expand Down

0 comments on commit 7cb12ea

Please sign in to comment.