Skip to content

Commit 347afe8

Browse files
fix: correct ThroughActionResult type alias in would_a_planner_recovery_help_condition (#5326)
The ThroughActionResult type alias was incorrectly referencing Action::Result instead of ThroughAction::Result, causing the condition to not work properly for ComputePathThroughPoses actions. Fixes #5324 Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
1 parent bb72551 commit 347afe8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nav2_behavior_tree/include/nav2_behavior_tree/plugins/condition/would_a_planner_recovery_help_condition.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class WouldAPlannerRecoveryHelp : public AreErrorCodesPresent
2929
using Action = nav2_msgs::action::ComputePathToPose;
3030
using ActionResult = Action::Result;
3131
using ThroughAction = nav2_msgs::action::ComputePathThroughPoses;
32-
using ThroughActionResult = Action::Result;
32+
using ThroughActionResult = ThroughAction::Result;
3333

3434
public:
3535
WouldAPlannerRecoveryHelp(

0 commit comments

Comments
 (0)