From 2985b5b9c28eb23c1d1ca3cb67de4ebcd7d2b539 Mon Sep 17 00:00:00 2001 From: Jukka Laitinen Date: Fri, 13 Jan 2023 12:41:29 +0400 Subject: [PATCH] msg/ActuatorTest.msg: Use default queue size the same as MAX_NUM_MOTORS For the esc_calibration code, the actuator test is published for each motor in a row. If the orb queue size is too small, messages are lost and not received in mixer_module. Set the default orb queue size of ActuatorTest high enough to keep the commands for all motors in the queue. Signed-off-by: Jukka Laitinen --- msg/ActuatorTest.msg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msg/ActuatorTest.msg b/msg/ActuatorTest.msg index 6b8fa2bd4e..f880720da0 100644 --- a/msg/ActuatorTest.msg +++ b/msg/ActuatorTest.msg @@ -18,4 +18,4 @@ float32 value # range: [-1, 1], where 1 means maximum positive output, # and NaN maps to disarmed (stop the motors) uint32 timeout_ms # timeout in ms after which to exit test mode (if 0, do not time out) -uint8 ORB_QUEUE_LENGTH = 8 +uint8 ORB_QUEUE_LENGTH = 12 # same as MAX_NUM_MOTORS to support code in esc_calibration