mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-30 07:53:33 +08:00
only enforce frame size for nuttx
This commit is contained in:
@@ -33,8 +33,6 @@
|
||||
px4_add_module(
|
||||
MODULE modules__mc_att_control_multiplatform
|
||||
MAIN mc_att_control_m
|
||||
COMPILE_FLAGS
|
||||
-Wframe-larger-than=1300
|
||||
SRCS
|
||||
mc_att_control_main.cpp
|
||||
mc_att_control_start_nuttx.cpp
|
||||
|
||||
@@ -64,11 +64,9 @@ static const int ERROR = -1;
|
||||
|
||||
MulticopterAttitudeControlMultiplatform::MulticopterAttitudeControlMultiplatform() :
|
||||
MulticopterAttitudeControlBase(),
|
||||
_task_should_exit(false),
|
||||
_actuators_0_circuit_breaker_enabled(false),
|
||||
|
||||
/* publications */
|
||||
_att_sp_pub(nullptr),
|
||||
_v_rates_sp_pub(nullptr),
|
||||
_actuators_0_pub(nullptr),
|
||||
_n(_appState),
|
||||
|
||||
@@ -85,10 +85,8 @@ public:
|
||||
void spin() { _n.spin(); }
|
||||
|
||||
private:
|
||||
bool _task_should_exit; /**< if true, sensor task should exit */
|
||||
bool _actuators_0_circuit_breaker_enabled; /**< circuit breaker to suppress output */
|
||||
|
||||
px4::Publisher<px4_vehicle_attitude_setpoint> *_att_sp_pub; /**< attitude setpoint publication */
|
||||
px4::Publisher<px4_vehicle_rates_setpoint> *_v_rates_sp_pub; /**< rate setpoint publication */
|
||||
px4::Publisher<px4_actuator_controls_0> *_actuators_0_pub; /**< attitude actuator controls publication */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user