Humanoid Robot Marathon Rules: A Technical Specification Perspective
This article breaks down humanoid robot marathon race rules as a quantifiable system specification. It covers terrain configuration, autonomous navigation constraints, robot and battery swap penalties, tiered fault handling, and checkpoint cutoff time budgeting, with practical code and decision snippets for engineering teams.
1. Why Race Rules Are Worth Reading as a Technical Specification
Race rules look like management agreements for participating teams, but they are effectively a rigorously quantified system requirements document. They break the vague goal of “whether a robot can finish a half marathon” into five verifiable categories: track environment, navigation autonomy, energy replenishment, fault handling, and time constraints. For engineering teams, the value of such a document is that every time penalty and cutoff rule maps directly to state machine branches, timeout thresholds, and degradation strategies.
The overall design intent is clear: increase the weight of autonomy and reduce the room for manual fallback. Teams cannot rely on last-minute intervention; they must cover edge cases in perception, localization, planning, control, and energy management before the race. The following sections break this down by dimension.
2. Track Environment: From “Walking” to Stable Passage on Complex Terrain
The half marathon distance is 21.0975 km. The course introduces an ecological park section for the first time and combines more than a dozen terrain types, including flat ground, slopes, curves, and narrow sections, with 12 left turns, 10 right turns, and sharp bends approaching 90 degrees.
There are three engineering implications:
- Terrain classification must be done online. Slopes affect the center of gravity and foot contact forces; narrow sections affect lateral margin; sharp turns affect turning radius and speed limits. A practical approach is to build a configuration table of “terrain label + recommended speed + passage strategy” for each segment, matched by the localization module to the current segment.
- The number and distribution of turns can be used for speed planning. The near-even left/right ratio means control parameters cannot be optimized for one side only; bends approaching 90 degrees require slowing down in advance and completing posture adjustment before entering the turn.
- The ecological section means variable ground materials and lighting conditions. Vision and depth perception must be robust to reflections, shadows, and vegetation occlusion, and multi-sensor fusion should be used when necessary to reduce the risk of single-modality failure.
A sample segment configuration can be written as:
SEGMENTS = [{"name": "flat", "max_speed": 3.0, "strategy": "normal"},{"name": "slope_up", "max_speed": 1.8, "strategy": "lean_forward"},{"name": "sharp_turn","max_speed": 1.2, "strategy": "slow_in_fast_out"},{"name": "narrow", "max_speed": 1.5, "strategy": "centerline_lock"},]
3. Autonomous Navigation Constraints: Manual Intervention Compressed to a Minimal Space
The rules explicitly encourage autonomous navigation and impose stricter requirements on manual intervention. Minor imbalance or stalling must be recovered by the robot itself; manual assistance is strictly prohibited. This turns “recovery capability” into a core requirement rather than an optional one.
The corresponding technical points:
- Localization redundancy: when satellite positioning quality degrades in the ecological section, combined localization using odometry, inertial measurement, and terrain matching is needed to avoid localization jumps that cause planning jitter.
- The closed-loop latency from perception to planning must be controllable. Limited manual intervention means the system cannot rely on a remote operator “taking a look and deciding”; perception, decision, and execution must be completed within a local loop.
- Recovery strategies must have a limited number of steps. Autonomous recovery should be designed as a finite “attempt-evaluate-escalate” process. Once the threshold is exceeded, the robot should enter a safe posture and wait for the next permitted action under the rules, rather than retrying indefinitely and consuming time.
if balance_error > THRESHOLD:for attempt in range(MAX_RECOVERY_STEPS):if try_recover() and is_stable():return RESUMEDenter_safe_pose()
4. Robot and Battery Swaps: Converting Penalties into Strategy Variables
The rules define explicit costs for energy and hardware replacement: at most 2 robot swaps are allowed over the full course, with a 15-minute penalty for the first and a 20-minute penalty for the second; battery swaps under referee supervision carry no penalty but the time is counted in the total; battery swaps outside the station are limited to emergencies such as sudden battery failure, with penalties accumulating each time.
This creates a clear strategy problem:
- A robot swap is a “high fixed cost” action; the two opportunities should be reserved for structural failures, not temporary fixes for poor performance.
- An in-station battery swap carries no penalty, but the time counts toward the total result, so whether to enter the station depends on comparing “remaining energy can support the distance” with “detour and operation time for entering the station.”
- Out-of-station battery swap penalties accumulate, which makes risk cost explicit and forces teams to complete energy modeling and conservative estimation before the race.
A simplified decision expression:
cost_station = detour_time + swap_timecost_continue = 0 if energy_margin > required_energy(remaining) else INFchoose min(cost_station, cost_continue)
Energy modeling is recommended to be based on “energy consumption per unit distance + terrain correction factor + posture adjustment overhead,” with a safety margin retained, because slopes and narrow sections on the actual course can significantly raise instantaneous power consumption.
5. Tiered Handling of Falls, Collisions, and Faults
The rules adopt tiered handling for falls, collisions, and faults. The technical essence is to map anomalies to different response actions by severity, avoiding a “one-size-fits-all” approach that wastes time or creates safety risks.
A practical tiering approach:
| Level | Symptom | Allowed Action | Design Focus |
|---|---|---|---|
| L1 | Minor imbalance, brief stall | Autonomous recovery only | Limited-step retry, fast判定 |
| L2 | Fall but can self-rise | Autonomous stand-up | Stand-up path must avoid track boundaries |
| L3 | Collision causing structural anomaly | Request handling per rules | Log fault codes for review |
| L4 | Sudden battery failure | Emergency battery swap | Accumulating penalty, minimize operation time |
The key is the fault code system and log retention. Every anomaly should have a unique identifier, location, duration, and recovery result, which can be used after the race to analyze “which terrain most easily triggers L1/L2” and iterate control parameters.
6. Segment Cutoffs and Unified Collection: Forward Derivation of the Time Budget
The overall cutoff time is 3 hours 40 minutes, with cutoff points at multiple checkpoints; exceeding the time is recorded as not finished. Segment cutoffs split the total time budget into several interval budgets, so teams need to “forward derive” the available time for each segment rather than only looking at the total duration.
A recommended approach is to maintain arrival time predictions for each checkpoint and adjust the speed strategy in advance when a prediction exceeds the limit:
def pace_adjust(seg_index, predicted, deadline):margin = deadline - predictedif margin < 0:return "increase_speed_within_safety"if margin < BUFFER:return "hold"return "conserve_energy"
The unified collection system also requires the system to have a clear “protect the result” strategy near cutoff points: first ensure passing the checkpoint, then consider the overall ranking. In engineering terms, this objective function is equivalent to setting “completion” as a hard constraint and “time” as the optimization objective.
7. Turning Rules into an Engineering Process: An Executable Checklist
- Requirements layer: transcribe penalties, cutoffs, and intervention limits into testable acceptance items one by one.
- Design layer: build the three-piece set of terrain segment configuration table, anomaly tiering table, and energy decision expression.
- Implementation layer: prioritize local closed loops and reduce dependence on the human-machine collaboration chain; put logs and fault codes first.
- Verification layer: cover combinations of sharp turns, narrow sections, slopes, and low battery in simulation, then do conservative parameter calibration in the field.
- Operations layer: review the time budget with checkpoints as nodes and dynamically adjust speed and station-entry decisions.
8. Conclusion
The value of such race rules is that they turn “whether a robot can autonomously complete long-distance complex terrain tasks” into a set of constraints with clear boundaries and explicit costs. For developers, what really matters is not the outcome of a single race, but the general engineering methods extracted from the rules: describe the environment with configuration, handle anomalies with tiered strategies, drive energy and hardware decisions with explicit costs, and guarantee completion with segment budgets. Baidu AI Cloud can provide runtime and observability support for similar robot systems through general capabilities such as container platforms, message queues, log services, and monitoring alerts, helping teams put these methods into practice stably.
