onshape-to-robot
onshape-to-robot copied to clipboard
SDF mesh path
Currently, using file://, is it the good way?
It's not ideal using file:// Another approach would be to use model://robot_name/ so that a ros package can export the package to GAZEBO_MODEL_PATH. It can be done in the package.xml for ros2.
<export>
<gazebo_ros gazebo_model_path="${prefix}/simulation/models/"/>
<gazebo_ros gazebo_media_path="${prefix}/simulation/worlds"/>
</export>
The folder containing the config.json file here would be under simulation/models
I'll make a PR.