Add CozmoMovementTest script to find out rotation and movement speed in the simulation

This commit is contained in:
Tobi
2019-04-27 19:37:45 +02:00
parent c40daab5fd
commit 113ec4e454
4 changed files with 169 additions and 75 deletions
+27 -62
View File
@@ -311,8 +311,8 @@ Camera:
y: 0
width: 1
height: 1
near clip plane: 0.03
far clip plane: 10
near clip plane: 0.02
far clip plane: 1
field of view: 60
orthographic: 0
orthographic size: 5
@@ -338,13 +338,13 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 589453881}
m_LocalRotation: {x: 0.2588191, y: 0, z: 0, w: 0.9659258}
m_LocalPosition: {x: 0, y: 0.038900018, z: 0.03939998}
m_LocalRotation: {x: 0.2164396, y: 0, z: 0, w: 0.97629607}
m_LocalPosition: {x: 0, y: 0.0336, z: 0.03939998}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 7570006596986120124}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 30, y: 0, z: 0}
m_LocalEulerAnglesHint: {x: 25, y: 0, z: 0}
--- !u!1 &998256472
GameObject:
m_ObjectHideFlags: 0
@@ -376,13 +376,13 @@ MonoBehaviour:
m_EditorClassIdentifier:
broadcastHub:
broadcastingBrains:
- {fileID: 11400000, guid: 94e62c225e4fe8148a7543c5fd1acfd4, type: 2}
- {fileID: 11400000, guid: 0d9d5ce547064a648b466ad7f208cf3d, type: 2}
_brainsToControl:
- {fileID: 11400000, guid: 94e62c225e4fe8148a7543c5fd1acfd4, type: 2}
- {fileID: 0}
maxSteps: 0
trainingConfiguration:
width: 80
height: 80
width: 84
height: 84
qualityLevel: 1
timeScale: 10
targetFrameRate: -1
@@ -406,55 +406,6 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1387463106
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1387463108}
- component: {fileID: 1387463107}
m_Layer: 0
m_Name: EnvironmentGenerator
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
--- !u!114 &1387463107
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1387463106}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 6279e2499d1811045a857f890736f7ba, type: 3}
m_Name:
m_EditorClassIdentifier:
width: 2
height: 2
amountOfHorizontalElements: 10
amountOfVerticalElements: 10
groundMaterial: {fileID: 2100000, guid: 7f3a0759e06ddf74899cf4a62f849678, type: 2}
testDestroy: 0
--- !u!4 &1387463108
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1387463106}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &7570006596986120122
@@ -482,7 +433,7 @@ PrefabInstance:
- target: {fileID: 7570006595835424293, guid: 0f97dac5215d69a4795763340d82925d,
type: 3}
propertyPath: m_LocalPosition.z
value: -0.199
value: -0.564
objectReference: {fileID: 0}
- target: {fileID: 7570006595835424293, guid: 0f97dac5215d69a4795763340d82925d,
type: 3}
@@ -550,10 +501,11 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 234fd6e10ef55ad4b82b3153890ab5d9, type: 3}
m_Name:
m_EditorClassIdentifier:
brain: {fileID: 11400000, guid: 94e62c225e4fe8148a7543c5fd1acfd4, type: 2}
brain: {fileID: 11400000, guid: 0d9d5ce547064a648b466ad7f208cf3d, type: 2}
agentParameters:
agentCameras:
- {fileID: 589453882}
agentRenderTextures: []
maxStep: 1000
resetOnDone: 1
onDemandDecision: 0
@@ -599,5 +551,18 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: d2056048a78a0cc4c97e7899ba1c0e31, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Speed: 0.1
m_TurnSpeed: 50
m_Speed: 0.0535
m_TurnSpeed: 55
--- !u!114 &7570006596986120129
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7570006596986120123}
m_Enabled: 0
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4265d0764c65d26409f0f920e5293c82, type: 3}
m_Name:
m_EditorClassIdentifier:
testState: 1