Skip to content

Add timeouts to all spin_until_future_complete calls#1998

Merged
SteveMacenski merged 2 commits intoros-navigation:mainfrom
naiveHobo:timeouts
Sep 29, 2020
Merged

Add timeouts to all spin_until_future_complete calls#1998
SteveMacenski merged 2 commits intoros-navigation:mainfrom
naiveHobo:timeouts

Conversation

@naiveHobo
Copy link
Copy Markdown
Contributor

Signed-off-by: Sarthak Mittal sarthakmittal2608@gmail.com


Basic Info

Info Please fill out this column
Ticket(s) this addresses #985
Primary OS tested on Ubuntu 18.04
Robotic platform tested on TurtleBot3 Gazebo Simulation

Signed-off-by: Sarthak Mittal <sarthakmittal2608@gmail.com>
Copy link
Copy Markdown
Member

@SteveMacenski SteveMacenski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mkhansenbot please review

Comment thread nav2_bringup/nav2_gazebo_spawner/nav2_gazebo_spawner/nav2_gazebo_spawner.py Outdated
Signed-off-by: Sarthak Mittal <sarthakmittal2608@gmail.com>
@codecov
Copy link
Copy Markdown

codecov bot commented Sep 29, 2020

Codecov Report

Merging #1998 into main will decrease coverage by 0.37%.
The diff coverage is 95.45%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1998      +/-   ##
==========================================
- Coverage   79.27%   78.89%   -0.38%     
==========================================
  Files         221      221              
  Lines       10620    10628       +8     
==========================================
- Hits         8419     8385      -34     
- Misses       2201     2243      +42     
Flag Coverage Δ
#project 78.89% <95.45%> (-0.38%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...lifecycle_manager/src/lifecycle_manager_client.cpp 85.71% <92.30%> (-2.10%) ⬇️
...tree/include/nav2_behavior_tree/bt_action_node.hpp 88.09% <100.00%> (+0.29%) ⬆️
...av2_lifecycle_manager/lifecycle_manager_client.hpp 100.00% <100.00%> (ø)
...re/include/dwb_core/illegal_trajectory_tracker.hpp 40.00% <0.00%> (-60.00%) ⬇️
...roller/dwb_core/src/illegal_trajectory_tracker.cpp 25.00% <0.00%> (-55.00%) ⬇️
...v2_recoveries/include/nav2_recoveries/recovery.hpp 83.52% <0.00%> (-5.89%) ⬇️
..._dwb_controller/dwb_core/src/dwb_local_planner.cpp 75.32% <0.00%> (-5.60%) ⬇️
nav2_recoveries/plugins/spin.cpp 88.00% <0.00%> (-5.34%) ⬇️
...v2_util/include/nav2_util/simple_action_server.hpp 89.37% <0.00%> (-2.50%) ⬇️
nav2_controller/src/nav2_controller.cpp 89.68% <0.00%> (+0.44%) ⬆️
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 369e62d...ffb621f. Read the comment docs.

@SteveMacenski SteveMacenski merged commit 506384f into ros-navigation:main Sep 29, 2020
@naiveHobo naiveHobo deleted the timeouts branch September 29, 2020 16:13
SteveMacenski pushed a commit that referenced this pull request Nov 4, 2020
* Add timeouts to all spin_until_future_complete calls

Signed-off-by: Sarthak Mittal <sarthakmittal2608@gmail.com>

* Update default timeout value

Signed-off-by: Sarthak Mittal <sarthakmittal2608@gmail.com>
SteveMacenski added a commit that referenced this pull request Nov 4, 2020
* initialize variables in inflation layer (#1970)

* Fix zero waypoints crash (#1978)

* return if the number of waypoints is zero.

* terminate the action.

* Succeed action instead of terminating.

* Add IsBatteryLow condition node (#1974)

* Add IsBatteryLow condition node

* Update default battery topic and switch to battery %

* Fix test

* Switch to sensor_msgs/BatteryState

* Add option to use voltage by default or switch to percentage

* Add sensor_msgs dependency in package.xml

* Make percentage default over voltage

* Update parameter list

* Initialize inflate_cone_ variable. (#1988)

* Initialize inflate_cone_ variable.

* initialize inflate_cone_ based on parameter.

* Increase the sleep time in the tests makes the costmap test always succeed on my machine.

* Add timeouts to all spin_until_future_complete calls (#1998)

* Add timeouts to all spin_until_future_complete calls

Signed-off-by: Sarthak Mittal <sarthakmittal2608@gmail.com>

* Update default timeout value

Signed-off-by: Sarthak Mittal <sarthakmittal2608@gmail.com>

* Controllers should not be influenced by time jumps or slew (#2012)

* Controllers should not be influenced by time jumps

Therefore use rclcpp::GenericRate<std::chrono::steady_clock> instead of
rclcpp::Rate

Signed-off-by: Martijn Buijs <martijn.buijs@gmail.com>

* Change to using `rclcpp::WallRate` for better readability

Signed-off-by: Martijn Buijs <martijn.buijs@gmail.com>

* Fix max path cycles for case where map has larger Y dimension than X dimension (#2017)

* Fix max path cycles for case where map has larger Y dimension than X dimension

* Improve readability

* fix ament_cpplint and ament_uncrustify issues

* fix minor cherry pick conflict mistake

* bump version to 0.4.4

Co-authored-by: Michael Ferguson <mfergs7@gmail.com>
Co-authored-by: Wilco Bonestroo <w.j.bonestroo@saxion.nl>
Co-authored-by: Sarthak Mittal <sarthakmittal2608@gmail.com>
Co-authored-by: Martijn Buijs <Martijn.buijs@gmail.com>
Co-authored-by: justinIRBT <69175069+justinIRBT@users.noreply.github.com>
ruffsl pushed a commit to ruffsl/navigation2 that referenced this pull request Jul 2, 2021
…1998)

* Add timeouts to all spin_until_future_complete calls

Signed-off-by: Sarthak Mittal <sarthakmittal2608@gmail.com>

* Update default timeout value

Signed-off-by: Sarthak Mittal <sarthakmittal2608@gmail.com>
savalena pushed a commit to savalena/navigation2 that referenced this pull request Jul 5, 2024
…1998)

* Add timeouts to all spin_until_future_complete calls

Signed-off-by: Sarthak Mittal <sarthakmittal2608@gmail.com>

* Update default timeout value

Signed-off-by: Sarthak Mittal <sarthakmittal2608@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants