Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use incremental timeouts in spin_until_future_calls during BT executi…
…on to handle large server timeouts (ros-navigation#2320) * Use incremental timeouts in spin_until_future_calls during BT execution Signed-off-by: Sarthak Mittal <[email protected]> * Fix tests Signed-off-by: Sarthak Mittal <[email protected]> * Fix tests * Remove unnecessary timeout_ variable Signed-off-by: Sarthak Mittal <[email protected]> * Reset goal_sent on terminal conditions Signed-off-by: Sarthak Mittal <[email protected]> * Rename variables and refactor timeout logic Signed-off-by: Sarthak Mittal <[email protected]> * Fix timeout logic and add tests Signed-off-by: Sarthak Mittal <[email protected]> * Updates tests to ensure previous node state does not leak into new cycles Signed-off-by: Sarthak Mittal <[email protected]> * Change goal_handle_ checks to future_goal_handle_ Signed-off-by: Sarthak Mittal <[email protected]> * Remove goal handle reset in halt * Update server_timeout to 20ms and inherit BtServiceNode from BT::ActionNodeBase Signed-off-by: Sarthak Mittal <[email protected]>
- Loading branch information