From 1c621fa4d710302c7a4a78f4d39dcc5459d92f47 Mon Sep 17 00:00:00 2001 From: James Cotton Date: Sat, 28 May 2011 20:33:42 -0500 Subject: [PATCH 1/2] OP-508: Make rotation fields int16 instead of int8 to allow +/- 180 --- shared/uavobjectdefinition/attitudesettings.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/uavobjectdefinition/attitudesettings.xml b/shared/uavobjectdefinition/attitudesettings.xml index 808bbe80f..af89cc0d6 100644 --- a/shared/uavobjectdefinition/attitudesettings.xml +++ b/shared/uavobjectdefinition/attitudesettings.xml @@ -2,7 +2,7 @@ Settings for the @ref Attitude module used on CopterControl - + From 5be27fda838fe95338edfc11c7fb1109d00cbf61 Mon Sep 17 00:00:00 2001 From: Stacey Sheldon Date: Sun, 29 May 2011 00:12:26 -0400 Subject: [PATCH 2/2] coptercontrol: Increase stack size for system module When running flight software from master (cf74908), my config was pushing the system module stack usage to within 16 bytes of its limit. This triggers a stack overflow alarm which prevents the quad from arming/flying. This change increases the available stack size such that there are 72 bytes of stack free (a previously stated safe margin) when my quad is sitting idle and unarmed on the bench. --- flight/CopterControl/System/inc/pios_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flight/CopterControl/System/inc/pios_config.h b/flight/CopterControl/System/inc/pios_config.h index af1b7d22d..77c5c51ec 100644 --- a/flight/CopterControl/System/inc/pios_config.h +++ b/flight/CopterControl/System/inc/pios_config.h @@ -92,7 +92,7 @@ /* Task stack sizes */ #define PIOS_ACTUATOR_STACK_SIZE 1020 #define PIOS_MANUAL_STACK_SIZE 724 -#define PIOS_SYSTEM_STACK_SIZE 504 +#define PIOS_SYSTEM_STACK_SIZE 560 #define PIOS_STABILIZATION_STACK_SIZE 524 #define PIOS_TELEM_STACK_SIZE 500