From d35e3ee22dcaedcb5b3061e9edab9b5b5957f8f3 Mon Sep 17 00:00:00 2001 From: Xavier Gibert Date: Mon, 11 Jun 2012 11:36:04 +0200 Subject: [PATCH] comments --- sw/airborne/subsystems/datalink/transport.h | 2 +- sw/ground_segment/cockpit/compass.ml | 31 +++++++++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/sw/airborne/subsystems/datalink/transport.h b/sw/airborne/subsystems/datalink/transport.h index a12f3e9ac42..441443354ea 100644 --- a/sw/airborne/subsystems/datalink/transport.h +++ b/sw/airborne/subsystems/datalink/transport.h @@ -46,7 +46,7 @@ struct transport { // overrun and error flags uint8_t ovrn, error; // packet sequence - uint8_t packet_seq; /* XGGDEBUG:SEQ: need to initialize to 1 */ + uint8_t packet_seq; }; /** Transport link macros diff --git a/sw/ground_segment/cockpit/compass.ml b/sw/ground_segment/cockpit/compass.ml index 9b8207c43ce..e67ec69e6c0 100644 --- a/sw/ground_segment/cockpit/compass.ml +++ b/sw/ground_segment/cockpit/compass.ml @@ -139,6 +139,37 @@ let _ = let distance = sqrt (Pprz.float_assoc "dist2_wp" values) in draw da !desired_course !course distance in ignore (Tm_Pprz.message_bind "MISSION_STATUS" get_navigation); (* XGGDEBUG:NEWMESS: Changed NAVIGATION for MISSION_STATUS, seems that something more has to change but lets see if works *) + + (* + + + + + + + + + + + + + + + + + + + + + + + + + + +*) + + let get_gps = fun _ values -> (* if speed < 1m/s, the course information is not relevant *) course :=