ros-navigation / navigation2

ROS 2 Navigation Framework and System
https://nav2.org/
Other
2.51k stars 1.27k forks source link

[LifecycleNode] add bond_heartbeat_period #4342

Closed doisyg closed 4 months ago

doisyg commented 4 months ago

Basic Info

Info Please fill out this column
Ticket(s) this addresses
Primary OS tested on Ubuntu
Robotic platform tested on Dexory Robot
Does this PR contain AI generated software? No

Description of contribution in a few bullet points

This PR adds the parameter bond_heartbeat_period to the lifecycle nodes.

The bond heart beat period of the lifecycle node was fixed to 0.1 (s). This PR doesn't change the default value but allows to customize it, and to disable the bond mechanism if <= 0.0 (so no pub/sub on /bond)

Description of documentation updates required from your changes


Future work that may be required in bullet points

For Maintainers:

doisyg commented 4 months ago

https://github.com/ros-navigation/docs.nav2.org/pull/556

SteveMacenski commented 4 months ago

Just waiting on CI. I don't expect any issues, but since this touches every server, I want to make sure