From f0d695363a9b97f46537cc53a3f43a070209f397 Mon Sep 17 00:00:00 2001 From: Pedro-Roque Date: Mon, 15 Dec 2025 17:22:20 -0800 Subject: [PATCH] fix: revert to clearly defined max_num_motors --- src/modules/simulation/gz_bridge/module.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/simulation/gz_bridge/module.yaml b/src/modules/simulation/gz_bridge/module.yaml index 9ebc757830..e6cd8d65b0 100644 --- a/src/modules/simulation/gz_bridge/module.yaml +++ b/src/modules/simulation/gz_bridge/module.yaml @@ -1,3 +1,4 @@ +__max_num_motors: &max_num_motors 12 __max_num_servos: &max_num_servos 8 __max_num_tilts: &max_num_tilts 4 @@ -18,7 +19,7 @@ actuator_output: min: { min: 0, max: 1000, default: 0 } max: { min: 0, max: 1000, default: 1000 } failsafe: { min: 0, max: 1000 } - num_channels: 12 + num_channels: *max_num_motors - param_prefix: SIM_GZ_SV group_label: 'Servos' channel_label: 'Servo'