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

Add API for direct robot charging requests #261

Open
luca-della-vedova opened this issue Feb 3, 2023 · 0 comments · May be fixed by #283
Open

Add API for direct robot charging requests #261

luca-della-vedova opened this issue Feb 3, 2023 · 0 comments · May be fixed by #283
Labels
enhancement New feature or request

Comments

@luca-della-vedova
Copy link
Member

Feature request

Description

There is currently no API for system integrators to submit a robot charging request. This is especially problematic since direct task requests bypass the implicit charging task insertion logic, instead if the robot doesn't have enough battery to perform the direct task assignment RMF will print a warning but still send the robot.
For direct task requests, the system integrator is expected to keep track of whether a robot has enough battery and charge it if needed. However, since currently there is no API to do so, the only way to go at the moment is to set the finishing_request of the fleet adapter to charge then wait until the battery state of charge is high enough before submitting the task request.

Implementation considerations

A schema for the charging task should be added here and deserialization should be updated to parse it when adding standard tasks.

@luca-della-vedova luca-della-vedova added the enhancement New feature or request label Feb 3, 2023
@luca-della-vedova luca-della-vedova linked a pull request Jun 15, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant