mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-05 23:49:00 +08:00
moved RADIO_CONTROL_SPEKTRUM_MODEL to the makefile section of the airframe file - did not create a section in the xml cause this file should be uneeded, the spektrum message being self descriptive - still need to figure the description though
This commit is contained in:
@@ -43,21 +43,21 @@
|
||||
<define name="GYRO_R_NEUTRAL" value="32687"/>
|
||||
|
||||
<define name="GYRO_P_SENS" value=" 1.101357422" integer="16"/>
|
||||
<define name="GYRO_Q_SENS" value="-1.122670898" integer="16"/>
|
||||
<define name="GYRO_R_SENS" value="-1.104890137" integer="16"/>
|
||||
<define name="GYRO_Q_SENS" value=" 1.122670898" integer="16"/>
|
||||
<define name="GYRO_R_SENS" value=" 1.104890137" integer="16"/>
|
||||
|
||||
|
||||
<define name="ACCEL_X_SENS" value="-2.58273701242" integer="16"/>
|
||||
<define name="ACCEL_Y_SENS" value="-2.54076215332" integer="16"/>
|
||||
<define name="ACCEL_Z_SENS" value="-2.57633620646" integer="16"/>
|
||||
<define name="ACCEL_X_SENS" value=" 2.58273701242" integer="16"/>
|
||||
<define name="ACCEL_Y_SENS" value=" 2.54076215332" integer="16"/>
|
||||
<define name="ACCEL_Z_SENS" value=" 2.57633620646" integer="16"/>
|
||||
|
||||
<define name="ACCEL_X_NEUTRAL" value="32857"/>
|
||||
<define name="ACCEL_Y_NEUTRAL" value="32429"/>
|
||||
<define name="ACCEL_Z_NEUTRAL" value="32593"/>
|
||||
|
||||
<define name="MAG_X_SENS" value=" 5.32718104135" integer="16"/>
|
||||
<define name="MAG_Y_SENS" value="-4.87857821202" integer="16"/>
|
||||
<define name="MAG_Z_SENS" value="-3.11986612709" integer="16"/>
|
||||
<define name="MAG_Y_SENS" value=" 4.87857821202" integer="16"/>
|
||||
<define name="MAG_Z_SENS" value=" 3.11986612709" integer="16"/>
|
||||
|
||||
<define name="MAG_X_NEUTRAL" value="-43"/>
|
||||
<define name="MAG_Y_NEUTRAL" value=" 49"/>
|
||||
@@ -189,6 +189,7 @@ BOARD_CFG=\"boards/lisa_0.99.h\"
|
||||
FLASH_MODE = JTAG
|
||||
|
||||
ap.CFLAGS += -DMODEM_BAUD=B57600
|
||||
ap.CFLAGS += -DRADIO_CONTROL_SPEKTRUM_MODEL_H=\"radio_control/booz_radio_control_spektrum_dx7se.h\"
|
||||
|
||||
include $(PAPARAZZI_SRC)/conf/autopilot/booz2_common.makefile
|
||||
include $(CFG_BOOZ)/booz2_autopilot.makefile
|
||||
|
||||
@@ -38,21 +38,21 @@
|
||||
<define name="GYRO_R_NEUTRAL" value="32687"/>
|
||||
|
||||
<define name="GYRO_P_SENS" value=" 1.101357422" integer="16"/>
|
||||
<define name="GYRO_Q_SENS" value="-1.122670898" integer="16"/>
|
||||
<define name="GYRO_R_SENS" value="-1.104890137" integer="16"/>
|
||||
<define name="GYRO_Q_SENS" value=" 1.122670898" integer="16"/>
|
||||
<define name="GYRO_R_SENS" value=" 1.104890137" integer="16"/>
|
||||
|
||||
|
||||
<define name="ACCEL_X_SENS" value="-2.58273701242" integer="16"/>
|
||||
<define name="ACCEL_Y_SENS" value="-2.54076215332" integer="16"/>
|
||||
<define name="ACCEL_Z_SENS" value="-2.57633620646" integer="16"/>
|
||||
<define name="ACCEL_X_SENS" value=" 2.58273701242" integer="16"/>
|
||||
<define name="ACCEL_Y_SENS" value=" 2.54076215332" integer="16"/>
|
||||
<define name="ACCEL_Z_SENS" value=" 2.57633620646" integer="16"/>
|
||||
|
||||
<define name="ACCEL_X_NEUTRAL" value="32857"/>
|
||||
<define name="ACCEL_Y_NEUTRAL" value="32429"/>
|
||||
<define name="ACCEL_Z_NEUTRAL" value="32593"/>
|
||||
|
||||
<define name="MAG_X_SENS" value=" 5.32718104135" integer="16"/>
|
||||
<define name="MAG_Y_SENS" value="-4.87857821202" integer="16"/>
|
||||
<define name="MAG_Z_SENS" value="-3.11986612709" integer="16"/>
|
||||
<define name="MAG_Y_SENS" value=" 4.87857821202" integer="16"/>
|
||||
<define name="MAG_Z_SENS" value=" 3.11986612709" integer="16"/>
|
||||
|
||||
<define name="MAG_X_NEUTRAL" value="-43"/>
|
||||
<define name="MAG_Y_NEUTRAL" value=" 49"/>
|
||||
@@ -184,6 +184,7 @@ BOARD_CFG=\"boards/lisa_0.99.h\"
|
||||
FLASH_MODE = JTAG
|
||||
|
||||
ap.CFLAGS += -DMODEM_BAUD=B57600
|
||||
ap.CFLAGS += -DRADIO_CONTROL_SPEKTRUM_MODEL_H=\"radio_control/booz_radio_control_spektrum_dx7se.h\"
|
||||
|
||||
include $(PAPARAZZI_SRC)/conf/autopilot/booz2_common.makefile
|
||||
include $(CFG_BOOZ)/booz2_autopilot.makefile
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
#
|
||||
ap.CFLAGS += -DUSE_RADIO_CONTROL
|
||||
ap.CFLAGS += -DRADIO_CONTROL_TYPE_H=\"radio_control/booz_radio_control_spektrum.h\"
|
||||
ap.CFLAGS += -DRADIO_CONTROL_SPEKTRUM_MODEL_H=\"radio_control/booz_radio_control_spektrum_dx7se.h\"
|
||||
|
||||
ap.srcs += $(SRC_BOOZ)/booz_radio_control.c \
|
||||
$(SRC_BOOZ)/radio_control/booz_radio_control_spektrum.c
|
||||
|
||||
Reference in New Issue
Block a user