From 1e0394b63f9e1fad519180cae4d4fdb5a7f3f8c9 Mon Sep 17 00:00:00 2001 From: isaac0804 Date: Fri, 5 Jun 2026 15:21:58 +0100 Subject: [PATCH 1/2] feat(referee): add gefr exhibition profile yaml Adds a YAML referee profile for the Great Exhibition Festival Road demo, replacing the inline RefereeProfile(...) block that was previously hardcoded in Utama-Strategy. All 22 fields match the previous hardcoded values exactly. Notable settings: - out_of_bounds enabled (safety: prevents robot chasing ball near spectators) - defense_area and keep_out disabled (exhibition drill use) - all auto-advance off except normal_start_to_force (operator controls restarts) - ball_placement_to_next=false (human places ball, operator presses FORCE_START) - ball_obscured_recovery commented out pending feat/ball-obscured-recovery merge --- utama_core/custom_referee/profiles/gefr.yaml | 31 ++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 utama_core/custom_referee/profiles/gefr.yaml diff --git a/utama_core/custom_referee/profiles/gefr.yaml b/utama_core/custom_referee/profiles/gefr.yaml new file mode 100644 index 00000000..d2885fc1 --- /dev/null +++ b/utama_core/custom_referee/profiles/gefr.yaml @@ -0,0 +1,31 @@ +profile_name: "gefr" +rules: + goal_detection: + enabled: true + cooldown_seconds: 1.0 + out_of_bounds: + enabled: true + free_kick_assigner: "last_touch" + defense_area: + enabled: false + max_defenders: 1 + attacker_infringement: true + keep_out: + enabled: false + radius_meters: 0.3 + violation_persistence_frames: 30 +game: + half_duration_seconds: 300.0 + kickoff_team: "yellow" + force_start_after_goal: true + stop_duration_seconds: 3.0 + prepare_duration_seconds: 3.0 + kickoff_timeout_seconds: 10.0 + auto_advance: + stop_to_next_command: false + prepare_kickoff_to_normal: false + prepare_penalty_to_normal: false + direct_free_to_normal: false + ball_placement_to_next: false # human places ball; operator presses FORCE_START manually + normal_start_to_force: true # auto-force if kickoff stalls + # ball_obscured_recovery: true # uncomment after feat/ball-obscured-recovery is merged From e0c8a89627f9e76bf2134a57924f8f5b3da3920a Mon Sep 17 00:00:00 2001 From: isaac0804 Date: Fri, 5 Jun 2026 15:24:32 +0100 Subject: [PATCH 2/2] =?UTF-8?q?rename:=20gefr=20=E2=86=92=20gerf=20through?= =?UTF-8?q?out=20(typo=20fix)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utama_core/custom_referee/profiles/{gefr.yaml => gerf.yaml} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename utama_core/custom_referee/profiles/{gefr.yaml => gerf.yaml} (97%) diff --git a/utama_core/custom_referee/profiles/gefr.yaml b/utama_core/custom_referee/profiles/gerf.yaml similarity index 97% rename from utama_core/custom_referee/profiles/gefr.yaml rename to utama_core/custom_referee/profiles/gerf.yaml index d2885fc1..c79c100f 100644 --- a/utama_core/custom_referee/profiles/gefr.yaml +++ b/utama_core/custom_referee/profiles/gerf.yaml @@ -1,4 +1,4 @@ -profile_name: "gefr" +profile_name: "gerf" rules: goal_detection: enabled: true