mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 21:48:28 -04:00
Sub: change surface/bottom message severity to INFO
This commit is contained in:
parent
8cd41d305d
commit
66ff7844c2
@ -76,10 +76,10 @@ void Sub::set_surfaced(bool at_surface) {
|
||||
if(!ap.at_surface) {
|
||||
surface_detector_count = 0;
|
||||
Log_Write_Event(DATA_SURFACED);
|
||||
gcs_send_text(MAV_SEVERITY_CRITICAL, "Off Surface");
|
||||
gcs_send_text(MAV_SEVERITY_INFO, "Off Surface");
|
||||
} else {
|
||||
Log_Write_Event(DATA_NOT_SURFACED);
|
||||
gcs_send_text(MAV_SEVERITY_CRITICAL, "Surfaced");
|
||||
gcs_send_text(MAV_SEVERITY_INFO, "Surfaced");
|
||||
}
|
||||
}
|
||||
|
||||
@ -93,9 +93,9 @@ void Sub::set_bottomed(bool at_bottom) {
|
||||
if(!ap.at_bottom) {
|
||||
bottom_detector_count = 0;
|
||||
Log_Write_Event(DATA_BOTTOMED);
|
||||
gcs_send_text(MAV_SEVERITY_CRITICAL, "Off Bottom");
|
||||
gcs_send_text(MAV_SEVERITY_INFO, "Off Bottom");
|
||||
} else {
|
||||
Log_Write_Event(DATA_NOT_BOTTOMED);
|
||||
gcs_send_text(MAV_SEVERITY_CRITICAL, "Bottomed");
|
||||
gcs_send_text(MAV_SEVERITY_INFO, "Bottomed");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user