Skip to content

Commit

Permalink
add: v5.2.0 experiments
Browse files Browse the repository at this point in the history
  • Loading branch information
colourfulspring committed Feb 16, 2024
1 parent c984c83 commit c3e473b
Show file tree
Hide file tree
Showing 17 changed files with 58 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!4 &2709359580712052713
Transform:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -47,7 +47,7 @@ MonoBehaviour:
m_SensorName: GridSensor
m_CellScale: {x: 10, y: 10, z: 10}
m_GridSize: {x: 40, y: 1, z: 40}
m_RotateWithAgent: 1
m_RotateWithAgent: 0
m_AgentGameObject: {fileID: 2710286047221272849}
m_DetectableTags:
- wall
Expand Down Expand Up @@ -366,7 +366,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_BrainParameters:
VectorObservationSize: 8
VectorObservationSize: 0
NumStackedVectorObservations: 1
m_ActionSpec:
m_NumContinuousActions: 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,6 @@ PrefabInstance:
serializedVersion: 3
m_TransformParent: {fileID: 1581870063183487095}
m_Modifications:
- target: {fileID: 1548337883655231979, guid: a431228058383324287911e110279f5a,
type: 3}
propertyPath: m_ShowGizmos
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2708762399863795223, guid: a431228058383324287911e110279f5a,
type: 3}
propertyPath: m_RootOrder
Expand Down Expand Up @@ -411,6 +406,11 @@ PrefabInstance:
serializedVersion: 3
m_TransformParent: {fileID: 1581870063183487095}
m_Modifications:
- target: {fileID: 1548337883655231979, guid: a431228058383324287911e110279f5a,
type: 3}
propertyPath: m_ShowGizmos
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2708762399863795223, guid: a431228058383324287911e110279f5a,
type: 3}
propertyPath: m_RootOrder
Expand Down Expand Up @@ -522,6 +522,11 @@ PrefabInstance:
serializedVersion: 3
m_TransformParent: {fileID: 1581870063183487095}
m_Modifications:
- target: {fileID: 1548337883655231979, guid: a431228058383324287911e110279f5a,
type: 3}
propertyPath: m_ShowGizmos
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2708762399863795223, guid: a431228058383324287911e110279f5a,
type: 3}
propertyPath: m_RootOrder
Expand Down Expand Up @@ -597,6 +602,12 @@ PrefabInstance:
propertyPath: m_Enabled
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8110157416270102484, guid: a431228058383324287911e110279f5a,
type: 3}
propertyPath: m_Model
value:
objectReference: {fileID: 5022602860645237092, guid: 726ec16aea5d20ea395b545ac6d82435,
type: 3}
- target: {fileID: 8110157416270102484, guid: a431228058383324287911e110279f5a,
type: 3}
propertyPath: m_BehaviorType
Expand Down
Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Transform:
- {fileID: 308845294073645104}
- {fileID: 7942513896127864483}
m_Father: {fileID: 0}
m_RootOrder: 0
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &9194218059880268
MonoBehaviour:
Expand Down Expand Up @@ -68,7 +68,7 @@ MonoBehaviour:
m_OverrideVoxelSize: 0
m_VoxelSize: 7.6666665
m_MinRegionArea: 2
m_NavMeshData: {fileID: 23800000, guid: e472e384e854dd4c79ba675e55051496, type: 2}
m_NavMeshData: {fileID: 23800000, guid: ae4d8b7a0942cd60b81208f464df8e05, type: 2}
m_BuildHeightMesh: 0
--- !u!1 &2377625989666082036
GameObject:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ public override void CollectObservations(VectorSensor sensor)
Debug.Log(this.transform.parent.gameObject.name +
", " + this.name + " CollectObservations: " + carCatchingEnvController.ResetTimer);
Vector2[] obs = carCatchingEnvController.GetAgentPosObs(this);
foreach (var myobs in obs)
{
Debug.Log(this.transform.parent.gameObject.name +
", " + this.name + " Observations: " + myobs);
sensor.AddObservation(myobs);
}
// foreach (var myobs in obs)
// {
// Debug.Log(this.transform.parent.gameObject.name +
// ", " + this.name + " Observations: " + myobs);
// sensor.AddObservation(myobs);
// }
// sensor.AddOneHotObservation(2, 8);
}

Expand Down
Binary file not shown.
Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Transform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: -1
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &718127299357063990
MeshFilter:
Expand Down Expand Up @@ -134,9 +134,9 @@ MonoBehaviour:
m_OverrideTileSize: 0
m_TileSize: 256
m_OverrideVoxelSize: 0
m_VoxelSize: 7.3333335
m_VoxelSize: 3.3333333
m_MinRegionArea: 2
m_NavMeshData: {fileID: 23800000, guid: 767051749d8e57f35865e979b2877671, type: 2}
m_NavMeshData: {fileID: 23800000, guid: 858817aa4f824e180a4a23ae2fdbd0b8, type: 2}
m_BuildHeightMesh: 0
--- !u!114 &5153898628670658174
MonoBehaviour:
Expand Down
Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ PrefabInstance:
serializedVersion: 3
m_TransformParent: {fileID: 8198776141264093339}
m_Modifications:
- target: {fileID: 1766586163764417171, guid: 72bb4f247b2a5a04190f880c753fce87,
type: 3}
propertyPath: m_NavMeshData
value:
objectReference: {fileID: 23800000, guid: 8576add41dfd10590ac211632f6cea8a,
type: 2}
- target: {fileID: 4576892308276798917, guid: 72bb4f247b2a5a04190f880c753fce87,
type: 3}
propertyPath: m_Name
Expand Down

0 comments on commit c3e473b

Please sign in to comment.