[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [4377] macro to copy a waypoint from an other
From: |
Gautier Hattenberger |
Subject: |
[paparazzi-commits] [4377] macro to copy a waypoint from an other |
Date: |
Fri, 18 Dec 2009 15:47:32 +0000 |
Revision: 4377
http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=4377
Author: gautier
Date: 2009-12-18 15:47:31 +0000 (Fri, 18 Dec 2009)
Log Message:
-----------
macro to copy a waypoint from an other
Modified Paths:
--------------
paparazzi3/trunk/sw/airborne/booz/booz2_navigation.h
Modified: paparazzi3/trunk/sw/airborne/booz/booz2_navigation.h
===================================================================
--- paparazzi3/trunk/sw/airborne/booz/booz2_navigation.h 2009-12-16
17:39:39 UTC (rev 4376)
+++ paparazzi3/trunk/sw/airborne/booz/booz2_navigation.h 2009-12-18
15:47:31 UTC (rev 4377)
@@ -116,6 +116,7 @@
#define NavSetAltitudeReferenceHere() ({ nav_reset_alt(); FALSE; })
#define NavSetWaypointHere(_wp) ({ VECT2_COPY(waypoints[_wp],
booz_ins_enu_pos); FALSE; })
+#define NavCopyWaypoint(_wp1, _wp2) ({ VECT2_COPY(waypoints[_wp1],
waypoints[_wp2]); FALSE; })
#define WaypointX(_wp) POS_FLOAT_OF_BFP(waypoints[_wp].x)
#define WaypointY(_wp) POS_FLOAT_OF_BFP(waypoints[_wp].y)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paparazzi-commits] [4377] macro to copy a waypoint from an other,
Gautier Hattenberger <=