You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix MAX_NON_OBSTACLE_COST in theta star planner (#5865) (#5868)
(cherry picked from commit 018dca9)
Signed-off-by: mini-1235 <mauricepurnawan@gmail.com>
Co-authored-by: Maurice Alexander Purnawan <mauricepurnawan@gmail.com>
* @brief checks whether the start and goal points have costmap costs greater than LETHAL_COST
114
-
* @return true if the cost of any one of the points is greater than LETHAL_COST
112
+
* @brief checks whether the start and goal points have costmap costs greater than MAX_NON_OBSTACLE_COST
113
+
* @return true if the cost of any one of the points is greater than MAX_NON_OBSTACLE_COST
115
114
*/
116
115
boolisUnsafeToPlan() const
117
116
{
@@ -193,16 +192,19 @@ class ThetaStar
193
192
/**
194
193
* @brief it is an overloaded function to ease the cost calculations while performing the LOS check
195
194
* @param cost denotes the total straight line traversal cost; it adds the traversal cost for the node (cx, cy) at every instance; it is also being returned
196
-
* @return false if the traversal cost is greater than / equal to the LETHAL_COST and true otherwise
195
+
* @return false if the traversal cost is greater than the MAX_NON_OBSTACLE_COST and true otherwise
0 commit comments