Humanoid Robot Marathon Rules: A Technical Breakdown for Developers

    This article analyzes humanoid robot marathon competition rules as a system requirements specification, mapping each constraint to concrete engineering decisions. It covers multi-terrain perception and planning, autonomous navigation with strict limits on human intervention, energy management under battery-swap penalties, tiered fault handling and self-recovery, and time budgeting across checkpoint cutoffs. Developers will find practical design principles, pseudocode examples, and a segment-based pacing table for building robust, recoverable, and time-predictable humanoid robot systems.

    1. Why Competition Rules Should Be Read as Technical Requirements

    A half marathon for humanoid robots may look like a sporting event, but it is effectively a highly compressed system requirements specification. Every constraint in the rules maps directly to design boundaries for perception, localization, path planning, motion control, energy management, and fault recovery. For developers, understanding the rules means having the acceptance criteria.

    Compared with traditional autonomous driving scenarios, humanoid robot competitions have three distinctive characteristics:

    • The platform has more degrees of freedom, making dynamic balance harder.
    • The course is not a closed, standardized road but mixed terrain.
    • Restrictions on human intervention are stricter, forcing robots to be more autonomous.

    Together, these three factors mean the system must be degradable, recoverable, and explainable.

    2. Course Environment: Perception and Planning Challenges from Mixed Terrain

    The course is about 21.0975 km long and introduces an ecological park section for the first time. It combines more than ten terrain types, including flat ground, slopes, curves, and narrow sections, along with near-right-angle turns and multiple left-right turn sequences. For robots, this means:

    • Localization cannot rely on a single signal source; multi-source fusion is needed to avoid failures under tree cover or on slopes.
    • Path planning must support local replanning to adjust in real time for narrow sections and sharp turns.
    • Gait control must switch strategies by terrain, since support and swing strategies differ between slopes, flat ground, and narrow passages.
    • Perception must distinguish traversable areas from temporary obstacles and remain robust to changes in surface material.

    A common engineering approach combines three layers: a global route, a local cost map, and terrain classification. The global layer provides the checkpoint order, the local layer handles obstacle avoidance and edge keeping, and the terrain classification layer outputs the current surface type for gait and speed strategy selection.

    1. # Example: terrain-driven policy selection (pseudocode)
    2. def select_policy(terrain, curvature, width):
    3. if terrain == "slope":
    4. return {"speed": 0.6, "step_height": 0.05, "posture": "lean_forward"}
    5. if width < 0.8 or curvature > 0.7:
    6. return {"speed": 0.4, "step_height": 0.04, "posture": "narrow_stance"}
    7. return {"speed": 0.9, "step_height": 0.03, "posture": "normal"}

    3. Autonomous Navigation and Human Intervention: How Rules Constrain System Design

    The rules explicitly encourage autonomous navigation and impose stricter requirements on human intervention. This means remote takeover cannot be treated as a fallback; autonomy must be built into the main execution path. Practical design principles include:

    1. Minimize intervention: keep only a minimal amount of human operation within the safety boundaries allowed by the rules, and make it auditable.
    2. Observable state: the robot must continuously output localization confidence, remaining battery, gait status, and fault codes so the team can decide whether to intervene.
    3. Traceable decisions: every local replanning and obstacle avoidance action should be logged for post-race review and rule appeals.
    4. Clear degradation strategy: when perception confidence falls below a threshold, prioritize slowing down, stopping, or recovering in place rather than continuing blindly.

    4. Battery Swaps and Time Penalties: Constrained Optimization for Energy Management

    The rules place detailed constraints on energy replenishment: at most two robot swaps are allowed for the entire course, with a 15-minute penalty for the first and a 20-minute penalty for the second; in-station battery swaps are completed under the supervision of officials with no penalty but the time counts toward the total; out-of-station battery swaps are limited to emergencies such as sudden battery failure, with penalties accumulating each time.

    This turns energy management into a constrained optimization problem. Teams must trade off in-station swap time against the speed loss caused by not swapping. A simplified objective function can be written as:

    1. Total time = driving time + in-station swap time + total penalties
    2. Constraints: swaps <= 2; out-of-station swaps only for emergency faults

    In engineering, a battery prediction model can decide several kilometers in advance whether to enter a station, avoiding passive out-of-station swaps caused by running out of power on slopes or narrow sections.

    5. Tiered Handling of Falls, Collisions, and Faults

    The rules handle falls, collisions, and faults in tiers: minor balance loss and stagnation must be recovered autonomously by the robot, and human assistance is strictly prohibited. This places high demands on the fault tolerance of the control system. A recommended approach is a tiered fault state machine:

    • L1 minor balance loss: adjust posture in place, attempt autonomous recovery, and log the event.
    • L2 obvious fall: assess body damage and localization status, and continue at low speed if recovery is possible.
    • L3 structural fault: trigger a safe stop and wait for the handling process allowed by the rules.
    1. # Example: tiered fault state machine (pseudocode)
    2. def handle_fault(level, robot):
    3. if level == "L1":
    4. robot.self_recover(); log_event("L1")
    5. elif level == "L2":
    6. if robot.can_continue():
    7. robot.resume(speed=0.3)
    8. else:
    9. robot.safe_stop()
    10. else:
    11. robot.safe_stop(); request_official_assist()

    The key point is that autonomous recovery cannot depend on humans, so sufficient perception redundancy and joint fault tolerance must be reserved at the design stage.

    6. Segment Cutoffs and Unified Collection: Engineering the Time Budget

    The event uses segment cutoffs and a unified collection system, with an overall cutoff time of 3 hours 40 minutes. Multiple checkpoints have cutoff points, and failing to pass on time is recorded as not completed. This requires teams to break the total time budget down to each segment and form an executable pacing strategy. A simple budget table can manage this:

    Segment Target Time Cumulative Limit Risk
    Start to ecological section 40 min 40 min Congestion at start
    Ecological section to sharp-turn area 50 min 90 min Slopes and narrow roads
    Sharp-turn area to finish 70 min 160 min Battery and fatigue

    The pacing strategy should keep a safety margin to avoid overspending time in a single segment and being forced into a passive position later.

    7. Practical Recommendations for Developers

    To turn rules into system capabilities, proceed in this order: first build a multi-source fusion baseline for perception and localization, then add terrain classification and gait switching, then complete tiered fault handling and autonomous recovery, and finally calibrate the time budget with simulation plus field testing. If cloud coordination is involved, general-purpose capabilities can be used, such as object storage for race logs, message queues for dispatching scheduling commands, container platforms for simulation training, and logging and monitoring services for tracking robot status. However, critical real-time control should not be placed in the cloud; the robot itself must retain an independent safety loop.

    Overall, the value of these competition rules lies not in the clauses themselves but in how they turn autonomy, robustness, recoverability, and time controllability into quantifiable acceptance metrics. For developers, whoever can break these metrics into modules, write them as tests, and turn them into data holds the engineering initiative in this class of complex dynamic systems.