Commit d3ad2b8
fix: change warning to exception when goal poses cannot be transformed (#5759)
- Replace RCLCPP_WARN with std::runtime_error exception in onPreempt method
- Remove bt_action_server_->terminatePendingGoal() call after accepting goal
- Add required stdexcept include for exception handling
Fixes issue where navigators accept pending goal but are not properly
terminated if rejected during goal pose transformation.
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>1 parent f430550 commit d3ad2b8
File tree
1 file changed
+3
-4
lines changed1 file changed
+3
-4
lines changedLines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
217 | 218 | | |
218 | 219 | | |
219 | 220 | | |
220 | | - | |
221 | | - | |
| 221 | + | |
222 | 222 | | |
223 | | - | |
224 | | - | |
| 223 | + | |
225 | 224 | | |
226 | 225 | | |
227 | 226 | | |
| |||
0 commit comments