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

gz service -r should not require --reqtype and --reptype #473

Open
azeey opened this issue Jan 26, 2024 · 0 comments
Open

gz service -r should not require --reqtype and --reptype #473

azeey opened this issue Jan 26, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@azeey
Copy link
Contributor

azeey commented Jan 26, 2024

Desired behavior

gz service -r automatically determines the Request and Response message types. So instead of:

gz service -s /gazebo/worlds --reqtype gz.msgs.Empty --reptype gz.msgs.StringMsg_V -r 'unused: true' --timeout 2000

I'd like to run:

gz service -s /gazebo/worlds  -r 'unused: true' --timeout 2000

Alternatives considered

n/a

Implementation suggestion

gz service -i is able to retrieve the request and response types so it should be possible to use the same mechanism when making service calls via gz service -r.

Additional context

n/a

@azeey azeey added enhancement New feature or request help wanted Extra attention is needed labels Jan 26, 2024
@azeey azeey added the good first issue Good for newcomers label Jan 26, 2024
@azeey azeey changed the title gz service should not require --reqtype and --reptype gz service -r should not require --reqtype and --reptype Jan 26, 2024
@mjcarroll mjcarroll moved this from Inbox to To do in Core development Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
Status: To do
Development

No branches or pull requests

1 participant