|
|
|
@ -599,7 +599,7 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg)
@@ -599,7 +599,7 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg)
|
|
|
|
|
uint8_t result = MAV_RESULT_UNSUPPORTED; |
|
|
|
|
|
|
|
|
|
// do command
|
|
|
|
|
send_text(MAV_SEVERITY_INFO,"command received: "); |
|
|
|
|
send_text(MAV_SEVERITY_INFO,"Command received: "); |
|
|
|
|
|
|
|
|
|
switch(packet.command) { |
|
|
|
|
|
|
|
|
@ -827,7 +827,7 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg)
@@ -827,7 +827,7 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg)
|
|
|
|
|
// check if this is the HOME wp
|
|
|
|
|
if (packet.seq == 0) { |
|
|
|
|
tracker.set_home(tell_command); // New home in EEPROM
|
|
|
|
|
send_text(MAV_SEVERITY_INFO,"new HOME received"); |
|
|
|
|
send_text(MAV_SEVERITY_INFO,"New HOME received"); |
|
|
|
|
waypoint_receiving = false; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -916,7 +916,7 @@ void Tracker::mavlink_delay_cb()
@@ -916,7 +916,7 @@ void Tracker::mavlink_delay_cb()
|
|
|
|
|
} |
|
|
|
|
if (tnow - last_5s > 5000) { |
|
|
|
|
last_5s = tnow; |
|
|
|
|
gcs_send_text(MAV_SEVERITY_INFO, "Initialising APM..."); |
|
|
|
|
gcs_send_text(MAV_SEVERITY_INFO, "Initialising APM"); |
|
|
|
|
} |
|
|
|
|
in_mavlink_delay = false; |
|
|
|
|
} |
|
|
|
|