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

Interpret call_services_in_new_thread as boolean #857

Merged
merged 4 commits into from Sep 26, 2023

Conversation

rwhitney456
Copy link
Contributor

Public API Changes

None

Description

I ran into an issue with having the call_service operation run in its own thread (introduced in #847). This is not a huge deal as there is a configuration option to turn it off.

However, changing the value of call_services_in_new_thread parameter in the rosbridge_websocket_launch.xml has no effect on whether or not that functionality is used.

The issue is the parameter object always evaluates to True instead of evaluating the value of the parameter object (which can be interpreted as a string, double, bool, etc.). This change explicitly specifies how it should be interpreted which is probably what was intended when the parameter was introduced.

@rwhitney456
Copy link
Contributor Author

Sorry about all the commits for re-running linting. I didn't see a way to re-run them manually.

Copy link
Contributor

@achim-k achim-k left a comment

Choose a reason for hiding this comment

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

Thanks for the fix

Rebased it so all CI builds are run

@achim-k achim-k enabled auto-merge (squash) September 26, 2023 18:21
@achim-k achim-k merged commit 98909f1 into RobotWebTools:ros2 Sep 26, 2023
6 checks passed
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.

None yet

2 participants