mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
OP-1195 adapted task priorities for manualcontrol and stabilization
This commit is contained in:
parent
597ac4db2a
commit
8b25ac1894
@ -55,7 +55,7 @@
|
|||||||
#define STACK_SIZE_BYTES 1312
|
#define STACK_SIZE_BYTES 1312
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define TASK_PRIORITY (tskIDLE_PRIORITY + 4)
|
#define TASK_PRIORITY (tskIDLE_PRIORITY + 4) // device driver
|
||||||
#define FAILSAFE_TIMEOUT_MS 100
|
#define FAILSAFE_TIMEOUT_MS 100
|
||||||
#define MAX_MIX_ACTUATORS ACTUATORCOMMAND_CHANNEL_NUMELEM
|
#define MAX_MIX_ACTUATORS ACTUATORCOMMAND_CHANNEL_NUMELEM
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@
|
|||||||
#define STACK_SIZE_BYTES 1152
|
#define STACK_SIZE_BYTES 1152
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define TASK_PRIORITY (tskIDLE_PRIORITY + 4)
|
#define TASK_PRIORITY (tskIDLE_PRIORITY + 3) // 3 = flight control
|
||||||
#define UPDATE_PERIOD_MS 20
|
#define UPDATE_PERIOD_MS 20
|
||||||
#define THROTTLE_FAILSAFE -0.1f
|
#define THROTTLE_FAILSAFE -0.1f
|
||||||
#define ARMED_THRESHOLD 0.50f
|
#define ARMED_THRESHOLD 0.50f
|
||||||
|
@ -73,7 +73,7 @@
|
|||||||
#define STACK_SIZE_BYTES 840
|
#define STACK_SIZE_BYTES 840
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define TASK_PRIORITY (tskIDLE_PRIORITY + 4)
|
#define TASK_PRIORITY (tskIDLE_PRIORITY + 3) // FLIGHT CONTROL priority
|
||||||
#define FAILSAFE_TIMEOUT_MS 30
|
#define FAILSAFE_TIMEOUT_MS 30
|
||||||
|
|
||||||
// number of flight mode switch positions
|
// number of flight mode switch positions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user