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
pathplanners::GeoPlanner::PlannerStateCompare Struct Reference

This struct is used to compare two PlannerState objects based on their cost to properly sort the priority queue. More...

Public Member Functions

bool operator() (const PlannerState &stLeftHandSide, const PlannerState &stRightHandSide) const
 

Detailed Description

This struct is used to compare two PlannerState objects based on their cost to properly sort the priority queue.

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

Member Function Documentation

◆ operator()()

bool pathplanners::GeoPlanner::PlannerStateCompare::operator() ( const PlannerState stLeftHandSide,
const PlannerState stRightHandSide 
) const
inline
145 {
146 // Tiebreaker: Compare based on overall F-Cost, lower cost means higher priority in the Min-Heap.
147 return (stLeftHandSide.dGCost + stLeftHandSide.dHCost) > (stRightHandSide.dGCost + stRightHandSide.dHCost);
148 }

The documentation for this struct was generated from the following file: