File tree Expand file tree Collapse file tree 2 files changed +0
-7
lines changed
nav2_behavior_tree/include/nav2_behavior_tree Expand file tree Collapse file tree 2 files changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -199,10 +199,6 @@ class BtActionNode : public BT::ActionNodeBase
199199 // reset the flag to send the goal or not, allowing the user the option to set it in on_tick
200200 should_send_goal_ = true ;
201201
202- // Clear the input and output messages to make sure we have no leftover from previous calls
203- goal_ = typename ActionT::Goal ();
204- result_ = typename rclcpp_action::ClientGoalHandle<ActionT>::WrappedResult ();
205-
206202 // user defined callback, may modify "should_send_goal_".
207203 on_tick ();
208204
Original file line number Diff line number Diff line change @@ -141,9 +141,6 @@ class BtServiceNode : public BT::ActionNodeBase
141141 should_send_request_ = true ;
142142 should_fail_not_sent_request_ = true ;
143143
144- // Clear the input request to make sure we have no leftover from previous calls
145- request_ = std::make_shared<typename ServiceT::Request>();
146-
147144 // user defined callback, may modify "should_send_request_".
148145 on_tick ();
149146
You can’t perform that action at this time.
0 commit comments