Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
GeoPlanner.hpp File Reference

Example file for testing and demonstrating the GeoPlanner and LiDARHandler. More...

Include dependency graph for GeoPlanner.hpp:

Go to the source code of this file.

Functions

void RunExample ()
 Example function to demonstrate the usage of LiDARHandler.
 

Detailed Description

Example file for testing and demonstrating the GeoPlanner and LiDARHandler.

Author
clayjay3 (clayt.nosp@m.onra.nosp@m.ycowe.nosp@m.n@gm.nosp@m.ail.c.nosp@m.om)
Date
2025-07-31

Function Documentation

◆ RunExample()

void RunExample ( )

Example function to demonstrate the usage of LiDARHandler.

Author
ClayJay3 (clayt.nosp@m.onra.nosp@m.ycowe.nosp@m.n@gm.nosp@m.ail.c.nosp@m.om), Eli Byrd (edbgk.nosp@m.k@ms.nosp@m.t.edu)
Date
2025-05-20
26{
27 // Create and initialize handler
28 std::unique_ptr<LiDARHandler> pLiDARHandler = std::make_unique<LiDARHandler>();
29 if (!pLiDARHandler->OpenDB("../data/LiDAR/data/databases/Fugitive.db"))
30 {
31 std::cerr << "Failed to initialize LiDARHandler.\n";
32 return;
33 }
34
35 // Create and initialize the GeoPlanner.
36 std::unique_ptr<pathplanners::GeoPlanner> pPlanner = std::make_unique<pathplanners::GeoPlanner>(50);
37
38 geoops::UTMCoordinate stStart{614019.79, 4190069.29, 15, true};
39 geoops::UTMCoordinate stEnd{614224.72, 4189924.76, 15, true};
40
41 std::vector<geoops::Waypoint> vPath = pPlanner->PlanPath(pLiDARHandler.get(), stStart, stEnd, 1000.0, 5.0, 0.0, true);
42
43 // Print the number of waypoints in the path.
44 std::cout << "Planned path with " << vPath.size() << " waypoints." << std::endl;
45}
This struct stores/contains information about a UTM coordinate.
Definition GeospatialOperations.hpp:210
Here is the caller graph for this function: