mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-29 02:38:07 +08:00
[airborne] removed pragma messages warning about changed signs
This commit is contained in:
@@ -109,8 +109,6 @@ float v_ctl_auto_groundspeed_sum_err;
|
|||||||
#define V_CTL_AUTO_AGR_CLIMB_GAIN 2.0 // altitude gain multiplier while in aggressive climb mode
|
#define V_CTL_AUTO_AGR_CLIMB_GAIN 2.0 // altitude gain multiplier while in aggressive climb mode
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#pragma message "CAUTION! ALL control gains have to be positive now!"
|
|
||||||
|
|
||||||
#ifndef V_CTL_ALTITUDE_PRE_CLIMB_CORRECTION
|
#ifndef V_CTL_ALTITUDE_PRE_CLIMB_CORRECTION
|
||||||
#define V_CTL_ALTITUDE_PRE_CLIMB_CORRECTION 1.0f
|
#define V_CTL_ALTITUDE_PRE_CLIMB_CORRECTION 1.0f
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -111,8 +111,6 @@ float v_ctl_auto_groundspeed_sum_err;
|
|||||||
#define V_CTL_AUTO_GROUNDSPEED_MAX_SUM_ERR 100
|
#define V_CTL_AUTO_GROUNDSPEED_MAX_SUM_ERR 100
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#pragma message "CAUTION! ALL control gains have to be positive now!"
|
|
||||||
|
|
||||||
void v_ctl_init( void ) {
|
void v_ctl_init( void ) {
|
||||||
/* mode */
|
/* mode */
|
||||||
v_ctl_mode = V_CTL_MODE_MANUAL;
|
v_ctl_mode = V_CTL_MODE_MANUAL;
|
||||||
|
|||||||
@@ -81,11 +81,6 @@
|
|||||||
#include "gpio.h"
|
#include "gpio.h"
|
||||||
#include "led.h"
|
#include "led.h"
|
||||||
|
|
||||||
#if defined RADIO_CONTROL
|
|
||||||
#pragma message "CAUTION! radio control roll channel input has been changed to follow aerospace sign conventions.\n You will have to change your radio control xml file to get a positive value when banking right!"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#if USE_AHRS
|
#if USE_AHRS
|
||||||
#if USE_IMU
|
#if USE_IMU
|
||||||
|
|||||||
@@ -116,8 +116,6 @@ inline static void h_ctl_pitch_loop( void );
|
|||||||
#define H_CTL_COURSE_DGAIN 0.
|
#define H_CTL_COURSE_DGAIN 0.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#pragma message "CAUTION! ALL control gains have to be positive now!"
|
|
||||||
|
|
||||||
// Some default roll gains
|
// Some default roll gains
|
||||||
// H_CTL_ROLL_ATTITUDE_GAIN needs to be define in airframe
|
// H_CTL_ROLL_ATTITUDE_GAIN needs to be define in airframe
|
||||||
#ifndef H_CTL_ROLL_RATE_GAIN
|
#ifndef H_CTL_ROLL_RATE_GAIN
|
||||||
|
|||||||
@@ -37,8 +37,6 @@
|
|||||||
#include CTRL_TYPE_H
|
#include CTRL_TYPE_H
|
||||||
#include "firmwares/fixedwing/autopilot.h"
|
#include "firmwares/fixedwing/autopilot.h"
|
||||||
|
|
||||||
#pragma message "CAUTION! ALL control gains have to be positive now!"
|
|
||||||
|
|
||||||
/* outer loop parameters */
|
/* outer loop parameters */
|
||||||
float h_ctl_course_setpoint; /* rad, CW/north */
|
float h_ctl_course_setpoint; /* rad, CW/north */
|
||||||
float h_ctl_course_pre_bank;
|
float h_ctl_course_pre_bank;
|
||||||
|
|||||||
@@ -38,11 +38,6 @@
|
|||||||
#include "firmwares/rotorcraft/commands.h"
|
#include "firmwares/rotorcraft/commands.h"
|
||||||
#include "firmwares/rotorcraft/actuators.h"
|
#include "firmwares/rotorcraft/actuators.h"
|
||||||
|
|
||||||
#if defined RADIO_CONTROL
|
|
||||||
#include "subsystems/radio_control.h"
|
|
||||||
#pragma message "CAUTION! RadioControl roll and yaw channel inputs have been reversed to follow aerospace sign conventions.\n You will have to change your radio control xml file to get a positive value when pushing roll stick right and a positive value when pushing yaw stick right!"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "subsystems/imu.h"
|
#include "subsystems/imu.h"
|
||||||
#include "subsystems/gps.h"
|
#include "subsystems/gps.h"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user