Implement evidence-backed VR02 Rocketship flight and ownership
This commit is contained in:
1 parent
312efccb77
commit
e77add5fdf
50 files changed
+4326
-66
No files matched your search
@@ -1,8 +1,9 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup><OutputType>Exe</OutputType><TargetFramework>net10.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings><Nullable>enable</Nullable><EnableDefaultCompileItems>false</EnableDefaultCompileItems></PropertyGroup>
|
||||
<ItemGroup><Compile Include="Program.cs"/><Compile Include="../../src/GamePort/Assets/*.cs"/>
|
||||
<ItemGroup><Compile Include="Program.cs"/><Compile Include="MotionReferences.cs"/><Compile Include="../../src/GamePort/Assets/*.cs"/>
|
||||
<Compile Include="../../src/GamePort/Game/*.cs"/></ItemGroup>
|
||||
<ItemGroup><Content Include="original-input-reference.json" CopyToOutputDirectory="PreserveNewest"/>
|
||||
<Content Include="original-vertical-reference.json" CopyToOutputDirectory="PreserveNewest"/></ItemGroup>
|
||||
<ItemGroup><Content Include="original-motion-reference.json" CopyToOutputDirectory="PreserveNewest"/></ItemGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,65 @@
|
||||
using System.Numerics;
|
||||
using System.Text.Json;
|
||||
using GamePort.Game;
|
||||
|
||||
static class MotionReferences
|
||||
{
|
||||
public static void Run()
|
||||
{
|
||||
using var doc=JsonDocument.Parse(File.ReadAllText(Path.Combine(AppContext.BaseDirectory,"original-motion-reference.json")));
|
||||
var cases=doc.RootElement.GetProperty("cases");
|
||||
if(cases.GetArrayLength()!=31)throw new Exception("Expected31 original motion/camera references");
|
||||
foreach(var item in cases.EnumerateArray())
|
||||
{
|
||||
var p=item.GetProperty("values");var label=item.GetProperty("name").GetString()!;
|
||||
float F(string name)=>p.GetProperty(name).GetSingle();
|
||||
Vector3 V(string name){var a=p.GetProperty(name);return new(a[0].GetSingle(),a[1].GetSingle(),a[2].GetSingle());}
|
||||
var kind=item.GetProperty("kind").GetString();
|
||||
if(kind=="TRANSFORM")
|
||||
{
|
||||
Near(RocketOrientation.Rotate(V("vector"),V("euler")),V("observed"),label);
|
||||
Near(Vector3.Transform(V("vector"),RocketOrientation.Model(V("euler"),Vector3.Zero,Vector3.One)),V("observed"),label+" model");
|
||||
}
|
||||
else if(kind=="MOTION")
|
||||
{
|
||||
var actual=RocketMotion.Apply(V("incoming"),V("euler"),F("speed"),F("bank"),F("previous"),F("dt"));
|
||||
Near(actual.Velocity,V("observed_velocity"),label);Near(actual.Rotation,V("observed_rotation"),label);
|
||||
Near(actual.PreviousBank,F("observed_previous"),label);
|
||||
}
|
||||
else if(kind=="AUX")
|
||||
{
|
||||
var timers=p.GetProperty("timer");var latches=p.GetProperty("latch");var pressed=p.GetProperty("pressed");
|
||||
var actual=RocketMotion.Apply(new(10,F("vy"),100),Vector3.Zero,400,16,7,F("dt"),
|
||||
new(timers[0].GetSingle(),timers[1].GetSingle(),latches[0].GetSingle()!=0,latches[1].GetSingle()!=0),
|
||||
pressed[0].GetSingle()!=0,pressed[1].GetSingle()!=0,F("suppressed")!=0);
|
||||
Near(actual.Velocity,V("observed_velocity"),label);Near(actual.Rotation,V("observed_rotation"),label);
|
||||
Near(actual.PreviousBank,F("observed_previous"),label);
|
||||
var expected=p.GetProperty("observed_timer");var expectedLatch=p.GetProperty("observed_latch");
|
||||
Near(actual.Maneuver.TurnRemaining,expected[0].GetSingle(),label);Near(actual.Maneuver.RollRemaining,expected[1].GetSingle(),label);
|
||||
if(actual.Maneuver.TurnLatched!=(expectedLatch[0].GetSingle()!=0)||actual.Maneuver.RollLatched!=(expectedLatch[1].GetSingle()!=0))
|
||||
throw new Exception(label+" original latch mismatch");
|
||||
}
|
||||
else if(kind=="FACING")Near(RocketOrientation.Face(V("euler"),V("dest"),F("dt")),V("observed_rotation"),label);
|
||||
else if(kind=="CAMERA")
|
||||
{
|
||||
Vector3 start=default,end=default;
|
||||
SupportHit? Ray(Vector3 a,Vector3 b){start=a;end=b;return F("hit")!=0?new(new(80,250,100),0,0,0):null;}
|
||||
var actual=RocketMotion.Follow(new(100,200,300),V("euler"),V("old"),F("dt"),Ray,(int)F("detail"));
|
||||
Near(start,V("trace_start"),label+" origin");Near(end,V("trace_end"),label+" endpoint");
|
||||
Near(actual.Eye,V("observed_eye"),label+" eye");
|
||||
if(actual.Pitch!=(int)F("pitch")||actual.Yaw!=(int)F("yaw"))throw new Exception($"{label} angles {actual.Pitch},{actual.Yaw}");
|
||||
}
|
||||
else throw new Exception("Unknown original fixture kind");
|
||||
}
|
||||
}
|
||||
|
||||
static void Near(Vector3 actual,Vector3 expected,string label)
|
||||
{
|
||||
Near(actual.X,expected.X,label+" X");Near(actual.Y,expected.Y,label+" Y");Near(actual.Z,expected.Z,label+" Z");
|
||||
}
|
||||
static void Near(float actual,float expected,string label)
|
||||
{
|
||||
if(!float.IsFinite(actual)||!float.IsFinite(expected)||MathF.Abs(actual-expected)>.002f)
|
||||
throw new Exception($"{label}: {actual} != {expected}");
|
||||
}
|
||||
}
|
||||
@@ -15,6 +15,7 @@ var checks = new (string Name, Action Check)[]
|
||||
("low scalar retains acceleration and skips height clamp", LowSpeed),
|
||||
("fourteen copied-original input-prefix numeric references", OriginalReferences),
|
||||
("fourteen copied-original vertical-suffix numeric references", OriginalVerticalReferences),
|
||||
("31 copied-original transform/motion/maneuver/facing/camera cases", MotionReferences.Run),
|
||||
("state, tuning and timestep admission", Invalid),
|
||||
};
|
||||
foreach (var (name, check) in checks) { check(); Console.WriteLine($"PASS {name}"); }
|
||||
|
||||
@@ -0,0 +1,964 @@
|
||||
{
|
||||
"scope": "Copied EXE motion/facing/camera and copied OMT trig/angles; synthetic actor/body/ray/input dependencies; no game entrypoint",
|
||||
"source_sha256": "f5281076e1a2492f2d61f87aae3f4544b6d0f535ebe33f9fbb6f78710fe1aea8",
|
||||
"dll_sha256": "3ec41ead011adf56387a6dbd4580e5b5a9721b5f8020c8a56420f42824354943",
|
||||
"generator_sha256": "888a8cf1d3b85a8cce67fff3187b3c5d0c53d2ce6b88ae30d8eb1f92ff030d30",
|
||||
"executable_sha256": "d30b5ca51e6913f3044d639dd3bc0396abc835be35766df4395bb2b192cb4e5d",
|
||||
"log_sha256": "e4162e49430d1b995809e7bbba98cbadb37a6ace2b395f3245f5df1599917249",
|
||||
"cases": [
|
||||
{
|
||||
"kind": "TRANSFORM",
|
||||
"name": "forward",
|
||||
"values": {
|
||||
"euler": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"vector": [
|
||||
0.0,
|
||||
0.0,
|
||||
100.0
|
||||
],
|
||||
"observed": [
|
||||
0.0,
|
||||
0.0,
|
||||
100.0
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "TRANSFORM",
|
||||
"name": "yaw90",
|
||||
"values": {
|
||||
"euler": [
|
||||
0.0,
|
||||
90.0,
|
||||
0.0
|
||||
],
|
||||
"vector": [
|
||||
0.0,
|
||||
0.0,
|
||||
100.0
|
||||
],
|
||||
"observed": [
|
||||
-100.0,
|
||||
0.0,
|
||||
0.0
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "TRANSFORM",
|
||||
"name": "pitch20",
|
||||
"values": {
|
||||
"euler": [
|
||||
20.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"vector": [
|
||||
0.0,
|
||||
0.0,
|
||||
100.0
|
||||
],
|
||||
"observed": [
|
||||
0.0,
|
||||
34.1940079,
|
||||
93.9721756
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "TRANSFORM",
|
||||
"name": "roll45",
|
||||
"values": {
|
||||
"euler": [
|
||||
0.0,
|
||||
0.0,
|
||||
45.0
|
||||
],
|
||||
"vector": [
|
||||
10.0,
|
||||
20.0,
|
||||
30.0
|
||||
],
|
||||
"observed": [
|
||||
21.2132034,
|
||||
7.07106781,
|
||||
30.0
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "TRANSFORM",
|
||||
"name": "combined",
|
||||
"values": {
|
||||
"euler": [
|
||||
20.0,
|
||||
70.0,
|
||||
35.0
|
||||
],
|
||||
"vector": [
|
||||
10.0,
|
||||
20.0,
|
||||
30.0
|
||||
],
|
||||
"observed": [
|
||||
-16.336235,
|
||||
20.2699776,
|
||||
26.8748093
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "TRANSFORM",
|
||||
"name": "negative",
|
||||
"values": {
|
||||
"euler": [
|
||||
-20.0,
|
||||
-70.0,
|
||||
-35.0
|
||||
],
|
||||
"vector": [
|
||||
10.0,
|
||||
20.0,
|
||||
30.0
|
||||
],
|
||||
"observed": [
|
||||
32.4752121,
|
||||
10.5283689,
|
||||
15.3138475
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "MOTION",
|
||||
"name": "stationary",
|
||||
"values": {
|
||||
"incoming": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"euler": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"speed": 400.0,
|
||||
"bank": 16.0,
|
||||
"previous": 7.0,
|
||||
"dt": 0.100000001,
|
||||
"observed_rotation": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"observed_velocity": [
|
||||
0.0,
|
||||
0.0,
|
||||
400.0
|
||||
],
|
||||
"observed_previous": 7.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "MOTION",
|
||||
"name": "vertical_only",
|
||||
"values": {
|
||||
"incoming": [
|
||||
0.0,
|
||||
10.0,
|
||||
0.0
|
||||
],
|
||||
"euler": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"speed": 400.0,
|
||||
"bank": 16.0,
|
||||
"previous": 7.0,
|
||||
"dt": 0.100000001,
|
||||
"observed_rotation": [
|
||||
0.0,
|
||||
1.60000002,
|
||||
0.0
|
||||
],
|
||||
"observed_velocity": [
|
||||
12.2205973,
|
||||
10.0,
|
||||
400.490051
|
||||
],
|
||||
"observed_previous": 16.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "MOTION",
|
||||
"name": "left",
|
||||
"values": {
|
||||
"incoming": [
|
||||
0.0,
|
||||
0.0,
|
||||
100.0
|
||||
],
|
||||
"euler": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"speed": 400.0,
|
||||
"bank": 16.0,
|
||||
"previous": 7.0,
|
||||
"dt": 0.100000001,
|
||||
"observed_rotation": [
|
||||
0.0,
|
||||
1.60000002,
|
||||
0.0
|
||||
],
|
||||
"observed_velocity": [
|
||||
12.2205973,
|
||||
0.0,
|
||||
400.490051
|
||||
],
|
||||
"observed_previous": 16.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "MOTION",
|
||||
"name": "right_seam",
|
||||
"values": {
|
||||
"incoming": [
|
||||
0.0,
|
||||
0.0,
|
||||
100.0
|
||||
],
|
||||
"euler": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"speed": 400.0,
|
||||
"bank": -16.0,
|
||||
"previous": 7.0,
|
||||
"dt": 0.100000001,
|
||||
"observed_rotation": [
|
||||
0.0,
|
||||
359.0,
|
||||
0.0
|
||||
],
|
||||
"observed_velocity": [
|
||||
-16.2131596,
|
||||
0.0,
|
||||
400.348297
|
||||
],
|
||||
"observed_previous": -16.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "MOTION",
|
||||
"name": "pitch",
|
||||
"values": {
|
||||
"incoming": [
|
||||
0.0,
|
||||
0.0,
|
||||
100.0
|
||||
],
|
||||
"euler": [
|
||||
20.0,
|
||||
70.0,
|
||||
0.0
|
||||
],
|
||||
"speed": 1000.0,
|
||||
"bank": 0.0,
|
||||
"previous": 7.0,
|
||||
"dt": 0.100000001,
|
||||
"observed_rotation": [
|
||||
20.0,
|
||||
70.0,
|
||||
0.0
|
||||
],
|
||||
"observed_velocity": [
|
||||
-882.953735,
|
||||
0.0,
|
||||
321.667145
|
||||
],
|
||||
"observed_previous": 0.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "MOTION",
|
||||
"name": "all_euler",
|
||||
"values": {
|
||||
"incoming": [
|
||||
0.0,
|
||||
10.0,
|
||||
100.0
|
||||
],
|
||||
"euler": [
|
||||
20.0,
|
||||
70.0,
|
||||
35.0
|
||||
],
|
||||
"speed": 1000.0,
|
||||
"bank": 25.0,
|
||||
"previous": 7.0,
|
||||
"dt": 0.0166666675,
|
||||
"observed_rotation": [
|
||||
20.0,
|
||||
70.4166641,
|
||||
35.0
|
||||
],
|
||||
"observed_velocity": [
|
||||
-854.779053,
|
||||
10.0,
|
||||
400.866882
|
||||
],
|
||||
"observed_previous": 25.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "MOTION",
|
||||
"name": "retained_bank_no_motion",
|
||||
"values": {
|
||||
"incoming": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"euler": [
|
||||
20.0,
|
||||
70.0,
|
||||
35.0
|
||||
],
|
||||
"speed": 1000.0,
|
||||
"bank": 25.0,
|
||||
"previous": 7.0,
|
||||
"dt": 0.100000001,
|
||||
"observed_rotation": [
|
||||
20.0,
|
||||
70.0,
|
||||
35.0
|
||||
],
|
||||
"observed_velocity": [
|
||||
-882.953735,
|
||||
0.0,
|
||||
321.667145
|
||||
],
|
||||
"observed_previous": 7.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "AUX",
|
||||
"name": "turn_start",
|
||||
"values": {
|
||||
"timer": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"pressed": [
|
||||
1.0,
|
||||
0.0
|
||||
],
|
||||
"latch": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"vy": 10.0,
|
||||
"dt": 0.100000001,
|
||||
"suppressed": 0.0,
|
||||
"observed_rotation": [
|
||||
0.0,
|
||||
18.0,
|
||||
0.0
|
||||
],
|
||||
"observed_velocity": [
|
||||
10.0,
|
||||
10.0,
|
||||
100.0
|
||||
],
|
||||
"observed_timer": [
|
||||
0.899999976,
|
||||
0.0
|
||||
],
|
||||
"observed_latch": [
|
||||
1.0,
|
||||
0.0
|
||||
],
|
||||
"observed_previous": 7.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "AUX",
|
||||
"name": "roll_start",
|
||||
"values": {
|
||||
"timer": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"pressed": [
|
||||
0.0,
|
||||
1.0
|
||||
],
|
||||
"latch": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"vy": 10.0,
|
||||
"dt": 0.100000001,
|
||||
"suppressed": 0.0,
|
||||
"observed_rotation": [
|
||||
0.0,
|
||||
1.60000002,
|
||||
27.0
|
||||
],
|
||||
"observed_velocity": [
|
||||
12.2205973,
|
||||
10.0,
|
||||
400.490051
|
||||
],
|
||||
"observed_timer": [
|
||||
0.0,
|
||||
0.899999976
|
||||
],
|
||||
"observed_latch": [
|
||||
0.0,
|
||||
1.0
|
||||
],
|
||||
"observed_previous": 16.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "AUX",
|
||||
"name": "turn_finish",
|
||||
"values": {
|
||||
"timer": [
|
||||
0.0500000007,
|
||||
0.0
|
||||
],
|
||||
"pressed": [
|
||||
1.0,
|
||||
0.0
|
||||
],
|
||||
"latch": [
|
||||
1.0,
|
||||
0.0
|
||||
],
|
||||
"vy": 10.0,
|
||||
"dt": 0.100000001,
|
||||
"suppressed": 0.0,
|
||||
"observed_rotation": [
|
||||
0.0,
|
||||
18.0,
|
||||
0.0
|
||||
],
|
||||
"observed_velocity": [
|
||||
-113.893898,
|
||||
10.0,
|
||||
383.577667
|
||||
],
|
||||
"observed_timer": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"observed_latch": [
|
||||
1.0,
|
||||
0.0
|
||||
],
|
||||
"observed_previous": 7.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "AUX",
|
||||
"name": "roll_finish",
|
||||
"values": {
|
||||
"timer": [
|
||||
0.0,
|
||||
0.0500000007
|
||||
],
|
||||
"pressed": [
|
||||
0.0,
|
||||
1.0
|
||||
],
|
||||
"latch": [
|
||||
0.0,
|
||||
1.0
|
||||
],
|
||||
"vy": 10.0,
|
||||
"dt": 0.100000001,
|
||||
"suppressed": 0.0,
|
||||
"observed_rotation": [
|
||||
0.0,
|
||||
1.60000002,
|
||||
27.0
|
||||
],
|
||||
"observed_velocity": [
|
||||
12.2205973,
|
||||
10.0,
|
||||
400.490051
|
||||
],
|
||||
"observed_timer": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"observed_latch": [
|
||||
0.0,
|
||||
1.0
|
||||
],
|
||||
"observed_previous": 16.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "AUX",
|
||||
"name": "held_no_restart",
|
||||
"values": {
|
||||
"timer": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"pressed": [
|
||||
1.0,
|
||||
0.0
|
||||
],
|
||||
"latch": [
|
||||
1.0,
|
||||
0.0
|
||||
],
|
||||
"vy": 10.0,
|
||||
"dt": 0.100000001,
|
||||
"suppressed": 0.0,
|
||||
"observed_rotation": [
|
||||
0.0,
|
||||
1.60000002,
|
||||
0.0
|
||||
],
|
||||
"observed_velocity": [
|
||||
12.2205973,
|
||||
10.0,
|
||||
400.490051
|
||||
],
|
||||
"observed_timer": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"observed_latch": [
|
||||
1.0,
|
||||
0.0
|
||||
],
|
||||
"observed_previous": 16.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "AUX",
|
||||
"name": "released",
|
||||
"values": {
|
||||
"timer": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"pressed": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"latch": [
|
||||
1.0,
|
||||
1.0
|
||||
],
|
||||
"vy": 10.0,
|
||||
"dt": 0.100000001,
|
||||
"suppressed": 0.0,
|
||||
"observed_rotation": [
|
||||
0.0,
|
||||
1.60000002,
|
||||
0.0
|
||||
],
|
||||
"observed_velocity": [
|
||||
12.2205973,
|
||||
10.0,
|
||||
400.490051
|
||||
],
|
||||
"observed_timer": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"observed_latch": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"observed_previous": 16.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "AUX",
|
||||
"name": "suppressed",
|
||||
"values": {
|
||||
"timer": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"pressed": [
|
||||
1.0,
|
||||
1.0
|
||||
],
|
||||
"latch": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"vy": 10.0,
|
||||
"dt": 0.100000001,
|
||||
"suppressed": 1.0,
|
||||
"observed_rotation": [
|
||||
0.0,
|
||||
1.60000002,
|
||||
0.0
|
||||
],
|
||||
"observed_velocity": [
|
||||
12.2205973,
|
||||
10.0,
|
||||
400.490051
|
||||
],
|
||||
"observed_timer": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"observed_latch": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"observed_previous": 16.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "FACING",
|
||||
"name": "normal",
|
||||
"values": {
|
||||
"euler": [
|
||||
0.0,
|
||||
20.0,
|
||||
0.0
|
||||
],
|
||||
"dest": [
|
||||
20.0,
|
||||
20.0,
|
||||
-16.0
|
||||
],
|
||||
"dt": 0.100000001,
|
||||
"observed_rotation": [
|
||||
4.0,
|
||||
20.0,
|
||||
356.0
|
||||
],
|
||||
"active": 1.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "FACING",
|
||||
"name": "wrap",
|
||||
"values": {
|
||||
"euler": [
|
||||
350.0,
|
||||
359.0,
|
||||
350.0
|
||||
],
|
||||
"dest": [
|
||||
10.0,
|
||||
1.0,
|
||||
10.0
|
||||
],
|
||||
"dt": 0.100000001,
|
||||
"observed_rotation": [
|
||||
354.0,
|
||||
215.800003,
|
||||
356.0
|
||||
],
|
||||
"active": 1.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "FACING",
|
||||
"name": "negative_yaw_delta",
|
||||
"values": {
|
||||
"euler": [
|
||||
0.0,
|
||||
359.0,
|
||||
0.0
|
||||
],
|
||||
"dest": [
|
||||
0.0,
|
||||
1.0,
|
||||
0.0
|
||||
],
|
||||
"dt": 0.100000001,
|
||||
"observed_rotation": [
|
||||
0.0,
|
||||
215.800003,
|
||||
0.0
|
||||
],
|
||||
"active": 1.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "FACING",
|
||||
"name": "same",
|
||||
"values": {
|
||||
"euler": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"dest": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"dt": 0.100000001,
|
||||
"observed_rotation": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"active": 0.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "FACING",
|
||||
"name": "negative_fraction",
|
||||
"values": {
|
||||
"euler": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"dest": [
|
||||
-0.5,
|
||||
0.0,
|
||||
-0.5
|
||||
],
|
||||
"dt": 0.100000001,
|
||||
"observed_rotation": [
|
||||
360.0,
|
||||
0.0,
|
||||
360.0
|
||||
],
|
||||
"active": 1.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "CAMERA",
|
||||
"name": "straight",
|
||||
"values": {
|
||||
"euler": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"old": [
|
||||
-40.0,
|
||||
50.0,
|
||||
-100.0
|
||||
],
|
||||
"dt": 0.100000001,
|
||||
"detail": 0.0,
|
||||
"hit": 0.0,
|
||||
"observed_eye": [
|
||||
-31.6000004,
|
||||
71.0,
|
||||
-106.0
|
||||
],
|
||||
"pitch": 819.0,
|
||||
"yaw": -597.0,
|
||||
"trace_start": [
|
||||
100.0,
|
||||
250.0,
|
||||
500.0
|
||||
],
|
||||
"trace_end": [
|
||||
100.0,
|
||||
400.0,
|
||||
-200.0
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "CAMERA",
|
||||
"name": "detail1",
|
||||
"values": {
|
||||
"euler": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"old": [
|
||||
-40.0,
|
||||
50.0,
|
||||
-100.0
|
||||
],
|
||||
"dt": 0.100000001,
|
||||
"detail": 1.0,
|
||||
"hit": 0.0,
|
||||
"observed_eye": [
|
||||
-31.6000004,
|
||||
71.0,
|
||||
-106.0
|
||||
],
|
||||
"pitch": 819.0,
|
||||
"yaw": -597.0,
|
||||
"trace_start": [
|
||||
100.0,
|
||||
250.0,
|
||||
500.0
|
||||
],
|
||||
"trace_end": [
|
||||
100.0,
|
||||
400.0,
|
||||
-200.0
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "CAMERA",
|
||||
"name": "detail2",
|
||||
"values": {
|
||||
"euler": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"old": [
|
||||
-40.0,
|
||||
50.0,
|
||||
-100.0
|
||||
],
|
||||
"dt": 0.100000001,
|
||||
"detail": 2.0,
|
||||
"hit": 0.0,
|
||||
"observed_eye": [
|
||||
-23.1999989,
|
||||
92.0,
|
||||
-112.0
|
||||
],
|
||||
"pitch": 819.0,
|
||||
"yaw": -597.0,
|
||||
"trace_start": [
|
||||
100.0,
|
||||
250.0,
|
||||
500.0
|
||||
],
|
||||
"trace_end": [
|
||||
100.0,
|
||||
400.0,
|
||||
-200.0
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "CAMERA",
|
||||
"name": "blocked",
|
||||
"values": {
|
||||
"euler": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"old": [
|
||||
-40.0,
|
||||
50.0,
|
||||
-100.0
|
||||
],
|
||||
"dt": 0.100000001,
|
||||
"detail": 0.0,
|
||||
"hit": 1.0,
|
||||
"observed_eye": [
|
||||
-25.0,
|
||||
74.0,
|
||||
-63.9999962
|
||||
],
|
||||
"pitch": 819.0,
|
||||
"yaw": -597.0,
|
||||
"trace_start": [
|
||||
100.0,
|
||||
250.0,
|
||||
500.0
|
||||
],
|
||||
"trace_end": [
|
||||
100.0,
|
||||
400.0,
|
||||
-200.0
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "CAMERA",
|
||||
"name": "combined",
|
||||
"values": {
|
||||
"euler": [
|
||||
20.0,
|
||||
70.0,
|
||||
35.0
|
||||
],
|
||||
"old": [
|
||||
-40.0,
|
||||
50.0,
|
||||
-100.0
|
||||
],
|
||||
"dt": 0.0166666675,
|
||||
"detail": 0.0,
|
||||
"hit": 0.0,
|
||||
"observed_eye": [
|
||||
-33.2662659,
|
||||
51.3302155,
|
||||
-96.7228088
|
||||
],
|
||||
"pitch": 1267.0,
|
||||
"yaw": 73.0,
|
||||
"trace_start": [
|
||||
-53.6166077,
|
||||
306.885956,
|
||||
386.471588
|
||||
],
|
||||
"trace_end": [
|
||||
633.373413,
|
||||
183.021698,
|
||||
227.71904
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "CAMERA",
|
||||
"name": "combined_blocked",
|
||||
"values": {
|
||||
"euler": [
|
||||
20.0,
|
||||
70.0,
|
||||
35.0
|
||||
],
|
||||
"old": [
|
||||
-40.0,
|
||||
50.0,
|
||||
-100.0
|
||||
],
|
||||
"dt": 0.0166666675,
|
||||
"detail": 2.0,
|
||||
"hit": 1.0,
|
||||
"observed_eye": [
|
||||
-36.5361671,
|
||||
58.5688629,
|
||||
-89.1352844
|
||||
],
|
||||
"pitch": 1267.0,
|
||||
"yaw": 73.0,
|
||||
"trace_start": [
|
||||
-53.6166077,
|
||||
306.885956,
|
||||
386.471588
|
||||
],
|
||||
"trace_end": [
|
||||
633.373413,
|
||||
183.021698,
|
||||
227.71904
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user