-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[gym][fastlane_core] add platform support for visionOS (#21574)
* add debug messages * add support for visionOS * remove debug statements * add vision example project and tests * fix example project * add missing scheme * limit tests to Xcode 15 * use proper if condition for Xcode version in test * fix platform detection for tests * Improve wording. --------- Co-authored-by: Philipp Resch <philipp.resch@sap.com> Co-authored-by: Roger Oba <rogerluan.oba@gmail.com>
- Loading branch information
1 parent
387691b
commit 39ed6fe
Showing
28 changed files
with
1,166 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...ples/visionos/Packages/RealityKitContent/Package.realitycomposerpro/ProjectData/main.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"pathsToIds" : { | ||
"\/RealityKitContent\/Sources\/RealityKitContent\/RealityKitContent.rkassets\/GridMaterial.usda" : "440DE5B4-E4E4-459B-AABF-9ACE96319272", | ||
"\/RealityKitContent\/Sources\/RealityKitContent\/RealityKitContent.rkassets\/procedural_sphere_grid.usda" : "34C460AE-CA1B-4348-BD05-621ACBDFFE97", | ||
"\/RealityKitContent\/Sources\/RealityKitContent\/RealityKitContent.rkassets\/Scene.usda" : "0A9B4653-B11E-4D6A-850E-C6FCB621626C", | ||
"\/RealityKitContent\/Sources\/RealityKitContent\/RealityKitContent.rkassets\/Untitled Scene.usda" : "03E02005-EFA6-48D6-8A76-05B2822A74E9", | ||
"RealityKitContent\/Sources\/RealityKitContent\/RealityKitContent.rkassets\/GridMaterial.usda" : "FBD8436F-6B8B-4B82-99B5-995D538B4704", | ||
"RealityKitContent\/Sources\/RealityKitContent\/RealityKitContent.rkassets\/procedural_sphere_grid.usda" : "1CBF3893-ABFD-408C-8B91-045BFD257808", | ||
"RealityKitContent\/Sources\/RealityKitContent\/RealityKitContent.rkassets\/Scene.usda" : "26DBAE76-5DD8-47B6-A085-1B4ADA111097" | ||
} | ||
} |
209 changes: 209 additions & 0 deletions
209
...ackages/RealityKitContent/Package.realitycomposerpro/WorkspaceData/SceneMetadataList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,209 @@ | ||
{ | ||
"0A9B4653-B11E-4D6A-850E-C6FCB621626C" : { | ||
"cameraTransform" : [ | ||
0.9807314, | ||
-1.9820146e-10, | ||
-0.195361, | ||
0, | ||
-0.10051192, | ||
0.85749435, | ||
-0.5045798, | ||
0, | ||
0.16752096, | ||
0.51449335, | ||
0.84097165, | ||
0, | ||
0.09084191, | ||
0.05849296, | ||
0.13903293, | ||
1 | ||
], | ||
"objectMetadataList" : [ | ||
[ | ||
"0A9B4653-B11E-4D6A-850E-C6FCB621626C", | ||
"Root" | ||
], | ||
{ | ||
"isExpanded" : true, | ||
"isLocked" : false | ||
}, | ||
[ | ||
"0A9B4653-B11E-4D6A-850E-C6FCB621626C", | ||
"Root", | ||
"GridMaterial" | ||
], | ||
{ | ||
"isExpanded" : true, | ||
"isLocked" : false | ||
}, | ||
[ | ||
"0A9B4653-B11E-4D6A-850E-C6FCB621626C", | ||
"Root", | ||
"Sphere" | ||
], | ||
{ | ||
"isExpanded" : true, | ||
"isLocked" : false | ||
} | ||
] | ||
}, | ||
"1CBF3893-ABFD-408C-8B91-045BFD257808" : { | ||
"cameraTransform" : [ | ||
0.99999994, | ||
0, | ||
-0, | ||
0, | ||
-0, | ||
0.8660255, | ||
-0.49999988, | ||
0, | ||
0, | ||
0.49999988, | ||
0.8660255, | ||
0, | ||
0, | ||
0.27093542, | ||
0.46927398, | ||
1 | ||
], | ||
"objectMetadataList" : [ | ||
|
||
] | ||
}, | ||
"03E02005-EFA6-48D6-8A76-05B2822A74E9" : { | ||
"cameraTransform" : [ | ||
0.99999994, | ||
0, | ||
-0, | ||
0, | ||
-0, | ||
0.8660254, | ||
-0.49999994, | ||
0, | ||
0, | ||
0.49999994, | ||
0.8660254, | ||
0, | ||
0, | ||
0.5981957, | ||
1.0361054, | ||
1 | ||
], | ||
"objectMetadataList" : [ | ||
|
||
] | ||
}, | ||
"26DBAE76-5DD8-47B6-A085-1B4ADA111097" : { | ||
"cameraTransform" : [ | ||
1, | ||
0, | ||
-0, | ||
0, | ||
-0, | ||
0.7071069, | ||
-0.7071067, | ||
0, | ||
0, | ||
0.7071067, | ||
0.7071069, | ||
0, | ||
0, | ||
0.2681068, | ||
0.26850593, | ||
1 | ||
], | ||
"objectMetadataList" : [ | ||
[ | ||
"26DBAE76-5DD8-47B6-A085-1B4ADA111097", | ||
"Root" | ||
], | ||
{ | ||
"isExpanded" : true, | ||
"isLocked" : false | ||
} | ||
] | ||
}, | ||
"34C460AE-CA1B-4348-BD05-621ACBDFFE97" : { | ||
"cameraTransform" : [ | ||
0.99999994, | ||
0, | ||
-0, | ||
0, | ||
-0, | ||
0.8660255, | ||
-0.49999988, | ||
0, | ||
0, | ||
0.49999988, | ||
0.8660255, | ||
0, | ||
0, | ||
0.27093542, | ||
0.46927398, | ||
1 | ||
], | ||
"objectMetadataList" : [ | ||
|
||
] | ||
}, | ||
"440DE5B4-E4E4-459B-AABF-9ACE96319272" : { | ||
"cameraTransform" : [ | ||
0.99999994, | ||
0, | ||
-0, | ||
0, | ||
-0, | ||
0.8660254, | ||
-0.49999994, | ||
0, | ||
0, | ||
0.49999994, | ||
0.8660254, | ||
0, | ||
0, | ||
0.5981957, | ||
1.0361054, | ||
1 | ||
], | ||
"objectMetadataList" : [ | ||
[ | ||
"440DE5B4-E4E4-459B-AABF-9ACE96319272", | ||
"Root" | ||
], | ||
{ | ||
"isExpanded" : true, | ||
"isLocked" : false | ||
} | ||
] | ||
}, | ||
"FBD8436F-6B8B-4B82-99B5-995D538B4704" : { | ||
"cameraTransform" : [ | ||
0.99999994, | ||
0, | ||
-0, | ||
0, | ||
-0, | ||
0.8660254, | ||
-0.49999994, | ||
0, | ||
0, | ||
0.49999994, | ||
0.8660254, | ||
0, | ||
0, | ||
0.5981957, | ||
1.0361054, | ||
1 | ||
], | ||
"objectMetadataList" : [ | ||
[ | ||
"FBD8436F-6B8B-4B82-99B5-995D538B4704", | ||
"Root" | ||
], | ||
{ | ||
"isExpanded" : true, | ||
"isLocked" : false | ||
} | ||
] | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...ackages/RealityKitContent/Package.realitycomposerpro/WorkspaceData/Settings.rcprojectdata
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"cameraPresets" : { | ||
|
||
}, | ||
"secondaryToolbarData" : { | ||
"isGridVisible" : true, | ||
"sceneReverbPreset" : -1 | ||
}, | ||
"unitDefaults" : { | ||
"掳" : "掳", | ||
"kg" : "g", | ||
"m" : "cm", | ||
"m\/s" : "m\/s", | ||
"m\/s虏" : "m\/s虏", | ||
"s" : "s" | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
gym/examples/visionos/Packages/RealityKitContent/Package.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// swift-tools-version:5.9 | ||
// The swift-tools-version declares the minimum version of Swift required to build this package. | ||
|
||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "RealityKitContent", | ||
products: [ | ||
// Products define the executables and libraries a package produces, and make them visible to other packages. | ||
.library( | ||
name: "RealityKitContent", | ||
targets: ["RealityKitContent"]), | ||
], | ||
dependencies: [ | ||
// Dependencies declare other packages that this package depends on. | ||
// .package(url: /* package url */, from: "1.0.0"), | ||
], | ||
targets: [ | ||
// Targets are the basic building blocks of a package. A target can define a module or a test suite. | ||
// Targets can depend on other targets in this package, and on products in packages this package depends on. | ||
.target( | ||
name: "RealityKitContent", | ||
dependencies: []), | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# RealityKitContent | ||
|
||
A visionOS demo project used to run integration test in `gym/spec/platform_detection_spec.rb` (and maybe in the future in other tests too). |
Oops, something went wrong.