Abstract
We present a novel method for safely navigating a robot in unknown and uneven outdoor terrains. Our approach trains a novel Deep Reinforcement Learning (DRL)-based network with channel and spatial attention modules using a novel reward function to compute an attention map of the environment. The attention map identifies regions in the environment's elevation map with high elevation gradients where the robot could have reduced stability or even flip over. We transform this attention map into a 2D navigation cost-map, which encodes the planarity (level of flatness) of the terrain. Using the cost-map, we formulate a novel method for computing local least-cost waypoints leading to the robot's goal and integrate our approach with DWA-RL, a state-of-the-art navigation method. Our approach guarantees safe, locally least-cost paths and dynamically feasible robot velocities in highly uneven terrains. Our hybrid approach also leads to a low sim-to-real gap, which arises while training DRL networks. We observe an improvement in terms of success rate, the cumulative elevation gradient of the robot's trajectory, and the safety of the robot's velocity. We evaluate our method on a real Husky robot in highly uneven real-world terrains and demonstrate its benefits.
Introduction
Navigating a robot through a structured, flat environment like a warehouse is a largely solved problem. However, deploying robots in uneven outdoor environments—such as grassy inclines with hidden dips or steep curbs—presents significant challenges. In these settings, a robot's safety is primarily dictated by its stability; maintaining pitch and roll angles within safe limits is critical to prevent the vehicle from flipping over.
Traditional navigation approaches often struggle in such terrain. Semantic segmentation methods classify terrain types (e.g., "grass" vs. "pavement") based on visual features, but they fail to account for the geometric steepness that might exceed a robot's physical capabilities. Conversely, end-to-end Deep Reinforcement Learning (DRL) models, while powerful in simulation, often suffer from a significant "sim-to-real gap" and can produce jerky, dynamically infeasible velocities on real hardware. To address these issues, we propose TERP (Terrain Elevation-based Reliable Path Planning), a system that understands terrain geometry to prioritize stability without sacrificing efficiency.
Methodology
The core innovation of TERP is its decoupled architecture, which separates terrain perception from navigation execution. This modularity is key to reducing the sim-to-real gap and ensuring safety.
1. Perception via Attn-DRL
The system processes raw 3D LiDAR point clouds into a 2D local elevation map. This map, combined with the robot's pose and goal coordinates, is processed by a DRL network utilizing a Convolutional Block Attention Module (CBAM). Rather than outputting direct steering commands, this network is trained to generate an attention mask. This mask highlights regions where high elevation gradients pose a risk to the robot's stability. The training uses a novel reward function that specifically penalizes high roll/pitch and movement toward steep gradients, allowing the mechanism to "learn" stability limits without human-labeled data.
2. Navigation Cost-Map and Planning
The attention mask is integrated with the normalized elevation map to create a navigation cost-map. This map encodes the "level-of-flatness" relative to the robot's intended path. Using this cost-map, the system employs Dijkstra’s algorithm to identify locally least-cost waypoints toward the goal. These waypoints are then passed to a DWA-RL module, which computes collision-free, dynamically feasible velocities that respect the robot's physical constraints.
Experimental Results
We evaluated TERP using a Clearpath Husky robot in both high-fidelity Unity simulations and challenging real-world outdoor environments featuring elevation gains of up to 4 meters.
Compared to baseline methods such as the Dynamic Window Approach (DWA) and end-to-end DRL, TERP demonstrated superior performance:
- Success Rate: TERP achieved a 35.18% increase in success rate in high-elevation regions.
- Path Smoothness: Trajectories showed a 26.14% decrease in Cumulative Elevation Gradient (CEG), indicating that the robot successfully identified flatter, safer paths.
- Curb Navigation: In "city-curb" scenarios, TERP showed a 113% improvement in success rate over ego-graph methods by effectively attending to critical elevation changes at the curb's edge.
The system is computationally efficient, maintaining a processing rate of 10-12.5 Hz on a standard laptop, which is sufficient for real-time field deployment.
Conclusion and Future Work
TERP provides a robust framework for reliable navigation in uneven terrain by leveraging DRL for perception while maintaining classical guarantees for planning. While highly effective, the system currently relies heavily on LiDAR data, which can be sparse on low-reflectance surfaces or in steep ditches. Future work will explore sensor fusion, integrating RGB image data with LiDAR to better identify surface boundaries (e.g., mud vs. firm soil) where height differences may be negligible.
Summary updated