Browse Source

Do not write home from GS,

MAV_Action_Continue disabled until I find out what it does and how to do it.
master
Jason Short 13 years ago
parent
commit
8392e375e1
  1. 5
      ArduCopter/GCS_Mavlink.pde

5
ArduCopter/GCS_Mavlink.pde

@ -810,7 +810,7 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg) @@ -810,7 +810,7 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg)
*/
case MAV_ACTION_CONTINUE:
process_next_command();
//process_command_queue();
result=1;
break;
@ -1315,12 +1315,13 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg) @@ -1315,12 +1315,13 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg)
if (!waypoint_receiving) break;
Serial.printf("req: %d, seq: %d, total: %d\n", waypoint_request_i,packet.seq, g.command_total.get());
//Serial.printf("req: %d, seq: %d, total: %d\n", waypoint_request_i,packet.seq, g.command_total.get());
// check if this is the requested waypoint
if (packet.seq != waypoint_request_i)
break;
if(packet.seq != 0)
set_command_with_index(tell_command, packet.seq);
// update waypoint receiving state machine

Loading…
Cancel
Save