onshape-to-robot icon indicating copy to clipboard operation
onshape-to-robot copied to clipboard

SDF mesh path

Open Gregwar opened this issue 5 years ago • 1 comments

Currently, using file://, is it the good way?

Gregwar avatar Feb 19 '20 17:02 Gregwar

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.

lokiledev avatar Apr 13 '21 10:04 lokiledev