Skip to content

Commit 4f88557

Browse files
sdiaovidurvij-UnitymrpropellersLaurieCheers-unitypeifeng-unity
authored
Merge Dev to Main (#115)
* Adding ROS# link (#39) * Adding ROS# link * Fixing Unity 2020.1.8f1 compatability issues. * Adding precompile error if an older version of Unity is used * Fixing spacing * Removing 2020.1 version enforcement * Remove degree to rad conversions (#44) * AIRO-331 Re-organizing package directory and adding Yamato integration (#41) * Moving package into package folder * Adding test project. * Adding boilerplate tests. * Add yamato config * Disabling audio in test project and adding submodule checkout to Yamato cfg * Adding Unity .gitattributes and normalizing line endings. (#42) * Vidur/remove controller limits for free joints (#45) * AIRO - 365 Add feedback while URDF is being imported (#43) * Convert RobotExtensions to an iterator * Adding EditorCorutine to package manifest * Adding import status data * Updating the assembly file. * Adding option to add or remove progressbar * Update git links with tags(#48) * Regenerating meta files for tests copied from ROS-TCP-Connector * Latest VHACD (#49) * Remove the submodule for now, to avoid a packman bug. (#52) * Update version (#53) * VHACD license -> root folder (#55) * VHACD dlls should not be in LFS * update latest version in readme (#58) * Disable RigidbodyEditor controls at runtime Fix for #59 * test.txt * deleting the txt file added by mistake * Adding default values for Articulation Body Parameters (#57) * Adding a default value if mass is zero. * Correct the null value error in Articulation Body attributes * Adding return value of Create function as GameObject * Adding default values variables for damping and friction * Update link branch from master to main. (#66) * Updating Contribution Content (#68) * Contributing content * PR feedback * Adding PR template (#73) * Resolve conflicts (#80) Merge main to dev and resolve all the conflicts * Update package.json (#84) * Fix bad merge * Fix bad merge * support for runtime urdf importing (#67) * moved "NeedsRuntimeConversion" to Runtime and adjusted namespace * moved MeshProcessing and AssetHandler to Runtime * move all editor only calls to RuntimeURDF.cs * fixed compile issues: builds in runtime, but does nothing * URDF can now be imported in runtime (STL only) * cleanup: moved files into corresponding runtime directories. * Added UnityMeshImporter and AssimpNet plugin * Loading collada files in runtime (using AssimpNet plugin). * Proper creation of materials for HDRP/Standard when loading collada files * disable Assimpnet for IL2CPP builds * added parameter to URDFRobotExtensions.Create() to allow the option of using the runtime import mode in editor. * cleaning up material extensions * disable controller component during import to avoid incorrect configuration. * fix for the default diffuse material in HDRP * minor clean up and code convention fixes * added support for .obj visual meshes * don't enable the controller automatically in runtime mode. * variable name typo fix * Broke the Create() function into pipeline stages to reuse the code for both the none-blocking coroutine and blocking function call. * Added RuntimeURDFImporter component as an example usage of runtime import functionality * fix the bug with editor dialogs * random code formatting fixes * Moved and renamed the Transform extension function FindChildByQuery * fixed materials for URP projects. * removed unused code. * minor code formatting * removed unused code * URDF imported objects lose mesh colliders when made into prefabs (#72) * Saving decomposed mesh * checks to make the newly added vhacd mesh creation be compatible with the runtime mode. * minor code formatting Co-authored-by: Hamid Younesy <hamid.younesy@unity3d.com> * removing lfs as causes issues with the plugin dlls * deleting plugin to add it back without lfs * adding back AssimpNet libraries without lfs * deleting vhacd library to add it back without lfs * adding back VHACD libraries without lfs * Fixed the overexposed highlight color Co-authored-by: vidurvij-Unity <60901103+vidurvij-Unity@users.noreply.github.com> * Hamid/fix bad merge (#87) * Merge 0.3.0 into main (#86) * Adding ROS# link (#39) * Adding ROS# link * Fixing Unity 2020.1.8f1 compatability issues. * Adding precompile error if an older version of Unity is used * Fixing spacing * Removing 2020.1 version enforcement * Remove degree to rad conversions (#44) * AIRO-331 Re-organizing package directory and adding Yamato integration (#41) * Moving package into package folder * Adding test project. * Adding boilerplate tests. * Add yamato config * Disabling audio in test project and adding submodule checkout to Yamato cfg * Adding Unity .gitattributes and normalizing line endings. (#42) * Vidur/remove controller limits for free joints (#45) * AIRO - 365 Add feedback while URDF is being imported (#43) * Convert RobotExtensions to an iterator * Adding EditorCorutine to package manifest * Adding import status data * Updating the assembly file. * Adding option to add or remove progressbar * Update git links with tags(#48) * Regenerating meta files for tests copied from ROS-TCP-Connector * Latest VHACD (#49) * Remove the submodule for now, to avoid a packman bug. (#52) * Update version (#53) * VHACD license -> root folder (#55) * VHACD dlls should not be in LFS * update latest version in readme (#58) * Disable RigidbodyEditor controls at runtime Fix for #59 * test.txt * deleting the txt file added by mistake * Adding default values for Articulation Body Parameters (#57) * Adding a default value if mass is zero. * Correct the null value error in Articulation Body attributes * Adding return value of Create function as GameObject * Adding default values variables for damping and friction * Update link branch from master to main. (#66) * Updating Contribution Content (#68) * Contributing content * PR feedback * Adding PR template (#73) * Resolve conflicts (#80) Merge main to dev and resolve all the conflicts * Update package.json (#84) * Fix bad merge * Fix bad merge Co-authored-by: vidurvij-Unity <60901103+vidurvij-Unity@users.noreply.github.com> Co-authored-by: Devin Miller (Unity) <mrpropellers@users.noreply.github.com> Co-authored-by: Devin Miller <devin.miller@unity3d.com> Co-authored-by: peifeng-unity <56408141+peifeng-unity@users.noreply.github.com> Co-authored-by: Hamid Younesy <hamid.younesy@unity3d.com> Co-authored-by: Amanda <31416491+at669@users.noreply.github.com> * removing unused meta file Co-authored-by: LaurieCheers-unity <73140792+LaurieCheers-unity@users.noreply.github.com> Co-authored-by: vidurvij-Unity <60901103+vidurvij-Unity@users.noreply.github.com> Co-authored-by: Devin Miller (Unity) <mrpropellers@users.noreply.github.com> Co-authored-by: Devin Miller <devin.miller@unity3d.com> Co-authored-by: peifeng-unity <56408141+peifeng-unity@users.noreply.github.com> Co-authored-by: Amanda <31416491+at669@users.noreply.github.com> * [AIRO-589] Model and collision rotation mismatch (#78) correct collider rotation only for y-axis and add null check * Replace ../ with package://, throw more warnings otherwise (#90) * Replace ../ with package://, throw more warnings otherwise * PR feedback: more descriptive warning message * add changelog (#92) add changelog * Save assets for generated cylinder meshes (#91) * Initial GeneratedMeshes directory commit * Cylinder mesh saving * PR feedback: new cylinder method, Unity decomposer support * PR feedback: non-VHACD cylinder, unit tests * PR feedback: unit test conventions * Forum links to README, config.yml (#96) * Add test coverage (#93) * Math, VHACD Unit Tests (#94) * Math, VHACD tests * Organization for Math, VHACD * Vector3 fixes * fix the bash numeric error (#99) * RuntimeURDF tests (#97) * RuntimeURDF tests, skippping dialogs * PR feedback: removing unused blocks * Geometry, GeometryCollision Tests (#95) * UrdfGeometry tests * Folder organization * PR feedback: test fixes, Yamato config * Added sample STL for Geometry tests * UrdfCollisionExtensions, UrdfCollisionsExtensions Tests (#98) * UrdfCollisionExtensions tests * UrdfCollisionsExtensions tests * Destroy objects, naming conventions * UrdfCollision(s) minor cleanup, reorganization * Fixing line coverage typo * Cleaning up Geometry tests, fixes to Collisions tests * Remove class member * add unit tests for UrdfJoint (#100) * BuiltInExtensions Tests (#103) * BuiltInExtensions Tests * Removed debug logs * PR feedback: internal BuiltIn class * Add unit tests for UrdfJoints (#102) * UrdfAssetPathHandler Tests (#104) * UrdfAssetPathHandler Tests * UrdfAssetPathHandler test cleanup * PR feedback * update version to 0.4.0 (#109) Co-authored-by: vidurvij-Unity <60901103+vidurvij-Unity@users.noreply.github.com> Co-authored-by: Devin Miller (Unity) <mrpropellers@users.noreply.github.com> Co-authored-by: Devin Miller <devin.miller@unity3d.com> Co-authored-by: LaurieCheers-unity <73140792+LaurieCheers-unity@users.noreply.github.com> Co-authored-by: peifeng-unity <56408141+peifeng-unity@users.noreply.github.com> Co-authored-by: Hamid Younesy <hamid.younesy@unity3d.com> Co-authored-by: Amanda <31416491+at669@users.noreply.github.com> Co-authored-by: Hamid Younesy <hyounesy@users.noreply.github.com>
1 parent c412085 commit 4f88557

File tree

168 files changed

+17428
-1087
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

168 files changed

+17428
-1087
lines changed

.gitattributes

Lines changed: 0 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
* text=auto eol=lf
2-
32
# EOL
4-
53
*.py eol=lf
64
*.pl eol=lf
75
*.pm eol=lf
@@ -29,7 +27,6 @@ Makefile eol=lf
2927
Runtime/Export/common_* eol=lf
3028
Repositories.ini eol=lf
3129
.hgignore eol=lf
32-
3330
# vs can handle these as lf, but really wants them as crlf
3431
*.vcproj eol=crlf
3532
*.vcxproj eol=crlf
@@ -42,103 +39,7 @@ Repositories.ini eol=lf
4239
*.bat eol=crlf
4340
*.cmd eol=crlf
4441
*.xaml eol=crlf
45-
4642
# the templating parser will actually fail on lf, inexplicably setting every #line directive as '1'
4743
*.tt eol=crlf
4844
*.t4 eol=crlf
4945
*.ttinclude eol=crlf
50-
51-
# LFS
52-
53-
# archives and well-known binary formats
54-
*.[zZ][iI][pP] filter=lfs diff=lfs merge=lfs -text
55-
*.7[zZ] filter=lfs diff=lfs merge=lfs -text
56-
*.[zZ]7 filter=lfs diff=lfs merge=lfs -text
57-
*.[tT][gG][zZ] filter=lfs diff=lfs merge=lfs -text
58-
*.[gG][zZ] filter=lfs diff=lfs merge=lfs -text
59-
*.[jJ][aA][rR] filter=lfs diff=lfs merge=lfs -text
60-
*.[nN][uU][pP][kK][gG] filter=lfs diff=lfs merge=lfs -text
61-
*.[eE][gG][gG] filter=lfs diff=lfs merge=lfs -text
62-
*.[aA][pP][kK] filter=lfs diff=lfs merge=lfs -text
63-
*.[mM][sS][iI] filter=lfs diff=lfs merge=lfs -text
64-
*.[aA][rR][cC] filter=lfs diff=lfs merge=lfs -text
65-
66-
# executables and libraries
67-
*.[aA] filter=lfs diff=lfs merge=lfs -text
68-
*.[oO] filter=lfs diff=lfs merge=lfs -text
69-
#*.[sS][oO] filter=lfs diff=lfs merge=lfs -text
70-
*.[bB][iI][nN] filter=lfs diff=lfs merge=lfs -text
71-
#*.[dD][lL][lL] filter=lfs diff=lfs merge=lfs -text
72-
*.[oO][bB][jJ] filter=lfs diff=lfs merge=lfs -text
73-
*.[dD][yY][lL][iI][bB] filter=lfs diff=lfs merge=lfs -text
74-
*.[lL][iI][bB] filter=lfs diff=lfs merge=lfs -text
75-
*.[eE][xX][eE] filter=lfs diff=lfs merge=lfs -text
76-
77-
# specific binaries in the unity codebase
78-
js filter=lfs diff=lfs merge=lfs -text
79-
p4 filter=lfs diff=lfs merge=lfs -text
80-
p4d filter=lfs diff=lfs merge=lfs -text
81-
flex filter=lfs diff=lfs merge=lfs -text
82-
bison filter=lfs diff=lfs merge=lfs -text
83-
distcc filter=lfs diff=lfs merge=lfs -text
84-
distccd filter=lfs diff=lfs merge=lfs -text
85-
gdbserver filter=lfs diff=lfs merge=lfs -text
86-
fastzip_darwin filter=lfs diff=lfs merge=lfs -text
87-
ProxyServer filter=lfs diff=lfs merge=lfs -text
88-
node filter=lfs diff=lfs merge=lfs -text
89-
usymtool filter=lfs diff=lfs merge=lfs -text
90-
libtool filter=lfs diff=lfs merge=lfs -text
91-
optool filter=lfs diff=lfs merge=lfs -text
92-
Cg filter=lfs diff=lfs merge=lfs -text
93-
PVRTexTool filter=lfs diff=lfs merge=lfs -text
94-
PVRTexToolCL filter=lfs diff=lfs merge=lfs -text
95-
PVRTexToolCLI filter=lfs diff=lfs merge=lfs -text
96-
iproxy filter=lfs diff=lfs merge=lfs -text
97-
7za filter=lfs diff=lfs merge=lfs -text
98-
yasm filter=lfs diff=lfs merge=lfs -text
99-
nasm filter=lfs diff=lfs merge=lfs -text
100-
lzma filter=lfs diff=lfs merge=lfs -text
101-
lzma-linux32 filter=lfs diff=lfs merge=lfs -text
102-
unity_web_d3d filter=lfs diff=lfs merge=lfs -text
103-
unity_web_gl filter=lfs diff=lfs merge=lfs -text
104-
Everyplay filter=lfs diff=lfs merge=lfs -text
105-
UnityAds filter=lfs diff=lfs merge=lfs -text
106-
usym_upload filter=lfs diff=lfs merge=lfs -text
107-
eng.cube.size filter=lfs diff=lfs merge=lfs -text
108-
eng.cube.nn filter=lfs diff=lfs merge=lfs -text
109-
ispc_osx filter=lfs diff=lfs merge=lfs -text
110-
dump_syms filter=lfs diff=lfs merge=lfs -text
111-
astcenc_linux filter=lfs diff=lfs merge=lfs -text
112-
astcenc_osx filter=lfs diff=lfs merge=lfs -text
113-
convert filter=lfs diff=lfs merge=lfs -text
114-
convert_linux filter=lfs diff=lfs merge=lfs -text
115-
etcpack2_linux filter=lfs diff=lfs merge=lfs -text
116-
arm-eabi-gdb.dist filter=lfs diff=lfs merge=lfs -text
117-
arm-eabi-gdb filter=lfs diff=lfs merge=lfs -text
118-
build-wrapper-linux-x86-64 filter=lfs diff=lfs merge=lfs -text
119-
build-wrapper-linux-x86-32 filter=lfs diff=lfs merge=lfs -text
120-
build-wrapper-macosx-x86 filter=lfs diff=lfs merge=lfs -text
121-
AudioPluginDemo filter=lfs diff=lfs merge=lfs -text
122-
re2c filter=lfs diff=lfs merge=lfs -text
123-
ios-deploy filter=lfs diff=lfs merge=lfs -text
124-
mobiledevice filter=lfs diff=lfs merge=lfs -text
125-
AssetBundles filter=lfs diff=lfs merge=lfs -text
126-
Unity4XC filter=lfs diff=lfs merge=lfs -text
127-
lemon filter=lfs diff=lfs merge=lfs -text
128-
etcpack filter=lfs diff=lfs merge=lfs -text
129-
etcpack2 filter=lfs diff=lfs merge=lfs -text
130-
enabundle filter=lfs diff=lfs merge=lfs -text
131-
assetDatabase3 filter=lfs diff=lfs merge=lfs -text
132-
MasterServer filter=lfs diff=lfs merge=lfs -text
133-
Facilitator filter=lfs diff=lfs merge=lfs -text
134-
RenderingPlugin filter=lfs diff=lfs merge=lfs -text
135-
Unitron filter=lfs diff=lfs merge=lfs -text
136-
DotMacKit filter=lfs diff=lfs merge=lfs -text
137-
ImageComparer filter=lfs diff=lfs merge=lfs -text
138-
GameKit filter=lfs diff=lfs merge=lfs -text
139-
OgreKit filter=lfs diff=lfs merge=lfs -text
140-
*.test-cache filter=lfs diff=lfs merge=lfs -text
141-
*.unitypackage filter=lfs diff=lfs merge=lfs -text
142-
Projects/VisualStudio/ipch/middleman-2afd44a3/unitywebpluginax-eba8f4d1.ipch filter=lfs diff=lfs merge=lfs -text
143-
Editor/Resources/Common/unity[[:space:]]editor[[:space:]]resources filter=lfs diff=lfs merge=lfs -text
144-
Editor/Resources/unity[[:space:]]editor[[:space:]]resources filter=lfs diff=lfs merge=lfs -text

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Unity Robotics Forum
4+
url: https://forum.unity.com/forums/robotics.623/
5+
about: Discussions and questions about Unity Robotics tools, demos, or integrations.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ Please describe the tests that you ran to verify your changes. Please also provi
2727
## Checklist
2828
- [ ] Ensured this PR is up-to-date with the `dev` branch
2929
- [ ] Created this PR to target the `dev` branch
30-
- [ ] Followed the style guidelines as described in the [Contribution Guidelines](../CONTRIBUTING.md)
30+
- [ ] Followed the style guidelines as described in the [Contribution Guidelines](https://github.com/Unity-Technologies/URDF-Importer/blob/main/CONTRIBUTING.md)
3131
- [ ] Added tests that prove my fix is effective or that my feature works
32+
- [ ] Increased the [test coverage criteria](https://github.com/Unity-Technologies/URDF-Importer/blob/dev/.yamato/yamato-config.yml#L18) by 3%
33+
- [ ] Updated the [Changelog](https://github.com/Unity-Technologies/URDF-Importer/blob/dev/com.unity.robotics.urdf-importer/CHANGELOG.md) and described changes in the [Unreleased section](https://github.com/Unity-Technologies/URDF-Importer/blob/dev/com.unity.robotics.urdf-importer/CHANGELOG.md#unreleased)
3234
- [ ] Updated the documentation as appropriate
3335

3436
## Other comments

.yamato/yamato-config.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,19 @@ commands:
1010
- python3 -m pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade
1111
- unity-downloader-cli -u 2020.2.0b9 -c editor -c StandaloneSupport-IL2CPP -c Linux --wait --published
1212
- git clone git@github.cds.internal.unity3d.com:unity/utr.git utr
13-
- utr/utr --testproject=./TestUrdfImporter --editor-location=.Editor --reruncount=0 --artifacts_path=test-results --suite=playmode --suite=editor --platform=Editor
13+
- utr/utr --testproject=./TestUrdfImporter --editor-location=.Editor --reruncount=0 --artifacts_path=test-results --suite=playmode --suite=editor --platform=Editor --enable-code-coverage --coverage-results-path=../test-results --coverage-options="assemblyFilters:+Unity.Robotics.URDFImporter,+Unity.Robotics.URDFImporter.Editor;generateHtmlReport;generateBadgeReport;generateAdditionalMetrics"
14+
# check test coverage
15+
- command: |
16+
linecoverage=$(cat test-results/Report/Summary.xml | grep Linecoverage | grep -Eo '[+-]?[0-9]+([.][0-9]+)?')
17+
echo "Line coverage: $linecoverage%"
18+
if (( $(echo "$linecoverage < 20" | bc -l) )); then exit 1; fi
1419
triggers:
1520
cancel_old_ci: true
1621
expression: |
17-
(pull_request.target eq "main" AND
22+
(pull_request.target eq "main" AND
1823
NOT pull_request.push.changes.all match "**/*.md") OR
19-
(push.branch eq "dev" AND
20-
NOT push.changes.all match "**/*.md")
24+
(pull_request.target eq "dev" AND
25+
NOT pull_request.push.changes.all match "**/*.md")
2126
artifacts:
2227
logs:
2328
paths:

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ URDF Importer allows you to import a robot defined in [URDF](http://wiki.ros.org
1414

1515
<img src = "images~/Package_manager_add.png">
1616

17-
3. Enter the git URL for the URDF Importer with the latest version tag (currently v0.3.0) `https://github.com/Unity-Technologies/URDF-Importer.git?path=/com.unity.robotics.urdf-importer#v0.3.0` in the text box and press `Enter`.
17+
3. Enter the git URL for the URDF Importer with the latest version tag (currently v0.4.0) `https://github.com/Unity-Technologies/URDF-Importer.git?path=/com.unity.robotics.urdf-importer#v0.4.0` in the text box and press `Enter`.
1818

1919
4. Click `Import URDF`.
2020

@@ -50,11 +50,12 @@ If you wish to contribute, be sure to review our [contribution guidelines](CONTR
5050
and [code of conduct](CODE_OF_CONDUCT.md).
5151

5252
## Support
53-
For general questions, feedback, or feature requests, connect directly with the
54-
Robotics team at [unity-robotics@unity3d.com](mailto:unity-robotics@unity3d.com).
53+
For questions or discussions about Unity Robotics package installations or how to best set up and integrate your robotics projects, please create a new thread on the [Unity Robotics forum](https://forum.unity.com/forums/robotics.623/) and make sure to include as much detail as possible.
54+
55+
For feature requests, bugs, or other issues, please file a [GitHub issue](https://github.com/Unity-Technologies/URDF-Importer/issues) using the provided templates and the Robotics team will investigate as soon as possible.
5556

56-
For bugs or other issues, please file a GitHub issue and the Robotics team will
57-
investigate the issue as soon as possible.
57+
For any other questions or feedback, connect directly with the
58+
Robotics team at [unity-robotics@unity3d.com](mailto:unity-robotics@unity3d.com).
5859

5960
## License
6061
[Apache License 2.0](LICENSE)

TestUrdfImporter/Packages/manifest.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"com.unity.ide.vscode": "1.2.2",
77
"com.unity.render-pipelines.universal": "10.0.0-preview.26",
88
"com.unity.robotics.urdf-importer": "file:../../com.unity.robotics.urdf-importer",
9-
"com.unity.test-framework": "1.1.18",
9+
"com.unity.test-framework": "1.1.20",
10+
"com.unity.testtools.codecoverage": "1.0.0",
1011
"com.unity.textmeshpro": "3.0.1",
1112
"com.unity.timeline": "1.4.3",
1213
"com.unity.ugui": "1.0.0",

TestUrdfImporter/Packages/packages-lock.json

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,20 @@
77
"dependencies": {},
88
"url": "https://packages.unity.com"
99
},
10-
"com.unity.ext.nunit": {
10+
"com.unity.editorcoroutines": {
1111
"version": "1.0.0",
1212
"depth": 1,
1313
"source": "registry",
1414
"dependencies": {},
1515
"url": "https://packages.unity.com"
1616
},
17+
"com.unity.ext.nunit": {
18+
"version": "1.0.6",
19+
"depth": 1,
20+
"source": "registry",
21+
"dependencies": {},
22+
"url": "https://packages.unity.com"
23+
},
1724
"com.unity.ide.rider": {
1825
"version": "2.0.7",
1926
"depth": 0,
@@ -68,7 +75,9 @@
6875
"version": "file:../../com.unity.robotics.urdf-importer",
6976
"depth": 0,
7077
"source": "local",
71-
"dependencies": {}
78+
"dependencies": {
79+
"com.unity.editorcoroutines": "1.0.0"
80+
}
7281
},
7382
"com.unity.searcher": {
7483
"version": "4.3.1",
@@ -77,6 +86,13 @@
7786
"dependencies": {},
7887
"url": "https://packages.unity.com"
7988
},
89+
"com.unity.settings-manager": {
90+
"version": "1.0.1",
91+
"depth": 1,
92+
"source": "registry",
93+
"dependencies": {},
94+
"url": "https://packages.unity.com"
95+
},
8096
"com.unity.shadergraph": {
8197
"version": "10.0.0-preview.27",
8298
"depth": 1,
@@ -88,16 +104,26 @@
88104
"url": "https://packages.unity.com"
89105
},
90106
"com.unity.test-framework": {
91-
"version": "1.1.18",
107+
"version": "1.1.20",
92108
"depth": 0,
93109
"source": "registry",
94110
"dependencies": {
95-
"com.unity.ext.nunit": "1.0.0",
111+
"com.unity.ext.nunit": "1.0.6",
96112
"com.unity.modules.imgui": "1.0.0",
97113
"com.unity.modules.jsonserialize": "1.0.0"
98114
},
99115
"url": "https://packages.unity.com"
100116
},
117+
"com.unity.testtools.codecoverage": {
118+
"version": "1.0.0",
119+
"depth": 0,
120+
"source": "registry",
121+
"dependencies": {
122+
"com.unity.test-framework": "1.0.16",
123+
"com.unity.settings-manager": "1.0.1"
124+
},
125+
"url": "https://packages.unity.com"
126+
},
101127
"com.unity.textmeshpro": {
102128
"version": "3.0.1",
103129
"depth": 0,
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Changelog
2+
3+
All notable changes to this repository will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6+
7+
## Unreleased
8+
9+
### Upgrade Notes
10+
11+
### Known Issues
12+
13+
### Added
14+
15+
### Changed
16+
17+
### Deprecated
18+
19+
### Removed
20+
21+
### Fixed
22+
23+
24+
## [0.4.0-preview] - 2021-05-27
25+
26+
Note: The logs below only presents the changes from 0.3.0-preview
27+
28+
### Upgrade Notes
29+
Refactor the codebase and support for runtime URDF importing
30+
31+
### Known Issues
32+
33+
### Added
34+
Save the generated cylinder meshes to a new folder, `Assets/URDF/GeneratedMeshes`, as primitive cylinders will have no associated .stl filename/path
35+
36+
Add a link to the Robotics forum, and add a config.yml to add a link in the Github Issues page
37+
38+
Add unit tests and test coverage reporting
39+
40+
### Changed
41+
42+
### Deprecated
43+
44+
### Removed
45+
46+
### Fixed
47+
Correct collider rotation so that the collider meshes matches visual meshes for both Y-axis and Z-axis
48+
49+
Replace "../" with the expected "package://" and throw more warnings if things still don't match up

com.unity.robotics.urdf-importer/CHANGELOG.md.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

com.unity.robotics.urdf-importer/Editor/CustomEditors/UrdfRobotEditor.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public override void OnInspectorGUI()
102102
}
103103

104104
GUILayout.Space(5);
105-
if(GUILayout.Button("Compare URDF Files"))
105+
if (GUILayout.Button("Compare URDF Files"))
106106
{
107107
CompareURDF window = (CompareURDF)EditorWindow.GetWindow(typeof(CompareURDF));
108108
window.minSize = new Vector2(500, 200);
@@ -120,7 +120,9 @@ private static void DisplaySettingsToggle(GUIContent label, SettingsHandler hand
120120
EditorGUILayout.PrefixLabel(label);
121121
string buttonName = currentState ? "Disable" : "Enable";
122122
if (GUILayout.Button(buttonName, buttonStyle))
123+
{
123124
handler();
125+
}
124126
EditorGUILayout.EndHorizontal();
125127
}
126128

0 commit comments

Comments
 (0)