From c67973f92be8eabfd245658df6524f2351bee6b9 Mon Sep 17 00:00:00 2001 From: julibert Date: Wed, 1 Apr 2020 12:41:53 +0200 Subject: [PATCH 1/2] Set XML buffer length for Crazyflie app. --- apps/crazyflie_position_publisher/app-colcon.meta | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/crazyflie_position_publisher/app-colcon.meta b/apps/crazyflie_position_publisher/app-colcon.meta index dad02f6e..6d359152 100644 --- a/apps/crazyflie_position_publisher/app-colcon.meta +++ b/apps/crazyflie_position_publisher/app-colcon.meta @@ -8,7 +8,8 @@ "-DRMW_UXRCE_MAX_SUBSCRIPTIONS=0", "-DRMW_UXRCE_MAX_SERVICES=0", "-DRMW_UXRCE_MAX_CLIENTS=0", - "-DRMW_UXRCE_MAX_HISTORY=1" + "-DRMW_UXRCE_MAX_HISTORY=1", + "-DRMW_UXRCE_XML_BUFFER_LENGTH=400" ] } } From 7867e25f2d83e5d97bd93b7dc0ea9053c93d6dc2 Mon Sep 17 00:00:00 2001 From: julibert Date: Wed, 1 Apr 2020 14:42:01 +0200 Subject: [PATCH 2/2] Increase heap size for the Crazyflie application. --- microros_crazyflie21_extensions/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/microros_crazyflie21_extensions/Makefile b/microros_crazyflie21_extensions/Makefile index 37d354c4..5dbfd76a 100644 --- a/microros_crazyflie21_extensions/Makefile +++ b/microros_crazyflie21_extensions/Makefile @@ -67,7 +67,7 @@ INCLUDES += $(MICROROS_INCLUDES) VPATH += $(MICROROS_POSIX_FREERTOS_OBJECTS_VPATH) VPATH += $(SRC_DIR)/ VPATH += $(UROS_APP_FOLDER)/ -CFLAGS += -DFREERTOS_HEAP_SIZE=50000 +CFLAGS += -DFREERTOS_HEAP_SIZE=60000 CROSS_COMPILE ?= $(TOPFOLDER)/toolchain/bin/arm-none-eabi- include $(CRAZYFLIE_BASE)/Makefile