Closed mbb1234567890 closed 1 year ago
Hello @mbb1234567890! Thanks for raising this issue, could you check if https://github.com/open-rmf/rmf_traffic_editor/pull/440 fixes your problem?
Hi aaronchongth , model_downloader.py line 24 defined default args "~/.gazebo/models/" for -m
parser.add_argument("-m", "--model-path", type=str, default="~/.gazebo/models/", help="Path to check models from and download models to")
https://github.com/open-rmf/rmf_traffic_editor/pull/440 will always to be "~/.ignition/fuel/" in building_map_model_downloader.py line 124 Is that right?
hello @mbb1234567890, I am not too sure what your question is. Are you perhaps unsure why these 2 model paths are defined?
building_map_model_downloader
uses gz-fuel-tools for model downloading, therefore we will need to collect the downloaded models from ~/.ignition/fuel
after it has been downloaded, and we will then export it to wherever the user defined as --model-path
.
The default value of --model-path
is ~/.gazebo/models
to accommodate the use of these models for gazebo classic, but users can define wherever they would like the models to be exported to.
Thanks , problem solved!
Apologies for closing the issue early, the fix, https://github.com/open-rmf/rmf_traffic_editor/pull/440, has just been merged in
Bug report
Required information:
Description of the bug
download demo models use
ros2 run rmf_building_map_tools model_downloader rmf_demos_maps -s airport_terminal
received error :Steps to reproduce the bug
colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release
source ~/rmf_ws/install/setup.bash
ros2 run rmf_building_map_tools model_downloader rmf_demos_maps -s airport_terminal
Expected behavior
model_downloader.py line 80, method
download_models
set wrong params, building_map_model_downloader.py line 91, methoddownload_models
definition incorrect, use wrong params valueActual behavior
Screenshots
Additional information