arXiv:2611.05885cs.RONov 2026

Manuscript Offprint

arXiv:2611.05885

Does RRT* Work on Uneven Terrain Meshes?

Otobong Jerome, Tiago Nascimento

Ototong Jerome and Tiago Nascimento

Abstract—The optimal rapidly exploring random tree (RRT*) is proven asymptotically optimal on open subsets of Euclidean space with straight-line local planning. We ask whether it works on a triangle-mesh terrain, a two-dimensional surface in R3\mathbb{R}^3. First, the original RRT* cannot run on a mesh: the surface has zero volume, so uniform sampling never hits it, no clearance ball fits in it, and chords across a fold leave it. Second, the surface reformulation we call Mesh RRT*, with its naive edge, the chord costed by its length, solved every run on heightfields with slopes up to 75∘75^\circ but minimises the wrong objective: its cost, the straight-line length of a polyline whose vertices lie on the surface while its segments may leave it by a tolerance τ\tau, is the length of no route on the surface and lies strictly below the geodesic length on any curved mesh. In numeric simulation and after 30 000 iterations the reported cost is on average up to 2.7% below the exact geodesic, a cost no path attains, and the returned route on average 0.1–0.5% longer than it. Rewiring keeps the biased edges, the bias decays only linearly with the step on polyhedral surfaces, and shrinking τ\tau trades bias for connectivity. Third, replacing each chord by a path on the surface above it, built from projected points joined across the mesh edges they straddle and costed by its own length, makes every edge cost the exact length of a feasible path; with no other change the exact length of the returned routes is on average within 0.07–0.16% of the geodesic at every roughness tested, two to 3.4 times closer than with chords on the rougher terrains. The planner is in MeshNav3D 0.2.0 (release pending).

Index Terms—Motion and path planning, constrained motion planning, field robots.

I. INTRODUCTION

Ground robots on rough terrain and surface-bound aerial vehicles plan on a surface, usually a triangle mesh, and the natural cost is geodesic length. The established tools are graph planners on the mesh (Dijkstra, A*, Theta*) and geodesic solvers such as the exact Mitchell–Mount–Papadimitriou (MMP) algorithm [1], fast marching [2] and the heat method [3]. Sampling-based optimal planners, led by the optimal rapidly exploring random tree (RRT*) of Karaman and Frazzoli [4], are rarely applied here, and their guarantees are stated for Euclidean free space. This paper is about one of their primitives, LINE, the routine that connects two tree nodes and prices the connection.

Jaillet and Porta extended RRT* to implicitly defined configuration manifolds such as closed kinematic chains, with local charts built by higher-dimensional continuation, and argued asymptotic optimality on the manifold [5], [6]; here the manifold is an explicit triangle mesh whose faces are the charts and whose geodesics can be computed exactly. Mesh

geodesics are a mature field [1], [3], [7]; exact MMP is our ground truth. Sampling-based mesh planning has been used for ground robots with the basic rapidly exploring random tree (RRT), where the geodesic computations between tree nodes are a heavy load that the method reduces [8]; surface-bound aerial vehicles have instead been steered along the mesh by Riemannian motion policies on a planar parametrisation of it [9]. A* on the mesh graph and Theta* [10] serve as graph-planner reference points. We know of no prior work measuring sampling-based mesh planners against exact geodesics or identifying the cost inconsistency studied here.

This paper keeps two quantities apart. The length of a route is geometry: how far it runs along the mesh surface, measured here exactly with a geodesic solver. The cost of a route is what the planner computes, optimises and reports: the number its LINE primitive assigns to each edge, summed along the route. In Karaman and Frazzoli's setting the two coincide, because an edge is a straight segment inside the free space and its cost is its length. On a mesh they coincide only if the primitive makes them: a straight chord between two surface points is not a path on the surface, so its length is the length of no route, and a planner that charges it optimises and reports a cost below the surface length of the route it returns. Whether that happens on terrain meshes, by how much, and with what effect on the returned route is what we measure.

We test the hypothesis that RRT* does not work on uneven terrain meshes in its literal and in its practical form. Literally, RRT* is the algorithm and guarantees of [4], defined on an open subset of Rd\mathbb{R}^d, d≥2d \geq 2, with volume, uniform sampling and straight-line local planning. Practically, it is the reformulation an implementation on a mesh could make once the literal algorithm is found not to run there (Section III): sample the surface, steer along it and, in the naive form, connect nodes by straight chords costed by Euclidean length.

Our contributions are:

  1. A structural argument that literal RRT* cannot run on a mesh, because a surface has zero volume in R3\mathbb{R}^3 (Section III).

  2. Mesh RRT*, which follows Algorithm 6 of [4] primitive by primitive, with two implementations of LINE, naive (chords costed by their length) and consistent (surface paths costed by their own length), all else identical (Section IV).

  3. The chord-polyline cost Jη,τJ_{\eta,\tau} (Definition 1) that the chord variant optimises, with proofs that it never exceeds the surface length of the same route (Proposition 1) and that its optimum lies strictly below the geodesic length whenever the geodesic bends (Proposition 2), and why rewiring keeps the biased edges (Section V).

  4. Experiments against exact geodesics on terrains of controlled roughness: a dense-graph estimate of the chord

The authors are with the Laboratório de Engenharia de Sistemas e Robótica, Universidade Federal da Paraíba (UFPB), João Pessoa 58055-000, Paraíba, Brazil (e-mail: o.jerome@laser.ci.ufpb.br; tiagopn@ci.ufpb.br).

This work has been submitted to the IEEE for possible publication. Copyright may be transferred without notice, after which this version may no longer be accessible. Code: MeshNav3D 0.2.0 (release pending).

optimum Jη,τ,k∗J_{\eta,\tau,k}^{*}, the dependence of the bias on the step η\eta and the tolerance τ\tau, and the convergence of both variants (Sections VI–VII).

  1. An implementation in MeshNav3D 0.2.0 [11] (release pending).