Sub: Remove statustext messages for surface and bottom events

This commit is contained in:
Jacob Walser 2016-11-21 15:54:45 -05:00 committed by Andrew Tridgell
parent 93022a8a5e
commit f9622f7205
1 changed files with 0 additions and 4 deletions

View File

@ -89,11 +89,9 @@ void Sub::set_surfaced(bool at_surface) {
if(!ap.at_surface) {
Log_Write_Event(DATA_SURFACED);
gcs_send_text(MAV_SEVERITY_INFO, "Off Surface");
} else {
surface_detector_count = 0;
Log_Write_Event(DATA_NOT_SURFACED);
gcs_send_text(MAV_SEVERITY_INFO, "Surfaced");
}
}
@ -107,10 +105,8 @@ void Sub::set_bottomed(bool at_bottom) {
if(!ap.at_bottom) {
Log_Write_Event(DATA_BOTTOMED);
gcs_send_text(MAV_SEVERITY_INFO, "Off Bottom");
} else {
bottom_detector_count = 0;
Log_Write_Event(DATA_NOT_BOTTOMED);
gcs_send_text(MAV_SEVERITY_INFO, "Bottomed");
}
}