Browse Source

Merge branch 'main' into mbalfour/fix_scene_settings

Mike Balfour 1 year ago
parent
commit
56d2d4fdcb
6 changed files with 19 additions and 73 deletions
  1. 11 57
      Assets/RoboVac/RobotVacuum.prefab
  2. 3 3
      Docker/Dockerfile
  3. 2 2
      Docker/README.md
  4. 0 10
      Registry/autoexec.game.setreg
  5. 1 0
      game.cfg
  6. 2 1
      project.json

+ 11 - 57
Assets/RoboVac/RobotVacuum.prefab

@@ -77,12 +77,7 @@
                 },
                 "Component_[4358438849696264694]": {
                     "$type": "{CA11DA46-29FF-4083-B5F6-E02C3A8C3A3D} EditorCameraComponent",
-                    "Id": 4358438849696264694,
-                    "Controller": {
-                        "Configuration": {
-                            "EditorEntityId": 5766567449104301076
-                        }
-                    }
+                    "Id": 4358438849696264694
                 },
                 "Component_[5247198885622374930]": {
                     "$type": "EditorDisabledCompositionComponent",
@@ -876,7 +871,7 @@
                                     "guid": "{472B20AC-6801-58F9-B178-6ECB7D489E22}",
                                     "subId": 3058355074
                                 },
-                                "assetHint": "assets/robovac/assets/robot_vacuum_screenbody.pxmesh"
+                                "assetHint": "assets/robovac/assets/robot_vacuum_screenbody.fbx.pxmesh"
                             },
                             "Configuration": {
                                 "PhysicsAsset": {
@@ -885,7 +880,7 @@
                                         "subId": 3058355074
                                     },
                                     "loadBehavior": "QueueLoad",
-                                    "assetHint": "assets/robovac/assets/robot_vacuum_screenbody.pxmesh"
+                                    "assetHint": "assets/robovac/assets/robot_vacuum_screenbody.fbx.pxmesh"
                                 }
                             }
                         }
@@ -1073,8 +1068,8 @@
                 "Component_[17368774951420809643]": {
                     "$type": "EditorDisabledCompositionComponent",
                     "Id": 17368774951420809643,
-                    "DisabledComponents": [
-                        {
+                    "DisabledComponents": {
+                        "Component_[14386255473429959438]": {
                             "$type": "EditorColliderComponent",
                             "Id": 14386255473429959438,
                             "ColliderConfiguration": {
@@ -1108,7 +1103,7 @@
                                 }
                             }
                         }
-                    ]
+                    }
                 },
                 "Component_[18180067841158939512]": {
                     "$type": "EditorPendingCompositionComponent",
@@ -3727,6 +3722,7 @@
                     "$type": "EditorMeshColliderComponent",
                     "Id": 1817880946152815022,
                     "ColliderConfiguration": {
+                        "InSceneQueries": false,
                         "MaterialSlots": {
                             "Slots": [
                                 {
@@ -3742,7 +3738,7 @@
                                     "guid": "{5AE935FF-A90A-59AF-BFD4-F38CEB3F8CDF}",
                                     "subId": 3876031564
                                 },
-                                "assetHint": "assets/robovac/assets/robot_vacuum_base_link.pxmesh"
+                                "assetHint": "assets/robovac/assets/robot_vacuum_base_link.fbx.pxmesh"
                             },
                             "Configuration": {
                                 "PhysicsAsset": {
@@ -3751,7 +3747,7 @@
                                         "subId": 3876031564
                                     },
                                     "loadBehavior": "QueueLoad",
-                                    "assetHint": "assets/robovac/assets/robot_vacuum_base_link.pxmesh"
+                                    "assetHint": "assets/robovac/assets/robot_vacuum_base_link.fbx.pxmesh"
                                 }
                             }
                         }
@@ -3771,7 +3767,7 @@
                                     "guid": "{5AE935FF-A90A-59AF-BFD4-F38CEB3F8CDF}",
                                     "subId": 281735281
                                 },
-                                "assetHint": "assets/robovac/assets/robot_vacuum_base_link.azmodel"
+                                "assetHint": "assets/robovac/assets/robot_vacuum_base_link.fbx.azmodel"
                             }
                         }
                     }
@@ -4833,22 +4829,12 @@
                     "m_template": {
                         "$type": "ROS2LidarSensorComponent",
                         "SensorConfiguration": {
-                            "Visualise": false,
                             "Publishers": {
                                 "sensor_msgs::msg::PointCloud2": {
                                     "Type": "sensor_msgs::msg::PointCloud2",
                                     "Topic": "pc"
                                 }
                             }
-                        },
-                        "LidarParameters": {
-                            "Layers": 16,
-                            "Points per layer": 516,
-                            "Min horizontal angle": -90.0,
-                            "Max horizontal angle": 90.0,
-                            "Min vertical angle": 5.0,
-                            "Max vertical angle": -10.0,
-                            "Max range": 30.0
                         }
                     }
                 },
@@ -5000,7 +4986,7 @@
                     "$type": "EditorEntitySortComponent",
                     "Id": 14081951032431453423,
                     "Child Entity Order": [
-                        "Instance_[8975764853543]/ContainerEntity",
+                        "",
                         "Entity_[5002252716067]"
                     ]
                 },
@@ -5038,37 +5024,5 @@
                 }
             }
         }
-    },
-    "Instances": {
-        "Instance_[8975764853543]": {
-            "Source": "Prefabs/Sensors/Imu.prefab",
-            "Patches": [
-                {
-                    "op": "replace",
-                    "path": "/ContainerEntity/Components/Component_[6700600896017100313]/Parent Entity",
-                    "value": "../Entity_[8859800736551]"
-                },
-                {
-                    "op": "replace",
-                    "path": "/ContainerEntity/Components/Component_[6700600896017100313]/Transform Data/Translate/0",
-                    "value": -0.09387588500976564
-                },
-                {
-                    "op": "replace",
-                    "path": "/ContainerEntity/Components/Component_[6700600896017100313]/Transform Data/Translate/2",
-                    "value": 0.04095920920372009
-                },
-                {
-                    "op": "replace",
-                    "path": "/ContainerEntity/Components/Component_[901516877242196147]/Child Entity Order/0",
-                    "value": "Entity_[690707340010]"
-                },
-                {
-                    "op": "replace",
-                    "path": "/Entities/Entity_[690707340010]/Components/Component_[12053638524449760314]/ColliderConfiguration/MaterialSlots/Slots/0/Name",
-                    "value": "DefaultMaterial"
-                }
-            ]
-        }
     }
 }

+ 3 - 3
Docker/Dockerfile

@@ -19,13 +19,13 @@ ARG IMAGE_TYPE=simulation  # Default to 'simulation'
 
 # Arguments for the source repos needed for the robot vacuum sample docker
 ARG O3DE_REPO=https://github.com/o3de/o3de.git
-ARG O3DE_BRANCH=606fed5
+ARG O3DE_BRANCH=5b30aaf
 
 ARG O3DE_EXTRAS_REPO=https://github.com/o3de/o3de-extras.git
-ARG O3DE_EXTRAS_BRANCH=f1d8afe
+ARG O3DE_EXTRAS_BRANCH=3464657
 
 ARG LOFT_GEM_REPO=https://github.com/o3de/loft-arch-vis-sample.git
-ARG LOFT_GEM_BRANCH=658ad5f
+ARG LOFT_GEM_BRANCH=main
 
 ARG ROBOT_VAC_SAMPLE_REPO=https://github.com/o3de/RobotVacuumSample.git
 ARG ROBOT_VAC_SAMPLE_BRANCH=main

+ 2 - 2
Docker/README.md

@@ -125,8 +125,8 @@ In addition the repositories, the following arguments target the branch, commit,
 
 | Argument                | Repository                       | Default     |
 |-------------------------|----------------------------------|-------------|
-| O3DE_BRANCH             | O3DE                             | 606fed5     |
-| O3DE_EXTRAS_BRANCH      | O3DE Extras                      | f1d8afe     |
+| O3DE_BRANCH             | O3DE                             | 3ec71ff     |
+| O3DE_EXTRAS_BRANCH      | O3DE Extras                      | 3464657     |
 | LOFT_GEM_BRANCH         | Loft ArchVis Sample Scene        | main        |
 | ROBOT_VAC_SAMPLE_BRANCH | Loft Scene Simulation repository | main        |
 

+ 0 - 10
Registry/autoexec.game.setreg

@@ -1,10 +0,0 @@
-{
-    "O3DE": {
-        "Autoexec": {
-            "ConsoleCommands": {
-                "LoadLevel": "loft"
-            }
-        }
-    }
-}
-

+ 1 - 0
game.cfg

@@ -1,6 +1,7 @@
 sys_game_name = "Samples"
 sys_localization_folder = Localization
 ca_useIMG_CAF = 0
+loadlevel = "loft"
 
 -- Enable warnings when asset loads take longer than the given millisecond threshold
 cl_assetLoadWarningEnable=true

+ 2 - 1
project.json

@@ -20,5 +20,6 @@
     "gem_names": [
         "ROS2",
         "ArchVis"
-    ]
+    ],
+    "engine_version": "2.1.0"
 }