Skip to content
This repository has been archived by the owner on Jul 22, 2021. It is now read-only.

Implement Ingestors #164

Merged
merged 2 commits into from Aug 27, 2020
Merged

Implement Ingestors #164

merged 2 commits into from Aug 27, 2020

Conversation

mrushyendra
Copy link
Contributor

  • Split the existing Dispensers into Dispensers and Ingestors. Ingestors will handle the taking in of objects delivered to them.
  • Added a new set of messages for the Ingestors, which mimics the existing Dispenser messages.
  • Modified the Delivery task to make use of the Ingestors.
  • Added unit tests for the Ingestor and modified the existing Delivery test to use a flaky Ingestor
    instead of a flaky Dispenser.

Initially considered refactoring the IngestItem and DispenseItem structs into a common HandleItem template struct, but it was not very extensible or modifiable, did not shorten the code by much, and also added a lot of complexity.

Split the existing Dispensers into Dispensers and Ingestors. Ingestors
will handle the taking in of objects delivered to them.

Added a new set of messages for the Ingestors, which mimics the existing
Dispenser messages.

Modified the Delivery task to make use of the Ingestors.

Added unit tests for the Ingestor and modified the existing Delivery test
to use a flaky Ingestor instead of a flaky Dispenser.
Copy link
Contributor

@aaronchongth aaronchongth 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 refactoring and adding the functionality for ingestors! Everything looks good to merge after the maintainer name change, and should be merged together with osrf/rmf_demos#117. Thanks!

Copy link
Contributor

@aaronchongth aaronchongth left a comment

Choose a reason for hiding this comment

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

Awesome, thanks!

@aaronchongth aaronchongth merged commit 6ee8fb3 into osrf:master Aug 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants