This repository contain scripts used to generate urdf files of GrannyAnnie gazebo world models, all steps follow are written on the wiki. Also, it contain unity package with GrannyAnnie world prefab to import this world to any unity scene.
-
Open the Package Manager from Unity Menu. Click
Window -> Package Manager
. A new package manager window will appear. -
Click on the
+
sign on the top left corner of the package manager window and click onAdd Package from Git URL
.
- Enter the git URL for the GrannyAnnie-world with the latest version tag (currently v0.0.1)
https://github.com/patricia241/GrannyAnnie-UnityWorld.git?path=/com.unity.robotics-world.grannyannie-unityworld#v0.0.1
in the text box and clickAdd
.
Once the package is imported, a folder called GrannyAnnie-world will appear in Packages, inside it in Resources/Prefabs/GrannyAnnieWorld we will find the world prefab ready to be included in our scene. In the event that all the prefabs are pink, follow these steps:
- Select "Edit" on the Unity menu bar and click "Project Settings".
- The "Project Settings" window will open. Click "Player" in the left panel.
- In the right pane, scroll down to the "Other Settings" section.
- Look for the "Scripting Define Symbols" option.
- Add "URP" to the end of the text field. Be sure to separate it from other symbols with a semicolon (;).
After adding "URP" to the list of symbol definitions, make sure to save the settings by clicking "Apply" or "OK" at the bottom of the window. Then, restart Unity for the changes to take effect.
On Packages/GrannyAnnie-world/Resources/URDF/Materials select all materials and click Edit -> Rendering -> Materials -> Convert Selected Builtin Materials to URP.