Autonomous navigation in off-road environments is a challenging task, especially for Unmanned Ground Vehicles (UGVs) involved in search and rescue, exploration, and surveillance. Trailblazer is a novel framework that automates the generation of costmaps from multi-modal sensor data, such as satellite imagery, LiDAR, DEMs and OpenStreetMaps, to enable efficient and scalable long-range path planning without manual tuning. By leveraging imitation learning and a differentiable A* planner, Trailblazer adapts to diverse terrains and dynamic environments, offering a robust solution for global planning tasks.
Fig. 1: Inputs to Trailblazer from the Texas A&M RELLIS test site. Satellite imagery and LiDAR data are used to generate semantic, height, slope, and intensity maps.
Fig. 2: Trailblazer framework architecture. The encoder-decoder generates costmaps, while the Neural A planner computes paths from the costmaps.*
Fig. 3: Comparison of costmaps generated using LiDAR (4 points/m²) and DEM (1/3 arc-second resolution) data.
For more details, check out the Paper
- We are providing ROS 1 package. The repository is tested with ROS Noetic.
- All maps and waypoints should be stored in the
assetsfolder. - Launch files for the RELLIS test site are included.
- The input is preprocessed and saved. The package currently runs the Trailblazer algorithm and generates waypoints in UTM format.
- A
requirements.txtfile is provided for environment setup.
Some dependencies need to be installed manually to ensure the proper functioning of the Trailblazer framework. These include:
- mmcv
- mmseg
- mmcv: Follow the mmcv GitHub page for detailed installation steps.
- mmseg: Refer to the mmsegmentation documentation for installation instructions.
The assets required for RELLIS test site are too large to be uploaded to GitHub. You can download them from the following link:
Download Assets
- Place the
.tiffile in theassets/images/rellisfolder. - Place the
best.pthfile in thescripts/weights/segformerfolder.
You can find LiDAR data for your area of interest from: USGS LiDAR Explorer, UK DEFRA Survey data.
Satellite imagery can be downloaded from ARCGIS Imagery servers through QGIS.
OSM data can be downloaded from OpenStreetMaps
To run the Trailblazer package, use the following command:
roslaunch camel rellis.launchPlease run roscore and source devel/setup.bash before running the launch file.
The launch file parameters are as follows:
- waypoints_file: Path to the waypoints file. "None" to generate random waypoints.
- site_name: Name of the test site; ex: cavasos, irwin, camp roberts.
- cmap_resolution: Costmap resolution in meters.'
- epsg_code: epsg_code used by the pointcloud. If using PDAl library, use "None".
- UTM_zone: UTM zone of the region.
- gps_origin: GPS coordinate in UTM format at origin.
- image_input: Path to the overhead image.
- pointcloud_input: Path to the overhead pointcloud/DEM.
- osm_file: Path to OSM file input.
The scripts folder contains the following scripts:
- camel_pathV2.py: The main script that generates the waypoints.
- cmap_gen.py: Generates the costmap from the input.
- dijkstra.py: Implements the Dijkstra algorithm.
- input_gen.py: Generates the input from the overhead image and pointcloud.
- semantic_seg.py: Implements the semantic segmentation.
- utils/laz_reader.py: Reads the pointcloud data.
- utils/dem_reader.py: Reads Digital Elevation Maps and converts them to pointcloud.
@misc{viswanath2025trailblazerlearningoffroadcostmaps,
title={Trailblazer: Learning offroad costmaps for long range planning},
author={Kasi Viswanath and Felix Sanchez and Timothy Overbye and Jason M. Gregory and Srikanth Saripalli},
year={2025},
eprint={2505.09739},
archivePrefix={arXiv},
primaryClass={cs.RO},
url={https://arxiv.org/abs/2505.09739},
}