mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-23 17:18:28 -04:00
Copter: move EARTH_FRAME definition to defines.h
defines.h is for defining enumerations and other unchanging values while config.h is for changeable values like parameter defaults, enabling or disabling sensors.
This commit is contained in:
parent
66859686a0
commit
a3527ade61
@ -488,13 +488,6 @@
|
||||
// Attitude Control
|
||||
//
|
||||
|
||||
// definitions for earth frame and body frame
|
||||
// used to specify frame to rate controllers
|
||||
#define EARTH_FRAME 0
|
||||
#define BODY_FRAME 1
|
||||
#define BODY_EARTH_FRAME 2
|
||||
|
||||
|
||||
// Flight mode roll, pitch, yaw, throttle and navigation definitions
|
||||
|
||||
// Stabilize Mode
|
||||
|
@ -180,6 +180,10 @@
|
||||
// requested
|
||||
#define NO_COMMAND 0
|
||||
|
||||
// Earth frame and body frame definitions used by rate controllers
|
||||
#define EARTH_FRAME 0
|
||||
#define BODY_FRAME 1
|
||||
#define BODY_EARTH_FRAME 2
|
||||
|
||||
// Navigation modes held in nav_mode variable
|
||||
#define NAV_NONE 0
|
||||
|
Loading…
Reference in New Issue
Block a user