Skip to content

mathworks-robotics/Offroad-Navigation-for-Autonomous-Haul-Trucks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Offroad Navigation for Autonomous Haul Trucks in Open Pit Mine

View Offroad-Navigation-for-Autonomous-Haul-Trucks on File Exchange

Hauling material in an open pit mine requires a planning stack capable of both navigating at the global scale and avoiding obstacles during local path following. Navigation Toolbox™ offers planners and controllers that serve well for 2-D indoor planning, but they can also be extended for 2.5-D offroad navigation. You can do this by deriving structure from terrain and incorporating heuristics into the planners to account for changes in elevation or slope. The solution proposed by this repository approaches the offroad navigation problem in multiple steps described in the following MLX files:

  1. Open in MATLAB Online CreateRoutePlannerUsingDigitalElevationData.mlx — Process digital elevation data into a road network for route planning.

Figures of the digital elevation data, the road network, and a planned path using the road network

  1. Open in MATLAB Online CreateTerrainAwareGlobalPlanners.mlx — Create an onramp planner that enables the autonomous haul truck to drive onto the road network while avoiding obstacles. This example also creates a terrain-aware planner for situations where the onramp planner cannot find a path to the road network.

Onramp planner and the terrain-aware planner

  1. Open in MATLAB Online CreateLocalPlannerToNavigateGlobalPath.mlx — Create a planner for following global reference paths while satisfying the kinematic and geometric constraints of the haul truck.

Animation of truck using local planner

  1. Open in MATLAB Online CreatePathFollowingMPCController.mlx — Create an MPC-based controller for efficiently following a reference-path while minimizing drift.

Animation of truck using local planner

Lastly, the repository has the Open in MATLAB Online ModelAndControlAutonomousHaulTruck MLX file. This file shows how to use Simulink® to integrate the road network and planners into an autonomous navigation stack with logic controlled by Stateflow®.

This figure shows the top-level of the autonomous navigation stack. Autonomous navigation stack Simulink model containing Stateflow logic, the road network, and planners

In R2024a, support for Unreal® simulation was added:

Animation of truck using local planner

MathWorks Products (https://www.mathworks.com)

Requires MATLAB release R2024b or newer

Installation

Installation instructions

  1. MATLAB installation: Visit installation instructions webpage to get started with the MATLAB installation process.
  2. Ensure that the products mentioned under MathWorks Products above are installed.

License

The license is available in the license.txt file in this GitHub repository.

Community Support

MATLAB Central

Copyright 2023-2024 The MathWorks, Inc.