From d60b2661289c6f8360c26d6f8cb5e642096b36ef Mon Sep 17 00:00:00 2001 From: tecnosapiens Date: Tue, 14 Dec 2010 11:54:05 -0600 Subject: [PATCH] tracking read waypoint errors --- src/uas/UASWaypointManager.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/uas/UASWaypointManager.cc b/src/uas/UASWaypointManager.cc index d1761bd3b..f7e59bf59 100644 --- a/src/uas/UASWaypointManager.cc +++ b/src/uas/UASWaypointManager.cc @@ -600,22 +600,26 @@ void UASWaypointManager::sendWaypointRequest(quint16 seq) void UASWaypointManager::sendWaypoint(quint16 seq) { mavlink_message_t message; + qDebug() <<" WP Buffer count: "<target_system = uas.getUASID(); wp->target_component = MAV_COMP_ID_WAYPOINTPLANNER; emit updateStatusString(QString("sending waypoint ID %1 of %2 total").arg(wp->seq).arg(current_count)); + qDebug() << "sent waypoint (" << wp->seq << ") to ID " << wp->target_system<<" WP Buffer count: "<getSystemId(), uas.mavlink->getComponentId(), &message, wp); uas.sendMessage(message); MG::SLEEP::usleep(PROTOCOL_DELAY_MS * 1000); - qDebug() << "sent waypoint (" << wp->seq << ") to ID " << wp->target_system; } } -- 2.22.0