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

Fix/docking end #31

Merged
merged 10 commits into from
May 31, 2023
Merged

Fix/docking end #31

merged 10 commits into from
May 31, 2023

Conversation

RBinsonB
Copy link
Contributor

Basic Info

Info Please fill out this column
Ticket(s) this addresses Closes #17
Primary OS tested on Ubuntu 22.04
Robotic platform tested on Real MiR100 with Open-RMF running on ROS 2 Humble

How to run this PR feature

  • Reproduce the condition of the linked issue (charge finishing task can't be interrupted #17) with a dock charger. The dock should also be on the Open-RMF map.
  • Build the MiR fleet adapter package (or mount and build on the package in the Open-RMF test docker)
  • Run Open-RMF core and the MiR fleet adapter
  • Send the robot to the charger point

What you should expect:

  • After charge is over, the robot should disconnect from the charger

Description of contribution in a few bullet points

  • The function to queue a docking mission was not returning the response.
  • The flag to signal that charging has started is toggled to true when receiving an API message of the robot charging, but is not switched back to false anymore when the robot finishes charging.

RBinsonB added 6 commits May 2, 2023 14:05
The orientation of the transform from RMF to MiR should be added (and not deducted) to the robot orientation in the RMF map frame in order to get the orientation in the MiR map frame.
Add MiRFM fleet adapter package (open-rmf#27)
Copy link
Member

@Yadunund Yadunund left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this. Minor comments to address. I've opened this ticket to address style changes separately #32

@RBinsonB RBinsonB requested a review from Yadunund May 24, 2023 13:07
Copy link
Member

@Yadunund Yadunund left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for iterating!

@koonpeng/ @xiyuoh any objections to the changes here?

@xiyuoh
Copy link
Member

xiyuoh commented May 31, 2023

LGTM! Looks like the MirFM adapter is missing docking_finished_callback() at abort too, will open a new PR for that

@Yadunund Yadunund merged commit 80285b3 into open-rmf:main May 31, 2023
@RBinsonB RBinsonB deleted the fix/docking_end branch June 2, 2023 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

charge finishing task can't be interrupted
3 participants