mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-02 05:58:30 -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) {
|
if(!ap.at_surface) {
|
||||||
surface_detector_count = 0;
|
surface_detector_count = 0;
|
||||||
Log_Write_Event(DATA_SURFACED);
|
Log_Write_Event(DATA_SURFACED);
|
||||||
gcs_send_text(MAV_SEVERITY_CRITICAL, "Off Surface");
|
gcs_send_text(MAV_SEVERITY_INFO, "Off Surface");
|
||||||
} else {
|
} else {
|
||||||
Log_Write_Event(DATA_NOT_SURFACED);
|
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) {
|
if(!ap.at_bottom) {
|
||||||
bottom_detector_count = 0;
|
bottom_detector_count = 0;
|
||||||
Log_Write_Event(DATA_BOTTOMED);
|
Log_Write_Event(DATA_BOTTOMED);
|
||||||
gcs_send_text(MAV_SEVERITY_CRITICAL, "Off Bottom");
|
gcs_send_text(MAV_SEVERITY_INFO, "Off Bottom");
|
||||||
} else {
|
} else {
|
||||||
Log_Write_Event(DATA_NOT_BOTTOMED);
|
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