Skip to content

Commit d07c078

Browse files
committed
Updated the arming for the BigQuad
1 parent c70982d commit d07c078

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

src/platform/interface/platform_defaults.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,3 +215,12 @@
215215
#ifndef HEALTH_PROPELLER_TEST_THRESHOLD
216216
#define HEALTH_PROPELLER_TEST_THRESHOLD 0.0f
217217
#endif
218+
219+
// For safety, when the BigQuad deck is enabled, the user should
220+
// know when the platform is ready to fly.
221+
#ifdef CONFIG_DECK_BIGQUAD
222+
#define CONFIG_MOTORS_REQUIRE_ARMING 1
223+
#ifndef CONFIG_MOTORS_DEFAULT_IDLE_THRUST
224+
#define CONFIG_MOTORS_DEFAULT_IDLE_THRUST 7000
225+
#endif
226+
#endif

src/platform/interface/platform_defaults_cf2.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,3 @@
163163
#define PID_POS_VEL_Y_MAX 1.0f
164164
#define PID_POS_VEL_Z_MAX 1.0f
165165

166-
#if defined(CONFIG_DECK_BIGQUAD) && defined(MOTORS_REQUIRE_ARMING)
167-
#define CONFIG_MOTORS_DEFAULT_IDLE_THRUST 7000
168-
#endif

0 commit comments

Comments
 (0)