Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate -spawn_service_timeout option #1238

Merged
merged 3 commits into from
Mar 30, 2021

Conversation

jacobperron
Copy link
Collaborator

The spawn_entity.py script has two options for setting service timeouts:

  1. '-timeout': Sets the duration to wait for all services to be ready
  2. '-spawn_service_timeout': Sets the duration to wait for the spawn_entity service to be ready

(1) is available in all ROS distros since Dashing (except Eloquent for some reason).
(2) was introduced in Eloquent, and replaced (1) in Foxy as the way to control the timeout specifically for the spawn_entity service.

This change deprecates (2) and assumes (1) is used for all service timeouts again.

This change also adds smoke tests for the two options.


For reference, -timeout was added in #1072 and #1073, and -spawn_service_timeout was added in #1090.

The spawn_entity.py script has two options for setting service timeouts:

1. '-timeout': Sets the duration to wait for all services to be ready
2. '-spawn_service_timeout': Sets the duration to wait for the spawn_entity service to be ready

(1) is available in all ROS distros since Dashing (except Eloquent for some reason).
(2) was introduced in Eloquent, and replaced (1) in Foxy as the way to control the timeout specifically for the spawn_entity service.

This change deprecates (2) and assumes (1) is used for all service timeouts again.

This change also adds smoke tests for the two options.

Signed-off-by: Jacob Perron <[email protected]>
Signed-off-by: Jacob Perron <[email protected]>
@jacobperron
Copy link
Collaborator Author

@Karsten1987 and @chapulina, let me know what you think about this proposal to deprecate -spawn_service_timeout.

Signed-off-by: Jacob Perron <[email protected]>
@jacobperron
Copy link
Collaborator Author

@ros-pull-request-builder retest this please

@jacobperron jacobperron merged commit 84a088b into ros2 Mar 30, 2021
@jacobperron jacobperron deleted the jacob/deprecate_spawn_service_timeout branch March 30, 2021 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants