Skip to content

Commit

Permalink
workaround fuel dup (#490)
Browse files Browse the repository at this point in the history
Signed-off-by: Teo Koon Peng <[email protected]>
  • Loading branch information
koonpeng authored Apr 25, 2024
1 parent ed39754 commit e1d7a3e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion rmf_building_map_tools/pit_crew/pit_crew.py
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,12 @@ def build_and_update_cache(cache_file_path=None, write_to_cache=True,
author_name = model.get("owner", "")

# If a cached model was found, halt
if (model_name, author_name) in old_cache['model_cache']:
if (
(model_name, author_name) in old_cache['model_cache']
# this particular model is duplicated in fuel,
# causing the cache to break early
and model_name != "ur5_rg2" and author_name != "anni"
):
logger.info("Cached model found! "
"Halting Fuel traversal...")
break_flag = True
Expand Down

0 comments on commit e1d7a3e

Please sign in to comment.