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

Get response from ROS services #36

Open
Rezenders opened this issue Jul 13, 2020 · 0 comments
Open

Get response from ROS services #36

Rezenders opened this issue Jul 13, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Rezenders
Copy link
Collaborator

Services responses are not being sent to the agent. This should be implemented.

A possible way to do this would be to publish the response into a topic defined in the action description in action manifest, something like the response field below.

[set_fcu_param]
method = service
name = mavros/param/set
msg_type = mavros_msgs/ParamSet
params_name = param_id, value.integer, value.real
params_type = str, int, float
response = mavros/param/set/response

The response can be treated as a perception:

[set_fcu_param_response]
name = mavros/param/set/response
msg_type = mavros_msgs/ParamSetResponse
args = success, value.integer, value.float
buf = add
@Rezenders Rezenders added the enhancement New feature or request label Jul 13, 2020
@Rezenders Rezenders self-assigned this Jul 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant