Skip to content

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

Description

@azeey

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

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

Status
To do

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions