1
0
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:
Corvus Corax 2014-02-02 14:13:25 +01:00
parent 597ac4db2a
commit 8b25ac1894
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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