Field-Robotics-Lab / dave

Project DAVE
Apache License 2.0
221 stars 70 forks source link

Add object models to ignition/fuel #195

Open bsb808 opened 2 years ago

bsb808 commented 2 years ago

Once we have the new object models integrated into the project for the next release - i.e., we have added the files and reviewed PRs such as #194 - then it would be good to upload these to the DAVE collection on ignition fuel.

Instructions from @mabelzhang

YI a bit more info

You can upload newer versions of the same model, if you want to modify a previous upload.

There are some requirements for the models, so that they will work in Gazebo. There's very limited documentation here https://openrobotics.freshdesk.com/support/solutions/articles/43000011289-contributing-a-new-model

We package the models with top-level model.sdf and model.config files, put the meshes and textures in subfolders, etc. I don't know if it's Ryan or Duane on your end who handles that.

Let me know if any questions arise. We can probably improve our documentation if this turns out to be a pain. Thanks! Mabel

After creating an account on app.ignitionrobotics.org (anyone can create an account), click the + button on the upper-right to upload a model or a world.

Per Cole, after uploading the model, on the model page, click this button (two overlapped squares of images) to add to a collection:

IgnitionFuel_uploadToCollection1.png

Then you can enter the name of a collection to look for it:

IgnitionFuel_uploadToCollection2.png

Hope that helps! Mabel

On Fri, Feb 11, 2022, 12:09 Bingham, Brian (CIV) [bbingham@nps.edu](mailto:bbingham@nps.edu) wrote: Hi Mabel,

Is there a way for Ryan to upload models to the DAVE collection at fuel - https://app.ignitionrobotics.org/Cole/fuel/collections/DAVE

It would be really cool to have that collection be fairly complete.

All the best, Brian

mabelzhang commented 2 years ago

Additional tip: Once a model is uploaded to Ignition Fuel, it can be included in the SDF file by <uri>https://...</uri>. The address is on the object page in the bibtex block where it says url={...}.

mabelzhang commented 2 years ago

Tutorial for uploading models to Fuel https://ignitionrobotics.org/api/gazebo/6.5/meshtofuel.html Models should be in a directory following the structure detailed in the tutorial.

quarkytale commented 2 years ago

All set: https://app.ignitionrobotics.org/OpenRobotics/fuel/collections/DAVE

mabelzhang commented 2 years ago

I think we need to merge a PR replacing all the existing local references to models with the Fuel URLs before this can be closed :)