Closed acmiyaguchi closed 1 year ago
This seems to work well for my purposes, but there is a minor issue at the time of writing. I have yet to move the descriptions for the affordance files (for files suffixed with _gt_{index}.dae
). The cmake is tricky for doing regular expressions, but if this actually gets review in the near future and I can make some effort to finish it up.
This follows the general instructions in https://github.com/ivalab/simData_imgSaver for preprocessing images. This should replace some of the matlab scripts with CMake instead.
https://github.com/ivalab/simData_imgSaver/blob/master/utils/move_model_files.m
This approach has the benefit of being integrated into the catkin workflow, and also does not rely on hardcoding values or changing the repository after checkout. I tried to set this up so that the files could be found in the installation directory, and added to the gazebo path directly. However, I had issues with the
$(find warehouse)
action in theroslaunch
file, so we have to deal with absolute paths in the generated files.