Skip to content

Add ros2 service related tools to the agriculture demo #474

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

Closed
boczekbartek opened this issue Mar 25, 2025 · 3 comments
Closed

Add ros2 service related tools to the agriculture demo #474

boczekbartek opened this issue Mar 25, 2025 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@boczekbartek
Copy link
Member

Describe the bug
On development branch the agriculture demo is not working as expected. Agent can't call services correctly.

To Reproduce

Follow: https://github.com/RobotecAI/rai/blob/main/docs/demos/agriculture.md

Version
#449

Additional context

  • CallROS2ServiceTool has to added to the agent
  • serivces listing / interface tool has to be added
@maciejmajek
Copy link
Member

maciejmajek commented Mar 31, 2025

@rachwalk while you are at it, please reimplement the logic so that rai can be called via service using connectors' new service server feature.
The service name should be tractor(1/2)/recover
The service Type is trigger.

RAI is called using Trigger, rai processes the enviroment and sends response in the message part of the service's response.
The message can be one of the following:

  • continue
  • stop
  • replan
  • flash

@maciejmajek
Copy link
Member

@rachwalk after some consideration, please hold back from implementing the refactor. There is a problem in the proposed communication setup.

@maciejmajek
Copy link
Member

Closed by #498 merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants