Closed alexander-sung closed 9 months ago
@mintar @sebastianstock This is the pull request I was speaking of. The UP objects for the Location
s need to be created explicitly for all tables now because since this pull request they are not mentioned in the start script anymore - obviously they must be.
Still, another review is necessary to rate whether the "caching" mechanism is actually helpful.
Another small refactoring pull request which aims at removing actual item locations from the interfaces of real demos where this information is neither given nor needed. Concept:
item_locations
only for simulation.api_items: Iterable[Item]
.demo_items: List[Item]
at script level. Their location information must come from other sources, e.g., symbolic fact generation.If you encounter errors due to missing UP locations, please make sure to create them during environment setup. Previously, the
Location.get()
commands did it implicitly but as of now, https://github.com/DFKI-NI/mobipick_labs/blob/noetic/tables_demo_planning/src/tables_demo_planning/tables_demo_api.py#L46 is probably doing it for the three tables explicitly listed there.