Manuscript Offprint
arXiv:2610.24895Anticipatory Gait Switching for Quadrupeds via Look-Ahead MDP Planning
Kelvin Aladum , Justin Peel , Nisar Ahmed
Abstract—Quadruped robots often switch gaits to traverse mixed terrain safely. Many practical supervisors enforce hardware constraints (e.g., dwell or guard intervals) using a transition handler. However, the switch decision itself is often driven by near-field thresholds, which can delay commitment when rough terrain is only detected shortly before contact in the local height map. We propose a lightweight height-map-only gait supervisor that unifies look-ahead and locomotion constraints in a single decision policy. A robot-centered height map is partitioned into near-, mid-, and far-field bands, each discretized into a terrain class, and band evolution is modeled as a Markov process. Gait selection is cast as a look-ahead Markov Decision Process whose transition model and cost explicitly encode platform-specific switching constraints. Indoor and outdoor experiments on a Unitree Go2 platform show reduced late switching, lower time spent using ineffective gaits on rough terrain, and improved roll stability compared to tuned reactive baselines. Overall, the MDP formulation yields anticipative constraint-aware gait switching that improves robustness without course-specific retuning.
I. INTRODUCTION
Legged robots often operate over terrain that changes within a few steps, from flat ground to curbs, stairs, rubble, or uneven outdoor surfaces. Quadrupeds handle this variability by switching among locomotion gaits with different tradeoffs in speed, stability, and clearance. Trotting is efficient on smooth ground but can become risky on rough terrain due to foot scuffing and body impacts. Climbing or stair gaits improve clearance and stability but are slower and inefficient when used unnecessarily.
A central challenge is not only how robots should walk, but when their manner of walking should change. Existing systems either rely on rich perception and learned policies for terrain-aware locomotion [1], or use perception-driven heuristics that trigger gait switching from local terrain cues [2]. Here, reactive switching refers to gait switching decisions driven by instantaneous local cues rather than look-ahead, cost-aware planning. On physical platforms, reactive switching can be unreliable when gait transitions are disruptive or delayed by onboard controller logic and safety checks [3].
This issue is pronounced on the Unitree Go2 studied in this work, where gait switching is asymmetric. Switching from climb to trot is essentially seamless. In contrast, switching from trot to climb requires the robot to stop and wait for the gait to engage. If it does not, the transition can be poorly handled and lead to stumbling. In some cases, the command is ignored and the robot continues trotting. Simple reactive threshold rules can enforce conservative stop-and-wait behavior, but they do not decide when it is worth paying

Fig. 1: Banded look-ahead from a local height map enables anticipative trot-climb switching.
the transition cost based on what lies ahead. Height maps from low-cost LiDAR can also be noisy and can overestimate obstacles in vegetation such as tall grass, which can trigger unnecessary switching to climb gait.
To address this, we propose a lightweight gait switching supervisor for LiDAR-enabled quadrupeds that uses an instantaneous robot-centered height map and makes gait switching decisions using a Markov Decision Process (MDP). Fig. 1 provides an overview of the proposed pipeline. The forward height map is partitioned into distance bands that provide a compact look-ahead representation. Each band is summarized into a discrete terrain class using robust elevation statistics, and uncertainty in the band evolution is captured in the transition model. The resulting MDP explicitly accounts for asymmetric switching latency and produces an offline-computed policy for online gait switching.
The main contributions of this work are:
• A height map only, anticipative gait switching supervisor that requires minimal sensing and is compatible with existing gait controllers;
• An MDP formulation that models asymmetric gait transition latency, including a dwell state for trot-to-climb switching, and yields a compact optimal switching policy solved offline;
• An empirical indoor and outdoor evaluation on the Unitree Go2 comparing the proposed look-ahead MDP policy against a tuned hysteresis baseline, demonstrating improved switching behavior under real transition constraints.
We describe related work and our problem formulation in Sec. II. Sec. III-B describes the height map processing and band abstraction technique and Sec. III-C presents the
MDP model and offline optimal solution procedure. Secs. IV and V evaluate the approach in representative mixed-terrain experiments.
Optimization-based approaches formulate gait switching as an offline or online planning problem. Wang et al. [8] pioneered automatic gait pattern selection by using MINLP to solve trajectory optimization across different gaits and task conditions, then compressing the solution space via supervised learning. While this reduces manual tuning, their formulation optimizes full-body trajectories and contact sequences rather than the discrete switching decision of when to change gaits, and it does not explicitly model direction-dependent transition latency or terrain look-ahead. Saraf et al. [9] developed a Model Predictive Control (MPC) approach that explicitly plans transitions between bounding and trotting to enhance stability, but the online optimization budget limits the effective prediction horizon to a few seconds and makes gait switching tightly coupled to low-level control. Recent work by Kotecha et al. [10] combines a model predictive path integral (MPPI) controller with learned abstractions to jointly optimize actions and continuous gait parameters, improving energy efficiency compared to baselines, but requires computationally expensive online optimization at each control step.
Deep reinforcement learning has enabled end-to-end learning of gait switching policies. Shafiee et al. [11] used viability (i.e., avoiding falls) as the primary criterion for emergent gait transitions in their bio-inspired Deep RL framework, with energy efficiency as a secondary objective. Bellegarda and Humphreys [12], [13] trained a dedicated switching policy that minimizes bio-inspired transition metrics, including Froude number and duty factor, achieving robust real-world performance on terrains similar to those seen during training. Yang et al. [14] used evolutionary strategies to learn hierarchical gait policies that automatically transition between walking, trotting, and fly-trotting based on speed. While these learning-based methods can achieve strong performance within their training distribution, they often provide limited interpretability, require extensive simulation training, and can require retraining to adapt to new scenarios, hardware constraints, or gait types not represented during training. Recent multi-gait frameworks [15] learn diverse gait modules through CPG integration or latent skill representations but commonly assume a high-level gait command, rather than autonomous terrain-triggered switching under controller constraints.
Energy and stability criteria have been incorporated into gait mapping approaches. Liu et al. [16] collected hundreds of locomotion trials measuring cost of transport and stability margins across speeds and terrains, then constructed offline lookup tables for gait choice with FSM-managed transitions. Their Unitree Go2 experiments demonstrated terrain-dependent preferences across gaits, but the approach does not model transition costs, does not represent look-ahead terrain evolution, and leaves the switching timing to a hand-designed transition manager.
Our work differs from these approaches in three key aspects. First, we formulate gait switching as an MDP with a compact, banded representation of the height map that encodes look-ahead terrain evolution, enabling anticipatory switching decisions. Second, we incorporate non-ideal transition behavior typical of real legged hardware, including latency, stabilization, and direction-dependent switching overhead, directly into the decision model via explicit transition states. Third, unlike online optimization methods (MPC, MPPI) or learned policies (Deep RL), our offline value iteration solution deploys as a small lookup table with minimal runtime overhead, while maintaining interpretability and adaptability via MDP re-solving rather than retraining. In contrast to general anticipatory online planning methods such as [17], which perform online look-ahead search over abstract action models, our method uses a stochastic model of terrain class evolution derived from the robot's height map abstraction and explicitly captures gait-transition constraints imposed by the onboard controller.
A. Problem Statement
We study high-level gait switching for a quadruped using a robot-centered, short-horizon 2.5D LiDAR height map observed online in previously unseen environments. The robot may support multiple locomotion modes with direction-dependent transition requirements; in this work, we focus on switching between a fast trot (T) and a cautious climb (C) to isolate the decision problem under real transition constraints. At discrete decision times with period , the supervisor must choose whether to remain in the current gait or initiate a switch.
On real hardware, gait transitions can be asymmetric and delayed by controller logic and safety checks. In particular, the transition may require stopping and dwelling before the new gait reliably engages. The objective is to compute a switching strategy that anticipates rough terrain early enough to complete this transition cost, while avoiding unnecessary switching on smooth ground despite noisy height maps and short look-ahead.

Fig. 2: System architecture for height-map-only gait switching.
III. METHODOLOGY
A. System Overview
Fig. 2 summarizes the proposed height map-only gait supervisor. At each decision step, the incoming height map is filtered for invalid cells and cropped to a forward region aligned with the robot heading. The forward region is partitioned into range-ordered distance bands, and each band is summarized with robust elevation statistics that are discretized into terrain classes. These classes, together with the current gait and any active transition progress, form a compact MDP state.
The MDP is solved offline, and the resulting stationary policy is exported as a small lookup table. Online, the supervisor evaluates this table at a fixed period of and outputs either STAY or SWITCH. For example, if the near band is smooth but the mid and far bands are classified as rough while the robot is in T, the policy can return SWITCH to start the procedure early enough for the dwell to complete. Online execution applies the MDP-defined mode update and issues the corresponding gait API commands. In particular, when the policy selects SWITCH in T, the supervisor transitions into the dwell mode S and enforces the required stop-and-dwell before entering C.
B. Terrain Representation from Heightmaps
- Height Map Pre-processing and Valid Cells: Let denote the incoming robot-centered 2.5D height map, where and are the grid height and width, and each cell stores an elevation in meters at resolution (m/cell). Invalid cells are identified by a sentinel value . We define a binary validity mask for indices and :
where isfinite( ) returns true for finite real values, and is the indicator function.
If the number of valid cells inside the forward region of interest is below a minimum count , the supervisor abstains from switching and returns STAY. Here is a fixed robustness parameter chosen to prevent decisions from being made on sparse or unreliable height maps; its value is set once and reported with other implementation parameters.
- Forward Wedge and Local Ground Reference: Each cell is mapped to a robot-centric planar coordinate with the grid origin at the map center. Let denote the robot yaw. We compute the forward-relative bearing and range , , where maps angles to . The forward wedge region of interest is
Outdoor runs revealed that ground estimates can be biased when the wedge contains negative obstacles, i.e., local terrain that drops below the current support surface (such as curbs and ditches). To reduce this sensitivity, we estimate a local ground reference from a short-range front patch aligned with the robot heading:
with . If , we expand to wider fallback patches (defined by increasing and range) until enough valid cells are available. Let denote the first patch in this sequence with at least valid cells.
Ground height is estimated as a low percentile
and relative heights are defined as for subsequent feature computation.
- Look-Ahead Banding and Feature Extraction: To provide look-ahead information, we partition the forward wedge into radial bands indexed by using predefined range limits :
For each band , we compute robust statistics from the relative elevations : (i) a high-percentile height , (ii) an interquartile range , and (iii) a high-percentile slope magnitude . The slope magnitude is computed from finite differences on the relative-height grid, , using resolution for scaling. These features summarize obstacle presence (high percentiles), roughness (IQR), and local steepness (slope).
Outdoor tests also showed that low-elevation hazards can be underrepresented by high-percentile statistics. We therefore add a per-band drop signal based on a low percentile of relative height:
(6)
where is a fixed low percentile. Note that can be negative when a region lies below the local ground estimate , so can be negative and need not be zero.
Finally, we compute a wedge-level grade signal to capture sustained uphill or downhill structure. Let
and define
where and denote the chosen near and far bands. We use as the grade magnitude for discretization.
- Band Discretization into Terrain Classes: To keep the decision model compact, each band is mapped to a discrete terrain class denoting SMOOTH (0) or ROUGH (1). We normalize each scalar feature to using a clamped linear map
where clip( , 0, 1) clamps to [0, 1], and and are fixed normalization endpoints chosen offline from calibration logs and then held constant for all runs. For a given feature , let denote the set of recorded values of on segments labeled SMOOTH during steady trotting, and let denote the set of recorded values of on segments labeled ROUGH during steady climbing. We set
where Percentile( , ) returns the -th percentile of its input set and are fixed choices.
We compute three difficulty scores: (i) a three-feature roughness score,
(ii) a drop score, , and (iii) a grade score (shared across bands). The final band difficulty is taken as a conservative fusion:
where is a fixed threshold. The observation at time is the band-class tuple for bands.
C. MDP Formulation for Transition-Aware Gait Switching
We model gait switching as a finite-state, infinite-horizon Markov Decision Process (MDP) defined by the tuple , where is a finite set of states, is a finite set of actions, is the transition model, is the reward, and is the discount factor.
- State and Actions: The finite state space is
where denotes the locomotion mode (trot, climb, or dwell), denotes the per-band terrain class set (SMOOTH/ROUGH).
At decision step , the MDP state variable takes the value
where , is the dwell counter (nonzero only when ), is the number of dwell ticks, and is the band-class tuple.
The action set is , where SWITCH is interpreted as a mode-dependent toggle.
Algorithm 1 Online Height-map-only MDP Gait Supervisor
Require: Height map Z, yaw , current mode , dwell counter , policy table .
Require: Parameters: , , band ranges , , dwell ticks D.
1: Build valid mask V; construct forward wedge W using
2: if then
3: return STAY
4: end if
5: Estimate local ground from G and compute relative heights
6: Compute grade magnitude from chosen near/far band medians
7: for to do
8: Extract and compute
9: Discretize to class using and threshold
10: end for
11: Form state and query action
12: if then
13: return STAY
14: end if SWITCH is interpreted by a transition handler based on the current mode
15: if then requires stop-and-dwell
16: Command zero velocity
17: Set ,
18: else if then is immediate
19: Set ,
20: else : dwell in progress
21:
22: if then
23: Set
24: end if
25: end if
26: return SWITCH
- Mode Transition Dynamics (Asymmetric Switching): Let denote the required stop-and-dwell duration for reliable engagement, and let be the decision period. We define the number of dwell ticks as
The deterministic mode update is:
• If and : set and .
• If and : set and .
• If : action is ignored; if , set and ; otherwise set and .
• Otherwise (STAY in T or C): set and .
- Terrain Band Dynamics (Look-Ahead Model): When the robot is moving ( ), we approximate look-ahead progression by shifting the band classes:
and evolving the far band via a two-state Markov model
where is estimated from logged far-band class sequences using smoothed frequency counts. When stopped in dwell (), we approximate .
The full transition model is constructed by combining (i) the deterministic mode update and (ii) the terrain evolution model for conditioned on whether the mode is moving or dwelling.
- Reward Function: We define the reward as to trade off traversal progress, terrain safety, and switching overhead:
where discourages frequent switching.. We use
with rewarding time spent moving and penalizing time spent dwelling. Terrain mismatch is
where penalizes trotting on rough near-band terrain more strongly than climbing on smooth terrain.
- Offline Policy Computation and Export: Because S and A are finite and the task is continuing , we compute an optimal stationary policy via value iteration:
The deployed policy is exported as a compact lookup table for online evaluation.
D. Online Execution
Algorithm 1 summarizes the online supervisor executed at period . At each step it maps the incoming height map to the band-class tuple , queries the precomputed policy, and applies the MDP mode dynamics.
If the policy selects STAY, the current mode is maintained. If it selects SWITCH, the supervisor performs the mode update defined in Sec. III-C: from C it transitions immediately to T, and from T it enters the dwell mode S to enforce the required stop-and-dwell before transitioning to C. Executing a mode change consists of issuing the corresponding gait command to the robot controller and, when in S, commanding zero velocity for the dwell duration.
TABLE I: Implementation parameters
| Parameter | Value / Description |
|---|---|
| Height map grid | |
| Forward wedge | |
| Bands | |
| Timing | |
| Ground patch | |
| Percentiles | |
| Diff Threshold | |
| Reward weights |
IV. EXPERIMENTS
A. Platform and Execution Setup
Experiments were conducted on a Unitree Go2 using the proposed height-map-only switching supervisor. We evaluate switching between trot (T) and the platform's climb/stair mode (C) [18], [19]. The transition on this platform requires a stop-and-dwell; all methods were evaluated under the same measured dwell timing and decision period (Table I) to ensure differences reflect switching decisions rather than transition execution.
To also isolate switching decisions from path following, each run used the same start-to-goal traverse. The robot was commanded to move forward at a fixed speed in each gait (trot and climb), while an operator provided small yaw corrections to maintain an approximately straight heading. The operator did not command gaits; all gait changes were triggered solely by the evaluated switching policies.
- Implementation Parameters: All fixed parameters used by the perception pipeline and decision model are reported in Table I, including the height map size and resolution, invalid-cell sentinel, wedge geometry, band ranges, ground-estimation parameters, difficulty thresholds, decision period , and the measured dwell time (and corresponding dwell ticks D).
B. Test Courses
We evaluate on three courses shown in Fig. 3 (two outdoor and one indoor, with start/goal markers). The courses are chosen to include (i) smooth segments where unnecessary climbing reduces efficiency, and (ii) abrupt terrain changes where late decisions increase risk.
-
Course 1: Indoor Lab Obstacles.: A controlled indoor course assembled from modular obstacles (foam sheets, a low platform/ramp, and a wooden block), producing repeatable height discontinuities and short rough patches.
-
Course 2: Outdoor Paver Crossing.: A traverse beginning on low grass, transitioning onto a short paved section, and terminating in taller grass. This course induces compliance and traction changes and mild grade variations.
-
Course 3: Outdoor Sidewalk Crossing.: A start-to-goal traverse beginning in a vegetation bed, crossing onto a concrete sidewalk, and reaching the goal. This course includes a pronounced surface transition curb and uneven ground that stresses step-up/step-down perception.

(a) Course 1
(b) Course 2
(c) Course 3
Fig. 3: Experimental indoor (a) and outdoor (b,c) courses.

Big Foam
Small Foam
Big Flat Wood
Climb-entry threshold
ECDF (row a)
Mean ± 1 std (rows b,c)
Fig. 4: Course 1 feature and look-ahead characterization.
C. Feature Characterization and Look-Ahead
To motivate the height map statistics and the role of look-ahead banding, we characterize feature behavior on Course 1 snapshots. For each obstacle type (big foam, small foam, flat wood), the robot was held stationary at a fixed stand-off distance and height maps were logged for s. We compute the same banded quantities used online, including the band difficulty (Sec. III-B).
Fig. 4a shows the empirical CDF of for the near/mid/far bands; the dashed line indicates the discretization threshold (Table I). Because the robot is placed at a stand-off distance, obstacle signatures appear first in the far band, while near and mid bands remain largely below threshold. Fig. 4b and Fig. 4c show that the far-band statistics (e.g., , , and ) separate obstacle types with consistent margins. Drop and grade terms remain small in these indoor snapshots, consistent with the absence of step-down and sustained slope structure. Overall, the distributions illustrate how banding preserves range ordering, enabling earlier switching decisions when far bands become rough before the near band.
D. Compared Supervisors
We compare three switching supervisors. All methods share the same sensing and preprocessing pipeline (forward-wedge extraction, band features, and terrain discretization) and the same execution of the platform transition constraints. They differ only in how they map extracted signals to STAY/SWITCH decisions:
-
RFT (Reactive Feature Thresholding).: A hand-tuned baseline that triggers switching using near-band feature thresholds with different enter/exit values (hysteresis). This represents common finite-state/threshold switching practice in legged systems [2].
-
DCH (Difficulty-Class Hysteresis).: A reactive baseline that collapses near-band terrain into a scalar difficulty and applies hysteresis on to classify the near band as SMOOTH or ROUGH; the gait is set to trot on SMOOTH and climb on ROUGH. Discretizing perceived terrain into a small number of classes to support gait selection is common in legged locomotion [20].
-
LA-MDP (Look-Ahead MDP Policy).: Our proposed anticipatory policy that uses the full band tuple (near/mid/far), the current mode, and the transition progress, and queries an offline-computed MDP policy (table lookup) to select STAY or SWITCH.
E. Protocol
For each course and each method, we report metrics over 10 completed start-to-goal traversals. For safety, if a trial became non-recoverable (e.g., the robot tripped or became stuck), the operator terminated the attempt and restarted until a completed traversal was obtained. These terminated attempts were not recorded as explicit failure labels in the logs; therefore, the quantitative results in Sec. V summarize behavior conditional on completion. To still capture safety-relevant behavior, we additionally report risk and stability proxies derived from onboard logs (trot-on-rough exposure, dwell overhead, and roll). All methods used the same decision period and the same measured dwell timing (Table I).
F. Metrics
From per-tick logs (mode , decisions , band classes , dwell time in S, commanded motion, and body orientation), we compute:
-
Switch count: Total number of realized gait changes per run, computed from discrete changes in the logged mode.
-
Late switch rate: Fraction of switches initiated after the near band is already ROUGH (i.e., after first becomes 1). Lower is better.
-
Switch anticipation distance: Signed distance between the initiation point and the near-band rough-entry point. Negative values indicate switching before near-band rough entry.
-
Gait-terrain mismatch exposure: Fraction of time spent (i) trotting while the near band is ROUGH (trot-on-rough) and (ii) climbing while the near band is SMOOTH (climb-on-smooth).
-
Dwell overhead: Cumulative time spent in the dwell mode S per run, which captures the stop-and-dwell cost of transitions.
-
Traversal time and switching trade-off: Traversal time from the first to last timestamp of each trial, analyzed jointly with switch count.

(d) Stop-and-Wait Overhead per Run
(e) Traversal Time
(f) Body Roll RMS
Fig. 5: Course 1 (Indoor Lab): key metrics across methods. Significance marker *** indicates a two-sided Mann–Whitney U test with p < 0.001.
Traversal Time vs. Switch Count

Fig. 6: Traversal time vs. switch count across all courses.
- Stability proxy (roll): RMS roll angle per trial as a stability proxy.
All metrics are aggregated over trials and summarized in Table II.
V. RESULTS
For each course, we evaluate the three supervisors in Sec. IV-D. Table II reports per-course metrics (mean ± 95% confidence interval). Fig. 5 summarizes key metrics for Course 1 using boxplots, and Fig. 6 aggregates all runs to visualize the traversal-time versus switch-count trade-off.
a) Course 1: Indoor Lab Obstacles.: Fig. 5 and Fig. 7 show that LA-MDP initiates earlier relative to near-band rough entry, reflected by a lower Late T2C rate and a more negative Lead distance (Fig. 5c). Earlier switching reduces trot-on-rough exposure (Fig. 5b) and improves stability, reflected by lower roll RMS (Fig. 5f). LA-MDP also reduces switch count and dwell overhead (Fig. 5a,d). Traversal time does not necessarily decrease (Fig. 5e), which is consistent with conservative climb occupancy in short rough segments.
b) Course 2: Outdoor Paver Crossing.: Results are summarized in Table II. Compared to RFT and DCH, LA-MDP reduces trot-on-rough exposure and shifts earlier (lower Late T2C and more negative Lead). Traversal

Fig. 7: Course 1: Representative distance-aligned difficulty traces with annotated decisions and realized transitions.
time can increase when LA-MDP remains in C to avoid trotting on near-band rough terrain.
c) Course 3: Outdoor Sidewalk Transition.: Table II shows that switch count and dwell overhead are similar across methods on this course, indicating that differences are driven primarily by switching timing and gait-terrain mismatch rather than by how often the robot switches. LA-MDP reduces trot-on-rough exposure and improves roll stability through earlier initiation, with a potential traversal-time trade-off.
d) Cross-course summary.: Across all three courses, LA-MDP consistently improves timing (lower Late T2C and earlier Lead) and reduces gait-terrain mismatch, which correlates with improved roll stability. The main cost is increased traversal time in settings where a conservative preference for C dominates over speed.
VI. CONCLUSIONS AND FUTURE WORK
Reactive gait switching based on local thresholds cannot reliably anticipate upcoming terrain and therefore tends to incur platform transition costs only after roughness is already imminent. This paper formulates height map-only gait switching as a finite-state, infinite-horizon MDP over a multi-band look-ahead representation derived from a robot-centered 2.5D height map. The key idea is to model asymmetric transition behavior directly in the MDP state via an explicit dwell mode, so the policy accounts for stop-and-dwell latency as part of the decision process rather than as an external heuristic.
Experiments on a Unitree Go2 across three indoor and outdoor courses show that the look-ahead MDP policy reduces late initiations, decreases gait-terrain mismatch exposure, and improves roll stability relative to reactive baselines. These robustness gains come with a traversal-time trade-off in settings where conservative climb occupancy dominates speed. Overall, the results support the principle that platform-specific locomotion constraints should be represented explicitly in the decision model used for gait switching.
TABLE II: Per-course evaluation metrics (mean confidence interval, completed runs per method). SC: total gait switches; Late T2C: fraction of initiated after the near band is already rough; ToR: trot-on-rough exposure (time fraction); Lead: median anticipation distance (negative means switch before near-band rough entry); Dwell: accumulated stop-and-dwell time; TT: traversal time; Roll RMS: time-weighted roll RMS. Bold indicates best per metric per course.
| Course | Method | SC | Late T2C (%) | ToR (%) | Lead (m) | Dwell (s) | TT (s) | Roll RMS (°) |
|---|---|---|---|---|---|---|---|---|
| Indoor Lab | RFT | 4.0±0.0 | 100.0±0.0 | 8.2±1.0 | 0.31±0.11 | 1.92±0.02 | 39.1±1.5 | 2.89±0.54 |
| DCH | 4.2±0.4 | 100.0±0.0 | 6.8±0.5 | 0.15±0.03 | 2.01±0.19 | 36.4±1.2 | 2.24±0.71 | |
| LA-MDP | 1.0±0.0 | 0.0±0.0 | 0.6±0.4 | -0.29±0.09 | 1.04±0.02 | 45.0±0.4 | 1.38±0.11 | |
| Outdoor Paver | RFT | 4.0±0.7 | 100.0±0.0 | 7.9±0.8 | 0.28±0.06 | 2.40±0.30 | 48.3±3.3 | 2.23±0.20 |
| DCH | 5.4±0.5 | 96.7±6.5 | 8.2±1.5 | 0.07±0.06 | 3.09±0.25 | 48.4±5.1 | 2.03±0.32 | |
| LA-MDP | 2.2±0.6 | 30.0±16.0 | 1.2±0.6 | -0.19±0.06 | 1.67±0.34 | 60.9±3.1 | 1.55±0.25 | |
| Outdoor Sidewalk | RFT | 2.8±0.3 | 100.0±0.0 | 8.4±0.9 | 0.25±0.09 | 1.75±0.22 | 31.3±1.5 | 3.07±0.48 |
| DCH | 3.6±0.8 | 100.0±0.0 | 7.0±1.6 | 0.11±0.09 | 2.22±0.40 | 33.9±1.1 | 3.27±0.37 | |
| LA-MDP | 3.0±0.0 | 55.0±9.8 | 2.5±0.3 | -0.32±0.10 | 2.10±0.02 | 38.0±0.9 | 2.74±0.32 |
Future work will incorporate explicit efficiency objectives (time and energy) into the reward to better manage robustness-speed trade-offs. We also plan to move beyond binary SMOOTH/ROUGH classes using richer height map cues and to expand the action set to additional locomotion primitives and turning behaviors for terrain-aware navigation.
REFERENCES
[1] V. Tsounis, M. Alge, J. Lee, F. Farshidian, and M. Hutter, “Deepgait: Planning and control of quadrupedal gaits using deep reinforcement learning,” IEEE Robotics and Automation Letters, vol. 5, no. 2, pp. 3699–3706, 2020.
[2] I. Havoutis, J. Ortiz, S. Bazeille, V. Barasuol, C. Semini, and D. G. Caldwell, “Onboard perception-based trotting and crawling with the hydraulic quadruped robot (hyq),” in 2013 IEEE/RSJ International Conference on Intelligent Robots and Systems. IEEE, 2013, pp. 6052–6057.
[3] S. Zimmermann, R. Poranne, and S. Coros, “Go fetch!-dynamic grasps using boston dynamics spot with external robotic arm,” in 2021 IEEE International Conference on Robotics and Automation (ICRA). IEEE, 2021, pp. 4488–4494.
[4] I. M. Koo, T. D. Trong, Y. H. Lee, H. Moon, J. Koo, S. Park, and H. R. Choi, “Biologically inspired gait transition control for a quadruped walking robot,” Autonomous Robots, vol. 39, no. 2, pp. 169–182, 2015.
[5] P. Fankhauser, M. Bjelonic, C. D. Bellicoso, T. Miki, and M. Hutter, “Robust rough-terrain locomotion with a quadrupedal robot,” in 2018 IEEE International Conference on Robotics and Automation (ICRA). IEEE, 2018, pp. 5761–5768.
[6] L. Shang, Z. Li, W. Wang, and J. Yi, “Smooth gait transition based on cpg network for a quadruped robot,” in 2019 IEEE/ASME International Conference on Advanced Intelligent Mechatronics (AIM). IEEE, 2019, pp. 358–363.
[7] J. Li, J. Wang, S. X. Yang, K. Zhou, and H. Tang, “Gait planning and stability control of a quadruped robot,” Computational intelligence and neuroscience, vol. 2016, no. 1, p. 9853070, 2016.
[8] J. Wang, I. Chatzinikolaidis, C. Mastalli, W. Wolfslag, G. Xin, S. Tonneau, and S. Vijayakumar, “Automatic gait pattern selection for legged robots,” in 2020 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS). IEEE, 2020, pp. 3990–3997.
[9] P. Saraf, A. Sarkar, and A. Javed, “Terrain adaptive gait transitioning for a quadruped robot using model predictive control,” in 2021 26th International Conference on Automation and Computing (ICAC). IEEE, 2021, pp. 1–6.
[10] P. Kotecha, S. Kolathaya et al., “Real-time gait adaptation for quadrupeds using model predictive control and reinforcement learning,” arXiv preprint arXiv:2510.20706, 2025.
[11] M. Shafiee, G. Bellegarda, and A. Ijspeert, “Viability leads to the emergence of gait transitions in learning agile quadrupedal locomotion on challenging terrains,” Nature Communications, vol. 15, no. 1, p. 3073, 2024.
[12] G. Bellegarda, M. Shafiee, and A. Ijspeert, “Allgaits: Learning all quadruped gaits and transitions,” in 2025 IEEE International Conference on Robotics and Automation (ICRA). IEEE, 2025, pp. 15929–15935.
[13] J. Humphreys and C. Zhou, “Learning to adapt through bio-inspired gait strategies for versatile quadruped locomotion,” Nature Machine Intelligence, vol. 7, no. 7, pp. 1141–1153, 2025.
[14] Y. Yang, T. Zhang, E. Coumans, J. Tan, and B. Boots, “Fast and efficient locomotion via learned gait transitions,” in Conference on robot learning. PMLR, 2022, pp. 773–783.
[15] D. DeFazio, Y. Hayamizu, and S. Zhang, “Learning quadruped locomotion policies using logical rules,” in Proceedings of the International Conference on Automated Planning and Scheduling, vol. 34, 2024, pp. 142–150.
[16] D. Zhang, X. Chen, Z. Zhong, M. Xu, Z. Zheng, and H. Lu, “A novel multi-gait strategy for stable and efficient quadruped robot locomotion,” arXiv preprint arXiv:2410.09336, 2024.
[17] E. Burns, J. Benton, W. Ruml, S. Yoon, and M. Do, “Anticipatory on-line planning,” in Proceedings of the International Conference on Automated Planning and Scheduling, vol. 22, 2012, pp. 333–337.
[18] Unitree Robotics, Unitree Go2 Quadruped Robot User Manual (VI.0), 2023, accessed 2026-02-27. [Online]. Available: https://static-generation-robots.com/media/Go2-User-Manual.pdf
[19] ——, “Ai motion service (go2) developer documentation,” 2025, accessed 2026-02-27. [Online]. Available: https://support.unitree.com/home/en/developer/AI_motion_service
[20] S. Zenker, E. E. Aksoy, D. Goldschmidt, F. Wörgötter, and P. Manoonpong, “Visual terrain classification for selecting energy efficient gaits of a hexapod robot,” in 2013 IEEE/ASME International Conference on Advanced Intelligent Mechatronics. IEEE, 2013, pp. 577–584.