mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-27 00:37:37 +08:00
start fixing booz radio control includes
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#include "booz_radio_control.h"
|
||||
#include <subsystems/radio_control.h>
|
||||
|
||||
uint8_t booz_radio_control_ppm_cur_pulse;
|
||||
uint32_t booz_radio_control_ppm_last_pulse_time;
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#include "booz_radio_control.h"
|
||||
#include <subsystems/radio_control.h>
|
||||
#include "booz_radio_control_spektrum_arch.h"
|
||||
|
||||
bool_t rc_spk_parser_status;
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#include "booz_radio_control.h"
|
||||
#include <subsystems/radio_control.h>
|
||||
|
||||
#include "nps_radio_control.h"
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#include "booz_radio_control.h"
|
||||
#include <subsystems/radio_control.h>
|
||||
|
||||
#include <stm32/rcc.h>
|
||||
#include <stm32/gpio.h>
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
#include <stm32/misc.h>
|
||||
#include <stm32/usart.h>
|
||||
#include "uart.h"
|
||||
#include "booz_radio_control.h"
|
||||
#include <subsystems/radio_control.h>
|
||||
#include "booz_radio_control_spektrum_arch.h"
|
||||
#include <firmwares/rotorcraft/autopilot.h>
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#include "booz_radio_control.h"
|
||||
#include <subsystems/radio_control.h>
|
||||
|
||||
#include "led.h"
|
||||
|
||||
|
||||
@@ -21,6 +21,6 @@
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#include "booz_radio_control.h"
|
||||
#include <subsystems/radio_control.h>
|
||||
|
||||
void radio_control_impl_init(void) { }
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
*/
|
||||
|
||||
#include "stdio.h"
|
||||
#include "booz_radio_control.h"
|
||||
#include <subsystems/radio_control.h>
|
||||
|
||||
static struct rc_joby_parser_state parser;
|
||||
static const int16_t rc_joby_signs[RADIO_CONTROL_NB_CHANNEL] = RC_JOBY_SIGNS;
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#include "booz_radio_control.h"
|
||||
#include <subsystems/radio_control.h>
|
||||
|
||||
|
||||
uint16_t booz_radio_control_ppm_pulses[ RADIO_CONTROL_NB_CHANNEL ];
|
||||
|
||||
@@ -69,7 +69,7 @@ extern uint8_t telemetry_mode_Ap_DefaultChannel;
|
||||
#endif
|
||||
|
||||
#ifdef USE_RADIO_CONTROL
|
||||
#include "booz_radio_control.h"
|
||||
#include <subsystems/radio_control.h>
|
||||
#define PERIODIC_SEND_RC(_chan) DOWNLINK_SEND_RC(_chan, RADIO_CONTROL_NB_CHANNEL, radio_control.values)
|
||||
#define PERIODIC_SEND_FBW_STATUS(_chan) { uint16_t current; DOWNLINK_SEND_FBW_STATUS(_chan, &radio_control.status, &pprz_mode, &vsupply, ¤t); }
|
||||
#else
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
#include "led.h"
|
||||
#include <math/pprz_algebra_float.h>
|
||||
#include "string.h"
|
||||
#include "booz_radio_control.h"
|
||||
#include <subsystems/radio_control.h>
|
||||
#include "mercury_supervision.h"
|
||||
#include <firmwares/rotorcraft/actuators.h>
|
||||
#include "props_csc.h"
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
#include "booz/guidance/booz2_guidance_v.h"
|
||||
#include "csc_can.h"
|
||||
#include "csc_baro.h"
|
||||
#include "booz_radio_control.h"
|
||||
#include <subsystems/radio_control.h>
|
||||
|
||||
#include "booz/stabilization/stabilization_attitude.h"
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
#include <firmwares/rotorcraft/autopilot.h>
|
||||
|
||||
#include "booz_radio_control.h"
|
||||
#include <subsystems/radio_control.h>
|
||||
#include "booz2_commands.h"
|
||||
#include <firmwares/rotorcraft/navigation.h>
|
||||
#include <firmwares/rotorcraft/guidance.h>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
#include <firmwares/rotorcraft/guidance/guidance_v.h>
|
||||
|
||||
|
||||
#include "booz_radio_control.h"
|
||||
#include <subsystems/radio_control.h>
|
||||
#include <firmwares/rotorcraft/stabilization.h>
|
||||
#include <subsystems/ahrs.h>
|
||||
// #include "booz_fms.h" FIXME
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
#include "booz2_commands.h"
|
||||
#include <firmwares/rotorcraft/actuators.h>
|
||||
#include "booz_radio_control.h"
|
||||
#include <subsystems/radio_control.h>
|
||||
|
||||
#include <subsystems/imu.h>
|
||||
#include "booz_gps.h"
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
#include <math/pprz_algebra_float.h>
|
||||
#include <subsystems/ahrs.h>
|
||||
#include "booz_radio_control.h"
|
||||
#include <subsystems/radio_control.h>
|
||||
|
||||
#include "airframe.h"
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
#include <firmwares/rotorcraft/stabilization.h>
|
||||
#include <subsystems/ahrs.h>
|
||||
#include "booz_radio_control.h"
|
||||
#include <subsystems/radio_control.h>
|
||||
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@
|
||||
#ifndef STABILIZATION_ATTITUDE_FLOAT_REF_EULER_FLOAT_H
|
||||
#define STABILIZATION_ATTITUDE_FLOAT_REF_EULER_FLOAT_H
|
||||
|
||||
#include "booz_radio_control.h"
|
||||
#include <subsystems/radio_control.h>
|
||||
#include <math/pprz_algebra_float.h>
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@
|
||||
|
||||
#include "stabilization_attitude_ref_int.h"
|
||||
|
||||
#include "booz_radio_control.h"
|
||||
#include <subsystems/radio_control.h>
|
||||
|
||||
|
||||
#define REF_ACCEL_FRAC 12
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@
|
||||
|
||||
#include <firmwares/rotorcraft/stabilization.h>
|
||||
|
||||
#include "booz_radio_control.h"
|
||||
#include <subsystems/radio_control.h>
|
||||
#include <math/pprz_algebra_float.h>
|
||||
|
||||
#include "stabilization_attitude_ref_float.h"
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
#include <subsystems/ahrs.h>
|
||||
|
||||
#include <subsystems/imu.h>
|
||||
#include "booz_radio_control.h"
|
||||
#include <subsystems/radio_control.h>
|
||||
#include "airframe.h"
|
||||
|
||||
#define F_UPDATE_RES 9
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
#include "downlink.h"
|
||||
|
||||
#ifdef USE_RADIO_CONTROL
|
||||
#include "booz_radio_control.h"
|
||||
#include <subsystems/radio_control.h>
|
||||
#endif
|
||||
|
||||
#include <firmwares/rotorcraft/autopilot.h>
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
/* sort of a hack, we're not really fixed wing here but we need their declarations */
|
||||
#include <firmwares/fixedwing/actuators.h>
|
||||
#include "rdyb_booz_imu.h"
|
||||
#include "booz_radio_control.h"
|
||||
#include <subsystems/radio_control.h>
|
||||
#include "rdyb_mahrs.h"
|
||||
|
||||
static struct ImuFloat imuFloat;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include <firmwares/rotorcraft/main.h>
|
||||
#include "nps_sensors.h"
|
||||
#include "nps_radio_control.h"
|
||||
#include "booz_radio_control.h"
|
||||
#include <subsystems/radio_control.h>
|
||||
#include <subsystems/imu.h>
|
||||
#include <firmwares/rotorcraft/baro.h>
|
||||
#include <firmwares/rotorcraft/battery.h>
|
||||
|
||||
Reference in New Issue
Block a user