paparazzi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paparazzi-commits] [5476] added one setting to make it more clear how t


From: antoine drouin
Subject: [paparazzi-commits] [5476] added one setting to make it more clear how to change addresses
Date: Thu, 19 Aug 2010 12:32:47 +0000

Revision: 5476
          http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=5476
Author:   poine
Date:     2010-08-19 12:32:47 +0000 (Thu, 19 Aug 2010)
Log Message:
-----------
added one setting to make it more clear how to change addresses

Modified Paths:
--------------
    paparazzi3/trunk/conf/settings/settings_booz2_asctec.xml
    paparazzi3/trunk/sw/airborne/booz/actuators/booz_actuators_asctec.h

Modified: paparazzi3/trunk/conf/settings/settings_booz2_asctec.xml
===================================================================
--- paparazzi3/trunk/conf/settings/settings_booz2_asctec.xml    2010-08-19 
11:02:22 UTC (rev 5475)
+++ paparazzi3/trunk/conf/settings/settings_booz2_asctec.xml    2010-08-19 
12:32:47 UTC (rev 5476)
@@ -3,7 +3,8 @@
 
     <dl_settings NAME="asctec">
       <dl_setting var="actuators_asctec.cmd" min="0" step="1" max="3" 
module="actuators/booz_actuators_asctec" shortname="cmd"  
values="NONE|TEST|REVERSE|SET_ADDR"  handler="SetCommand"/>
-      <dl_setting var="actuators_asctec.new_addr"  min="0" step="1" max="3" 
module="actuators/booz_actuators_asctec" shortname="addr"  
values="FRONT|BACK|LEFT|RIGHT"  handler="SetAddr"/>
+      <dl_setting var="actuators_asctec.cur_addr"  min="0" step="1" max="3" 
module="actuators/booz_actuators_asctec" shortname="cur_addr"  
values="FRONT|BACK|LEFT|RIGHT"  handler="SetCurAddr"/>
+      <dl_setting var="actuators_asctec.new_addr"  min="0" step="1" max="3" 
module="actuators/booz_actuators_asctec" shortname="new_addr"  
values="FRONT|BACK|LEFT|RIGHT"  handler="SetNewAddr"/>
       <dl_setting var="actuators_asctec.cmds[PITCH]"  min="-100" step="1" 
max="100" module="actuators/booz_actuators_asctec" shortname="pitch"/>
       <dl_setting var="actuators_asctec.cmds[ROLL]"   min="-100" step="1" 
max="100" module="actuators/booz_actuators_asctec" shortname="roll"/>
       <dl_setting var="actuators_asctec.cmds[YAW]"    min="-100" step="1" 
max="100" module="actuators/booz_actuators_asctec" shortname="yaw"/>

Modified: paparazzi3/trunk/sw/airborne/booz/actuators/booz_actuators_asctec.h
===================================================================
--- paparazzi3/trunk/sw/airborne/booz/actuators/booz_actuators_asctec.h 
2010-08-19 11:02:22 UTC (rev 5475)
+++ paparazzi3/trunk/sw/airborne/booz/actuators/booz_actuators_asctec.h 
2010-08-19 12:32:47 UTC (rev 5476)
@@ -57,9 +57,13 @@
     actuators_asctec.cmd = _v;                 \
 }
 
-#define booz_actuators_asctec_SetAddr(_v) {    \
+#define booz_actuators_asctec_SetNewAddr(_v) { \
     actuators_asctec.new_addr = _v;            \
 }
 
+#define booz_actuators_asctec_SetCurAddr(_v) { \
+    actuators_asctec.cur_addr = _v;            \
+}
 
+
 #endif /* BOOZ_ACTUATORS_ASCTEC_H */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]