paparazzi-commits
[Top][All Lists]
Advanced

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

[paparazzi-commits] [6126] enable KILL_MOTORS fag


From: Eric
Subject: [paparazzi-commits] [6126] enable KILL_MOTORS fag
Date: Sat, 09 Oct 2010 07:42:39 +0000

Revision: 6126
          http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=6126
Author:   lamestllama
Date:     2010-10-09 07:42:38 +0000 (Sat, 09 Oct 2010)
Log Message:
-----------
enable KILL_MOTORS fag

Modified Paths:
--------------
    paparazzi3/trunk/sw/airborne/firmwares/rotorcraft/actuators/actuators_heli.c

Modified: 
paparazzi3/trunk/sw/airborne/firmwares/rotorcraft/actuators/actuators_heli.c
===================================================================
--- 
paparazzi3/trunk/sw/airborne/firmwares/rotorcraft/actuators/actuators_heli.c    
    2010-10-09 03:43:40 UTC (rev 6125)
+++ 
paparazzi3/trunk/sw/airborne/firmwares/rotorcraft/actuators/actuators_heli.c    
    2010-10-09 07:42:38 UTC (rev 6126)
@@ -34,8 +34,14 @@
 /* define the glue between control and SetActuatorsFromCommands */
 #define actuators actuators_pwm_values
 #define SERVOS_TICS_OF_USEC(_v) (_v)
-#define ESC_STOPPED SERVOS_TICS_OF_USEC(1000)
-#define ESC_HOVER   SERVOS_TICS_OF_USEC(1750)
+#define ESC_STOPPED SERVOS_TICS_OF_USEC(0)
+
+#ifndef KILL_MOTORS
+#define ESC_HOVER   SERVOS_TICS_OF_USEC(7500)
+#else
+#define ESC_HOVER   SERVOS_TICS_OF_USEC(0)
+#endif
+
 #define Actuator(_x)  actuators_pwm_values[_x]
 #define ChopServo(x,a,b) Chop(x, a, b)
 #define ActuatorsCommit  actuators_pwm_commit




reply via email to

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