Offroad Navigation for Autonomous Haul Trucks
Hauling material in an open pit mining 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:
-
CreateRoutePlannerUsingDigitalElevationData.mlx
— Process digital elevation data into a road network for route planning.
-
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.
-
CreateLocalPlannerToNavigateGlobalPath.mlx
— Create a planner for following global reference paths while satisfying the kinematic and geometric constraints of the haul truck.
-
CreatePathFollowingMPCController.mlx
— Create an MPC-based controller for efficiently following a reference-path while minimizing drift.
Lastly, the repository has the 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.
In R2024a, support for Unreal® simulation was added:
MathWorks Products (https://www.mathworks.com)
Requires MATLAB release R2024a or newer
- MATLAB®
- Simulink®
- Navigation Toolbox™
- Computer Vision Toolbox™
- Image Processing Toolbox™
- Automated Driving Toolbox™
- Stateflow®
- Robotics System Toolbox™ (Optional)
- Simulink 3D Animation™ (Optional)
- Model Predictive Control Toolbox™ (Optional)
Installation instuctions
- MATLAB installation: Visit installation instructions webpage to get started with the MATLAB installation process.
- Ensure that the products mentioned under MathWorks Products above are installed.
The license is available in the license.txt file in this GitHub repository.
Copyright 2023-2024 The MathWorks, Inc.
Cite As
Cameron Stabile (2024). Offroad Navigation for Autonomous Haul Trucks (https://github.com/mathworks-robotics/Offroad-Navigation-for-Autonomous-Haul-Trucks/releases/tag/v2.0.1), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Helpers/FreeSpacePlanner
Helpers/Graph
Helpers/MPCController
Helpers/Simulink
Helpers/TEBController
Helpers/Terrain
Helpers/Utils
Helpers/Visualization
ROSHelper
SimModels/CallSubsystems
tests
ROSHelper
SimModels
SimModels/CallSubsystems
SimModels/CallSubsystems/ROSServers
SimModels/CallSubsystems/ROSTests
SimModels/CallSubsystems/SimServers
SimModels/CallSubsystems/SimTests
Version | Published | Release Notes | |
---|---|---|---|
2.0.1 | See release notes for this release on GitHub: https://github.com/mathworks-robotics/Offroad-Navigation-for-Autonomous-Haul-Trucks/releases/tag/v2.0.1 |
||
2.0.0 | See release notes for this release on GitHub: https://github.com/mathworks-robotics/Offroad-Navigation-for-Autonomous-Haul-Trucks/releases/tag/v2.0.0 |
||
1.0.0 |