@bendyline/molen-tooling 0.0.8 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/capture/harness.js +276 -228
- package/dist/capture/worldgen-preview.js +215 -215
- package/dist/cli.mjs +6 -5
- package/dist/docs-src/guide/3d-art-guidelines.md +15 -11
- package/dist/docs-src/guide/adaptive-performance.md +18 -2
- package/dist/docs-src/guide/aircraft.md +113 -40
- package/dist/docs-src/guide/ambient-life.md +100 -11
- package/dist/docs-src/guide/audio.md +1 -1
- package/dist/docs-src/guide/boats.md +99 -0
- package/dist/docs-src/guide/determinism.md +1 -1
- package/dist/docs-src/guide/dioramas.md +167 -0
- package/dist/docs-src/guide/earth-view.md +265 -10
- package/dist/docs-src/guide/entities.md +32 -1
- package/dist/docs-src/guide/figures.md +7 -1
- package/dist/docs-src/guide/graphics-performance.md +16 -3
- package/dist/docs-src/guide/medium-fi.md +337 -0
- package/dist/docs-src/guide/project.md +8 -0
- package/dist/docs-src/guide/sky.md +4 -1
- package/dist/docs-src/guide/surface-rendering.md +4 -1
- package/dist/docs-src/guide/vehicle-interiors.md +40 -2
- package/dist/docs-src/guide/vehicles.md +121 -19
- package/dist/docs-src/guide/weather.md +45 -3
- package/dist/docs-src/guide/worldgen.md +22 -1
- package/dist/docs-src/llms.txt +7 -4
- package/dist/docs-src/schemas/archstyle.md +114 -0
- package/dist/docs-src/schemas/components.md +1592 -139
- package/dist/docs-src/schemas/scatter.md +9 -0
- package/dist/docs-src/schemas/scene.md +6 -3
- package/dist/docs-src/schemas/transport-network.md +4 -2
- package/dist/index.mjs +1 -1
- package/dist/{mcp-BbHk4ibu.mjs → mcp-BbxqqnD1.mjs} +3 -2
- package/dist/{ops-CErtZh2t.mjs → ops-b4Pag8U-.mjs} +7 -5
- package/dist/templates/city-courier/README.md +18 -0
- package/dist/templates/city-courier/gen/molen-types.ts +218 -16
- package/dist/templates/city-courier/index.html +1 -1
- package/dist/templates/city-courier/scripts/molen-scripts.d.ts +220 -18
- package/dist/templates/city-courier/src/audio.ts +26 -4
- package/dist/templates/city-courier/src/game-shell.css +7 -3
- package/dist/templates/city-courier/src/main.ts +25 -3
- package/dist/templates/city-courier/src/shared/accessibility.css +325 -0
- package/dist/templates/city-courier/src/shared/game-controls.ts +406 -0
- package/dist/templates/city-courier/src/shared/game-descriptions.ts +143 -0
- package/dist/templates/city-courier/src/shared/playback.ts +146 -0
- package/dist/templates/city-courier/src/worker.ts +5 -1
- package/dist/templates/cubes/index.html +6 -1
- package/dist/templates/cubes/src/main.ts +25 -2
- package/dist/templates/cubes/src/shared/accessibility.css +325 -0
- package/dist/templates/cubes/src/shared/playback.ts +146 -0
- package/dist/templates/cubes/src/vite-env.d.ts +1 -0
- package/dist/templates/cubes/src/worker.ts +1 -0
- package/dist/templates/data-viz/README.md +4 -0
- package/dist/templates/data-viz/index.html +6 -1
- package/dist/templates/data-viz/src/main.ts +53 -11
- package/dist/templates/data-viz/src/shared/accessibility.css +325 -0
- package/dist/templates/data-viz/src/shared/playback.ts +146 -0
- package/dist/templates/data-viz/src/vite-env.d.ts +1 -0
- package/dist/templates/data-viz/src/worker.ts +1 -0
- package/dist/templates/figures-gallery/index.html +6 -1
- package/dist/templates/figures-gallery/src/main.ts +21 -2
- package/dist/templates/figures-gallery/src/shared/accessibility.css +325 -0
- package/dist/templates/figures-gallery/src/shared/playback.ts +146 -0
- package/dist/templates/figures-gallery/src/vite-env.d.ts +1 -0
- package/dist/templates/figures-gallery/src/worker.ts +1 -0
- package/dist/templates/index.json +36 -16
- package/dist/templates/skybound/README.md +18 -0
- package/dist/templates/skybound/gen/molen-types.ts +218 -16
- package/dist/templates/skybound/index.html +1 -1
- package/dist/templates/skybound/scripts/molen-scripts.d.ts +220 -18
- package/dist/templates/skybound/src/audio.ts +26 -4
- package/dist/templates/skybound/src/game-shell.css +7 -3
- package/dist/templates/skybound/src/main.ts +25 -3
- package/dist/templates/skybound/src/shared/accessibility.css +325 -0
- package/dist/templates/skybound/src/shared/game-controls.ts +406 -0
- package/dist/templates/skybound/src/shared/game-descriptions.ts +143 -0
- package/dist/templates/skybound/src/shared/playback.ts +146 -0
- package/dist/templates/skybound/src/worker.ts +1 -1
- package/dist/templates/terrain-flyover/README.md +5 -1
- package/dist/templates/terrain-flyover/index.html +4 -1
- package/dist/templates/terrain-flyover/src/main.ts +40 -39
- package/dist/templates/top-down-arena/index.html +6 -1
- package/dist/templates/top-down-arena/scripts/molen-scripts.d.ts +220 -18
- package/dist/templates/top-down-arena/src/audio.ts +26 -4
- package/dist/templates/top-down-arena/src/gen/molen-types.ts +218 -16
- package/dist/templates/top-down-arena/src/main.ts +31 -5
- package/dist/templates/top-down-arena/src/shared/accessibility.css +325 -0
- package/dist/templates/top-down-arena/src/shared/playback.ts +146 -0
- package/dist/templates/top-down-arena/src/worker.ts +1 -1
- package/package.json +12 -12
|
@@ -37,13 +37,16 @@ with `registerComponent(name, zodSchema, meta)` from `@bendyline/molen-schema`.
|
|
|
37
37
|
| `aircraft` | kernel/aircraft | External airplane/helicopter instance. Y up, Z forward; landing-contact origin. |
|
|
38
38
|
| `aircraftInput` | kernel/aircraft | Pilot flight controls. Power is retained when input keys are released. |
|
|
39
39
|
| `aircraftState` | kernel/aircraft | Deterministic flight state, including rotor phase and engine spool, preserved by keyframes. |
|
|
40
|
-
| `ambientAgent` | ambient | Kernel-owned state of an ambient NPC (car, pedestrian, train car or
|
|
40
|
+
| `ambientAgent` | ambient | Kernel-owned state of an ambient NPC (car, pedestrian, train car, aircraft or boat): its lane, position along it, speed and routing. Read it; the ambient systems write it. |
|
|
41
41
|
| `ambientObserver` | ambient | Marks the entity ambient NPCs spawn around (usually the player or camera rig), with optional radius and density overrides. |
|
|
42
|
-
| `ambientRole` | ambient | On an entity type: makes it an ambient NPC candidate (car, bus, rail car or
|
|
42
|
+
| `ambientRole` | ambient | On an entity type: makes it an ambient NPC candidate (car, bus, rail car, aircraft, boat or ferry) with dimensions, speeds and spawn weight. |
|
|
43
43
|
| `ambientState` | ambient | Kernel-owned ambient bookkeeping on the `$ambient` entity: observer, spawn sequence and policy overrides. |
|
|
44
44
|
| `audioEnvironment` | audio | Singleton soundscape rules: bus gains, ambience layers gated on weather/sky/listener signals, music playlist, event → sound mappings and listener footsteps. |
|
|
45
45
|
| `audioSource` | audio | Sound emitter on an entity: a sound-bank id, loop/autoplay, gain and pitch driven by signals (vehicleState.speed, listener.distance…), and one-shot triggers. Positional when the entity has a transform. Render-side only; see guide/audio.md. |
|
|
46
46
|
| `audioZone` | audio | Area ambience: a looping sound that fades in as the listener enters a sphere or box around the entity (a waterfall, a machine room, a market). |
|
|
47
|
+
| `boat` | kernel/boats | Waterline-aligned powered hull with data-driven handling and shared seats. |
|
|
48
|
+
| `boatInput` | kernel/boats | Helm intent: signed thrust, steering and low-speed anchor. Only the driver controls it. |
|
|
49
|
+
| `boatState` | kernel/boats | Snapshot-safe hull motion, buoyancy and anchoring; owned by installBoats. |
|
|
47
50
|
| `character` | kernel/character | Kinematic character controller state (speed/jump/gravity + kernel-owned vy/grounded). |
|
|
48
51
|
| `collider` | kernel/kinematics | 2.5D kinematic collider (circle or XZ AABB) with layer/mask bitmasks. |
|
|
49
52
|
| `collider3d` | physics-rapier | 3D collider (ball/cuboid/capsule/hull/trimesh/asset/heightfield) with layer/mask, sensor, and material params. Static without a rigidbody. |
|
|
@@ -77,9 +80,10 @@ with `registerComponent(name, zodSchema, meta)` from `@bendyline/molen-schema`.
|
|
|
77
80
|
| `transform` | kernel | World position + orientation. pos is required; rot defaults to identity. |
|
|
78
81
|
| `tween` | kernel/gameplay | Data-driven value animation over ticks: component + select-style path, lerp with easing. |
|
|
79
82
|
| `vehicle` | kernel/vehicles | External wheeled-vehicle instance: stable id, paint, complete physics tuning, and GLB bindings. |
|
|
80
|
-
| `vehicleInput` | kernel/vehicles | Driver intent: signed throttle (negative brakes then reverses), signed steering (positive right), brake
|
|
83
|
+
| `vehicleInput` | kernel/vehicles | Driver intent: signed throttle (negative brakes then reverses), signed steering (positive right), service brake and optional handbrake. |
|
|
81
84
|
| `vehicleState` | kernel/vehicles | Snapshot-safe chassis state. Speeds in m/s, angles in radians; owned by installVehicles. |
|
|
82
85
|
| `velocity` | physics-rapier | Opt-in per-tick body velocity mirror (presence = subscription; plugin-written). |
|
|
86
|
+
| `water` | kernel/boats | Deterministic swells and current for boats; heights and coverage come from the host water field. |
|
|
83
87
|
| `weather` | | Singleton physical atmosphere and visual weather: temperature, pressure, humidity, wind, independent cloud cover, precipitation and visibility. Readable by scripts and physics; see guide/weather.md. |
|
|
84
88
|
| `worldgenBuilding` | worldgen | A building generated at runtime from an outline in the entity frame, styled by a molen/archstyle@1 in the loaded pack; rendered by the worldgen client entity layer. |
|
|
85
89
|
|
|
@@ -87,7 +91,7 @@ with `registerComponent(name, zodSchema, meta)` from `@bendyline/molen-schema`.
|
|
|
87
91
|
|
|
88
92
|
### `ambientAgent`
|
|
89
93
|
|
|
90
|
-
Kernel-owned state of an ambient NPC (car, pedestrian, train car or
|
|
94
|
+
Kernel-owned state of an ambient NPC (car, pedestrian, train car, aircraft or boat): its lane, position along it, speed and routing. Read it; the ambient systems write it.
|
|
91
95
|
|
|
92
96
|
Required: `kind`, `type`, `lane`, `s`, `speed`, `seed`, `length`, `width`, `state`, `since`, `hops`, `spawnedTick`
|
|
93
97
|
|
|
@@ -123,7 +127,8 @@ Required: `kind`, `type`, `lane`, `s`, `speed`, `seed`, `length`, `width`, `stat
|
|
|
123
127
|
"car",
|
|
124
128
|
"pedestrian",
|
|
125
129
|
"train",
|
|
126
|
-
"aircraft"
|
|
130
|
+
"aircraft",
|
|
131
|
+
"boat"
|
|
127
132
|
],
|
|
128
133
|
"description": "Agent class."
|
|
129
134
|
},
|
|
@@ -148,6 +153,11 @@ Required: `kind`, `type`, `lane`, `s`, `speed`, `seed`, `length`, `width`, `stat
|
|
|
148
153
|
"minimum": 0,
|
|
149
154
|
"description": "Speed along the lane in m/s."
|
|
150
155
|
},
|
|
156
|
+
"cruise": {
|
|
157
|
+
"type": "number",
|
|
158
|
+
"exclusiveMinimum": 0,
|
|
159
|
+
"description": "Vessel cruise limit in m/s."
|
|
160
|
+
},
|
|
151
161
|
"prev": {
|
|
152
162
|
"type": "string",
|
|
153
163
|
"description": "Previous lane (its connector leads onto `lane`)."
|
|
@@ -333,7 +343,7 @@ Required: none
|
|
|
333
343
|
|
|
334
344
|
### `ambientRole`
|
|
335
345
|
|
|
336
|
-
On an entity type: makes it an ambient NPC candidate (car, bus, rail car or
|
|
346
|
+
On an entity type: makes it an ambient NPC candidate (car, bus, rail car, aircraft, boat or ferry) with dimensions, speeds and spawn weight.
|
|
337
347
|
|
|
338
348
|
Required: `role`
|
|
339
349
|
|
|
@@ -359,7 +369,9 @@ Required: `role`
|
|
|
359
369
|
"car",
|
|
360
370
|
"bus",
|
|
361
371
|
"rail",
|
|
362
|
-
"aircraft"
|
|
372
|
+
"aircraft",
|
|
373
|
+
"boat",
|
|
374
|
+
"ferry"
|
|
363
375
|
],
|
|
364
376
|
"description": "Which ambient pool the type joins (buses drive with cars)."
|
|
365
377
|
},
|
|
@@ -2270,9 +2282,10 @@ Required: none
|
|
|
2270
2282
|
"enum": [
|
|
2271
2283
|
"none",
|
|
2272
2284
|
"aces",
|
|
2273
|
-
"agx"
|
|
2285
|
+
"agx",
|
|
2286
|
+
"neutral"
|
|
2274
2287
|
],
|
|
2275
|
-
"description": "Tone-mapping operator: none, aces, or
|
|
2288
|
+
"description": "Tone-mapping operator: none, aces, agx, or neutral (Khronos PBR Neutral: keeps authored base colors and saturation below the highlights)."
|
|
2276
2289
|
},
|
|
2277
2290
|
"exposure": {
|
|
2278
2291
|
"type": "number",
|
|
@@ -2478,13 +2491,40 @@ Required: `sources`, `bindings`
|
|
|
2478
2491
|
"description": "Local transform axis."
|
|
2479
2492
|
},
|
|
2480
2493
|
"scale": {
|
|
2481
|
-
"
|
|
2482
|
-
"
|
|
2494
|
+
"description": "Multiply the signal by this value. Supply this or keys.",
|
|
2495
|
+
"type": "number"
|
|
2483
2496
|
},
|
|
2484
2497
|
"offset": {
|
|
2485
2498
|
"description": "Offset after scaling; default zero.",
|
|
2486
2499
|
"type": "number"
|
|
2487
2500
|
},
|
|
2501
|
+
"keys": {
|
|
2502
|
+
"description": "Keyframed curve of [signal, displacement] pairs, signals strictly ascending; holds the end values outside them. Supply this or scale.",
|
|
2503
|
+
"minItems": 2,
|
|
2504
|
+
"type": "array",
|
|
2505
|
+
"items": {
|
|
2506
|
+
"type": "array",
|
|
2507
|
+
"prefixItems": [
|
|
2508
|
+
{
|
|
2509
|
+
"type": "number"
|
|
2510
|
+
},
|
|
2511
|
+
{
|
|
2512
|
+
"type": "number"
|
|
2513
|
+
}
|
|
2514
|
+
],
|
|
2515
|
+
"items": false,
|
|
2516
|
+
"minItems": 2,
|
|
2517
|
+
"maxItems": 2
|
|
2518
|
+
}
|
|
2519
|
+
},
|
|
2520
|
+
"ease": {
|
|
2521
|
+
"description": "Interpolation between keys: linear (default), or smooth to ease out of and into every key.",
|
|
2522
|
+
"type": "string",
|
|
2523
|
+
"enum": [
|
|
2524
|
+
"linear",
|
|
2525
|
+
"smooth"
|
|
2526
|
+
]
|
|
2527
|
+
},
|
|
2488
2528
|
"min": {
|
|
2489
2529
|
"description": "Minimum displacement from authored pose.",
|
|
2490
2530
|
"type": "number"
|
|
@@ -2498,8 +2538,7 @@ Required: `sources`, `bindings`
|
|
|
2498
2538
|
"node",
|
|
2499
2539
|
"source",
|
|
2500
2540
|
"property",
|
|
2501
|
-
"axis"
|
|
2502
|
-
"scale"
|
|
2541
|
+
"axis"
|
|
2503
2542
|
],
|
|
2504
2543
|
"additionalProperties": false
|
|
2505
2544
|
},
|
|
@@ -3718,17 +3757,14 @@ Required: `kind`, `spec`
|
|
|
3718
3757
|
"controlAuthoritySpeed": 45,
|
|
3719
3758
|
"maxControlAuthority": 1.3,
|
|
3720
3759
|
"pitchAuthority": 0.4,
|
|
3721
|
-
"pitchResponse":
|
|
3760
|
+
"pitchResponse": 3,
|
|
3722
3761
|
"stallPitchRate": 0.18,
|
|
3723
3762
|
"rollAuthority": 1,
|
|
3724
3763
|
"rollResponse": 2,
|
|
3725
|
-
"rudderAuthority":
|
|
3764
|
+
"rudderAuthority": 1,
|
|
3726
3765
|
"groundSteerSpeed": 8,
|
|
3727
|
-
"coordinatedTurnMinSpeed": 25,
|
|
3728
3766
|
"groundLevelRate": 2,
|
|
3729
|
-
"maxPitch": 1.2,
|
|
3730
3767
|
"maxGroundPitch": 0.2,
|
|
3731
|
-
"maxRoll": 1.3,
|
|
3732
3768
|
"camberAngle": 0.04,
|
|
3733
3769
|
"flapLift": 0.3,
|
|
3734
3770
|
"postStallFlapEffect": 0.4,
|
|
@@ -3922,6 +3958,19 @@ Required: `kind`, `spec`
|
|
|
3922
3958
|
"description": "Minimum propeller advance speed in m/s for the power/thrust calculation; defaults to airplane.minPropellerSpeed.",
|
|
3923
3959
|
"type": "number",
|
|
3924
3960
|
"exclusiveMinimum": 0
|
|
3961
|
+
},
|
|
3962
|
+
"propellerRotation": {
|
|
3963
|
+
"description": "Turning direction seen from the cockpit. Clockwise (default) swings the nose left; scaled by airplane.propellerEffects.",
|
|
3964
|
+
"type": "string",
|
|
3965
|
+
"enum": [
|
|
3966
|
+
"clockwise",
|
|
3967
|
+
"counterclockwise"
|
|
3968
|
+
]
|
|
3969
|
+
},
|
|
3970
|
+
"propellerInertia": {
|
|
3971
|
+
"description": "Propeller polar moment of inertia in kg m², for gyroscopic precession. Default 0.",
|
|
3972
|
+
"type": "number",
|
|
3973
|
+
"minimum": 0
|
|
3925
3974
|
}
|
|
3926
3975
|
},
|
|
3927
3976
|
"required": [
|
|
@@ -3996,6 +4045,19 @@ Required: `kind`, `spec`
|
|
|
3996
4045
|
"type": "number",
|
|
3997
4046
|
"exclusiveMinimum": 0
|
|
3998
4047
|
},
|
|
4048
|
+
"propellerRotation": {
|
|
4049
|
+
"description": "Turning direction seen from the cockpit. Clockwise (default) swings the nose left; scaled by airplane.propellerEffects.",
|
|
4050
|
+
"type": "string",
|
|
4051
|
+
"enum": [
|
|
4052
|
+
"clockwise",
|
|
4053
|
+
"counterclockwise"
|
|
4054
|
+
]
|
|
4055
|
+
},
|
|
4056
|
+
"propellerInertia": {
|
|
4057
|
+
"description": "Propeller polar moment of inertia in kg m², for gyroscopic precession. Default 0.",
|
|
4058
|
+
"type": "number",
|
|
4059
|
+
"minimum": 0
|
|
4060
|
+
},
|
|
3999
4061
|
"id": {
|
|
4000
4062
|
"type": "string",
|
|
4001
4063
|
"pattern": "^[A-Za-z][A-Za-z0-9_-]*$",
|
|
@@ -4035,73 +4097,58 @@ Required: `kind`, `spec`
|
|
|
4035
4097
|
"controlAuthoritySpeed": {
|
|
4036
4098
|
"type": "number",
|
|
4037
4099
|
"exclusiveMinimum": 0,
|
|
4038
|
-
"description": "
|
|
4100
|
+
"description": "Reference equivalent airspeed in m/s for the control, stability and damping rates."
|
|
4039
4101
|
},
|
|
4040
4102
|
"maxControlAuthority": {
|
|
4041
4103
|
"type": "number",
|
|
4042
4104
|
"exclusiveMinimum": 0,
|
|
4043
|
-
"description": "
|
|
4105
|
+
"description": "Cap on aileron, elevator and rudder power relative to the reference speed."
|
|
4044
4106
|
},
|
|
4045
4107
|
"pitchAuthority": {
|
|
4046
4108
|
"type": "number",
|
|
4047
4109
|
"exclusiveMinimum": 0,
|
|
4048
|
-
"description": "
|
|
4110
|
+
"description": "Angle of attack in radians that full elevator adds to the trim angle."
|
|
4049
4111
|
},
|
|
4050
4112
|
"pitchResponse": {
|
|
4051
4113
|
"type": "number",
|
|
4052
4114
|
"exclusiveMinimum": 0,
|
|
4053
|
-
"description": "
|
|
4115
|
+
"description": "Elevator travel per second, in full deflections."
|
|
4054
4116
|
},
|
|
4055
4117
|
"stallPitchRate": {
|
|
4056
4118
|
"type": "number",
|
|
4057
4119
|
"minimum": 0,
|
|
4058
|
-
"description": "
|
|
4120
|
+
"description": "Nose-down pitch rate in rad/s at full flow separation (the stall break)."
|
|
4059
4121
|
},
|
|
4060
4122
|
"rollAuthority": {
|
|
4061
4123
|
"type": "number",
|
|
4062
4124
|
"exclusiveMinimum": 0,
|
|
4063
|
-
"description": "
|
|
4125
|
+
"description": "Roll rate in rad/s at full aileron and reference speed; grows with speed up to maxControlAuthority."
|
|
4064
4126
|
},
|
|
4065
4127
|
"rollResponse": {
|
|
4066
4128
|
"type": "number",
|
|
4067
4129
|
"exclusiveMinimum": 0,
|
|
4068
|
-
"description": "
|
|
4130
|
+
"description": "Roll damping in 1/s at reference speed; grows with airspeed."
|
|
4069
4131
|
},
|
|
4070
4132
|
"rudderAuthority": {
|
|
4071
4133
|
"type": "number",
|
|
4072
4134
|
"exclusiveMinimum": 0,
|
|
4073
|
-
"description": "
|
|
4135
|
+
"description": "Yaw acceleration in rad/s² at full rudder and reference speed; propwash keeps some at low speed."
|
|
4074
4136
|
},
|
|
4075
4137
|
"groundSteerSpeed": {
|
|
4076
4138
|
"type": "number",
|
|
4077
4139
|
"exclusiveMinimum": 0,
|
|
4078
|
-
"description": "
|
|
4079
|
-
},
|
|
4080
|
-
"coordinatedTurnMinSpeed": {
|
|
4081
|
-
"type": "number",
|
|
4082
|
-
"exclusiveMinimum": 0,
|
|
4083
|
-
"description": "External coordinatedTurnMinSpeed setting."
|
|
4140
|
+
"description": "Ground speed in m/s at which tailwheel steering reaches full turn rate."
|
|
4084
4141
|
},
|
|
4085
4142
|
"groundLevelRate": {
|
|
4086
4143
|
"type": "number",
|
|
4087
4144
|
"exclusiveMinimum": 0,
|
|
4088
4145
|
"description": "External groundLevelRate setting."
|
|
4089
4146
|
},
|
|
4090
|
-
"maxPitch": {
|
|
4091
|
-
"type": "number",
|
|
4092
|
-
"exclusiveMinimum": 0,
|
|
4093
|
-
"description": "External maxPitch setting."
|
|
4094
|
-
},
|
|
4095
4147
|
"maxGroundPitch": {
|
|
4096
4148
|
"type": "number",
|
|
4097
4149
|
"exclusiveMinimum": 0,
|
|
4098
4150
|
"description": "External maxGroundPitch setting."
|
|
4099
4151
|
},
|
|
4100
|
-
"maxRoll": {
|
|
4101
|
-
"type": "number",
|
|
4102
|
-
"exclusiveMinimum": 0,
|
|
4103
|
-
"description": "External maxRoll setting."
|
|
4104
|
-
},
|
|
4105
4152
|
"camberAngle": {
|
|
4106
4153
|
"type": "number",
|
|
4107
4154
|
"description": "External camberAngle setting."
|
|
@@ -4126,20 +4173,65 @@ Required: `kind`, `spec`
|
|
|
4126
4173
|
"type": "number",
|
|
4127
4174
|
"exclusiveMinimum": 0
|
|
4128
4175
|
},
|
|
4129
|
-
"
|
|
4130
|
-
"description": "
|
|
4176
|
+
"pitchFrequency": {
|
|
4177
|
+
"description": "Short-period natural frequency in rad/s at reference speed. Default 3.5.",
|
|
4178
|
+
"type": "number",
|
|
4179
|
+
"exclusiveMinimum": 0
|
|
4180
|
+
},
|
|
4181
|
+
"pitchDamping": {
|
|
4182
|
+
"description": "Short-period damping ratio. Default 0.7.",
|
|
4183
|
+
"type": "number",
|
|
4184
|
+
"exclusiveMinimum": 0
|
|
4185
|
+
},
|
|
4186
|
+
"maxLoadFactor": {
|
|
4187
|
+
"description": "Load factor in g that full back stick pulls at high speed. Default 6.",
|
|
4188
|
+
"type": "number",
|
|
4189
|
+
"exclusiveMinimum": 0
|
|
4190
|
+
},
|
|
4191
|
+
"minLoadFactor": {
|
|
4192
|
+
"description": "Load factor in g that full forward stick pushes at high speed. Default -3.",
|
|
4193
|
+
"type": "number",
|
|
4194
|
+
"exclusiveMaximum": 0
|
|
4195
|
+
},
|
|
4196
|
+
"autoTrim": {
|
|
4197
|
+
"description": "Rate in 1/s at which trim follows the angle of attack that holds the flight path; 0 leaves trim fixed. Default 1.",
|
|
4198
|
+
"type": "number",
|
|
4199
|
+
"minimum": 0
|
|
4200
|
+
},
|
|
4201
|
+
"directionalStability": {
|
|
4202
|
+
"description": "Weathercock stiffness: yaw acceleration in rad/s² per radian of sideslip at reference speed. Default 4.",
|
|
4131
4203
|
"type": "number",
|
|
4132
4204
|
"minimum": 0
|
|
4133
4205
|
},
|
|
4206
|
+
"yawDamping": {
|
|
4207
|
+
"description": "Yaw damping in 1/s at reference speed. Default 1.2.",
|
|
4208
|
+
"type": "number",
|
|
4209
|
+
"minimum": 0
|
|
4210
|
+
},
|
|
4211
|
+
"dihedralEffect": {
|
|
4212
|
+
"description": "Roll acceleration in rad/s² per radian of sideslip at reference speed, away from the slip. Default 3.",
|
|
4213
|
+
"type": "number"
|
|
4214
|
+
},
|
|
4215
|
+
"rollInertia": {
|
|
4216
|
+
"description": "Roll inertia in kg m². Default mass * (0.14 * span)².",
|
|
4217
|
+
"type": "number",
|
|
4218
|
+
"exclusiveMinimum": 0
|
|
4219
|
+
},
|
|
4220
|
+
"pitchInertia": {
|
|
4221
|
+
"description": "Pitch inertia in kg m². Default mass * (0.18 * length)².",
|
|
4222
|
+
"type": "number",
|
|
4223
|
+
"exclusiveMinimum": 0
|
|
4224
|
+
},
|
|
4134
4225
|
"yawInertia": {
|
|
4135
4226
|
"description": "Yaw inertia in kg m². Default mass * (span² + length²) / 12.",
|
|
4136
4227
|
"type": "number",
|
|
4137
4228
|
"exclusiveMinimum": 0
|
|
4138
4229
|
},
|
|
4139
|
-
"
|
|
4140
|
-
"description": "
|
|
4230
|
+
"propellerEffects": {
|
|
4231
|
+
"description": "Scale of propeller torque, P-factor and slipstream yaw, and gyroscopic precession; 0 disables them. Default 0.",
|
|
4141
4232
|
"type": "number",
|
|
4142
|
-
"minimum": 0
|
|
4233
|
+
"minimum": 0,
|
|
4234
|
+
"maximum": 1
|
|
4143
4235
|
},
|
|
4144
4236
|
"stallSpeed": {
|
|
4145
4237
|
"type": "number",
|
|
@@ -4174,12 +4266,22 @@ Required: `kind`, `spec`
|
|
|
4174
4266
|
"gearDrag": {
|
|
4175
4267
|
"type": "number",
|
|
4176
4268
|
"minimum": 0,
|
|
4177
|
-
"description": "
|
|
4269
|
+
"description": "Drag coefficient of the landing gear fully down; scales with the gear position."
|
|
4178
4270
|
},
|
|
4179
4271
|
"flapDrag": {
|
|
4180
4272
|
"type": "number",
|
|
4181
4273
|
"minimum": 0,
|
|
4182
|
-
"description": "
|
|
4274
|
+
"description": "Drag coefficient of the flaps fully down; scales with the flap position."
|
|
4275
|
+
},
|
|
4276
|
+
"gearTransitTime": {
|
|
4277
|
+
"description": "Seconds for a full landing-gear cycle, doors included, either way. The gear holds still with weight on the wheels, and only a locked-down gear can land. Default 0 (instant).",
|
|
4278
|
+
"type": "number",
|
|
4279
|
+
"minimum": 0
|
|
4280
|
+
},
|
|
4281
|
+
"flapTransitTime": {
|
|
4282
|
+
"description": "Seconds for the flaps to travel fully up to fully down. Default 0 (instant).",
|
|
4283
|
+
"type": "number",
|
|
4284
|
+
"minimum": 0
|
|
4183
4285
|
},
|
|
4184
4286
|
"stallDrag": {
|
|
4185
4287
|
"type": "number",
|
|
@@ -4219,7 +4321,7 @@ Required: `kind`, `spec`
|
|
|
4219
4321
|
"groundTrackRate": {
|
|
4220
4322
|
"type": "number",
|
|
4221
4323
|
"exclusiveMinimum": 0,
|
|
4222
|
-
"description": "
|
|
4324
|
+
"description": "Tire side grip with full weight on the wheels: lateral deceleration in m/s² and yaw grip in 1/s."
|
|
4223
4325
|
}
|
|
4224
4326
|
},
|
|
4225
4327
|
"required": [
|
|
@@ -4234,11 +4336,8 @@ Required: `kind`, `spec`
|
|
|
4234
4336
|
"rollResponse",
|
|
4235
4337
|
"rudderAuthority",
|
|
4236
4338
|
"groundSteerSpeed",
|
|
4237
|
-
"coordinatedTurnMinSpeed",
|
|
4238
4339
|
"groundLevelRate",
|
|
4239
|
-
"maxPitch",
|
|
4240
4340
|
"maxGroundPitch",
|
|
4241
|
-
"maxRoll",
|
|
4242
4341
|
"camberAngle",
|
|
4243
4342
|
"flapLift",
|
|
4244
4343
|
"postStallFlapEffect",
|
|
@@ -4451,7 +4550,7 @@ Required: `kind`, `spec`
|
|
|
4451
4550
|
"type": "string",
|
|
4452
4551
|
"minLength": 1
|
|
4453
4552
|
},
|
|
4454
|
-
"description": "
|
|
4553
|
+
"description": "Nodes hidden while the landing gear is fully up."
|
|
4455
4554
|
},
|
|
4456
4555
|
"flaps": {
|
|
4457
4556
|
"type": "array",
|
|
@@ -4484,7 +4583,7 @@ Required: `kind`, `spec`
|
|
|
4484
4583
|
],
|
|
4485
4584
|
"additionalProperties": false
|
|
4486
4585
|
},
|
|
4487
|
-
"description": "
|
|
4586
|
+
"description": "Flap nodes turned by multiplier radians at full travel, in proportion to the flap position."
|
|
4488
4587
|
},
|
|
4489
4588
|
"ailerons": {
|
|
4490
4589
|
"type": "array",
|
|
@@ -4676,13 +4775,40 @@ Required: `kind`, `spec`
|
|
|
4676
4775
|
"description": "Local transform axis."
|
|
4677
4776
|
},
|
|
4678
4777
|
"scale": {
|
|
4679
|
-
"
|
|
4680
|
-
"
|
|
4778
|
+
"description": "Multiply the signal by this value. Supply this or keys.",
|
|
4779
|
+
"type": "number"
|
|
4681
4780
|
},
|
|
4682
4781
|
"offset": {
|
|
4683
4782
|
"description": "Offset after scaling; default zero.",
|
|
4684
4783
|
"type": "number"
|
|
4685
4784
|
},
|
|
4785
|
+
"keys": {
|
|
4786
|
+
"description": "Keyframed curve of [signal, displacement] pairs, signals strictly ascending; holds the end values outside them. Supply this or scale.",
|
|
4787
|
+
"minItems": 2,
|
|
4788
|
+
"type": "array",
|
|
4789
|
+
"items": {
|
|
4790
|
+
"type": "array",
|
|
4791
|
+
"prefixItems": [
|
|
4792
|
+
{
|
|
4793
|
+
"type": "number"
|
|
4794
|
+
},
|
|
4795
|
+
{
|
|
4796
|
+
"type": "number"
|
|
4797
|
+
}
|
|
4798
|
+
],
|
|
4799
|
+
"items": false,
|
|
4800
|
+
"minItems": 2,
|
|
4801
|
+
"maxItems": 2
|
|
4802
|
+
}
|
|
4803
|
+
},
|
|
4804
|
+
"ease": {
|
|
4805
|
+
"description": "Interpolation between keys: linear (default), or smooth to ease out of and into every key.",
|
|
4806
|
+
"type": "string",
|
|
4807
|
+
"enum": [
|
|
4808
|
+
"linear",
|
|
4809
|
+
"smooth"
|
|
4810
|
+
]
|
|
4811
|
+
},
|
|
4686
4812
|
"min": {
|
|
4687
4813
|
"description": "Minimum displacement from authored pose.",
|
|
4688
4814
|
"type": "number"
|
|
@@ -4696,8 +4822,7 @@ Required: `kind`, `spec`
|
|
|
4696
4822
|
"node",
|
|
4697
4823
|
"source",
|
|
4698
4824
|
"property",
|
|
4699
|
-
"axis"
|
|
4700
|
-
"scale"
|
|
4825
|
+
"axis"
|
|
4701
4826
|
],
|
|
4702
4827
|
"additionalProperties": false
|
|
4703
4828
|
},
|
|
@@ -4709,6 +4834,143 @@ Required: `kind`, `spec`
|
|
|
4709
4834
|
"bindings"
|
|
4710
4835
|
],
|
|
4711
4836
|
"additionalProperties": false
|
|
4837
|
+
},
|
|
4838
|
+
"animation": {
|
|
4839
|
+
"description": "External animation setting.",
|
|
4840
|
+
"type": "object",
|
|
4841
|
+
"properties": {
|
|
4842
|
+
"sources": {
|
|
4843
|
+
"description": "Optional component fields overriding or extending host telemetry.",
|
|
4844
|
+
"type": "object",
|
|
4845
|
+
"propertyNames": {
|
|
4846
|
+
"type": "string",
|
|
4847
|
+
"minLength": 1
|
|
4848
|
+
},
|
|
4849
|
+
"additionalProperties": {
|
|
4850
|
+
"type": "object",
|
|
4851
|
+
"properties": {
|
|
4852
|
+
"component": {
|
|
4853
|
+
"type": "string",
|
|
4854
|
+
"minLength": 1,
|
|
4855
|
+
"description": "Component on this same entity."
|
|
4856
|
+
},
|
|
4857
|
+
"path": {
|
|
4858
|
+
"minItems": 1,
|
|
4859
|
+
"type": "array",
|
|
4860
|
+
"items": {
|
|
4861
|
+
"anyOf": [
|
|
4862
|
+
{
|
|
4863
|
+
"type": "string",
|
|
4864
|
+
"minLength": 1
|
|
4865
|
+
},
|
|
4866
|
+
{
|
|
4867
|
+
"type": "integer",
|
|
4868
|
+
"minimum": 0,
|
|
4869
|
+
"maximum": 9007199254740991
|
|
4870
|
+
}
|
|
4871
|
+
]
|
|
4872
|
+
},
|
|
4873
|
+
"description": "Explicit property names or array indices leading to a number or boolean."
|
|
4874
|
+
}
|
|
4875
|
+
},
|
|
4876
|
+
"required": [
|
|
4877
|
+
"component",
|
|
4878
|
+
"path"
|
|
4879
|
+
],
|
|
4880
|
+
"additionalProperties": false
|
|
4881
|
+
}
|
|
4882
|
+
},
|
|
4883
|
+
"bindings": {
|
|
4884
|
+
"type": "array",
|
|
4885
|
+
"items": {
|
|
4886
|
+
"type": "object",
|
|
4887
|
+
"properties": {
|
|
4888
|
+
"node": {
|
|
4889
|
+
"type": "string",
|
|
4890
|
+
"minLength": 1,
|
|
4891
|
+
"description": "Exact loaded GLB node name."
|
|
4892
|
+
},
|
|
4893
|
+
"source": {
|
|
4894
|
+
"type": "string",
|
|
4895
|
+
"minLength": 1,
|
|
4896
|
+
"description": "Named simulation signal."
|
|
4897
|
+
},
|
|
4898
|
+
"property": {
|
|
4899
|
+
"type": "string",
|
|
4900
|
+
"enum": [
|
|
4901
|
+
"rotation",
|
|
4902
|
+
"position"
|
|
4903
|
+
],
|
|
4904
|
+
"description": "Local transform channel."
|
|
4905
|
+
},
|
|
4906
|
+
"axis": {
|
|
4907
|
+
"type": "string",
|
|
4908
|
+
"enum": [
|
|
4909
|
+
"x",
|
|
4910
|
+
"y",
|
|
4911
|
+
"z"
|
|
4912
|
+
],
|
|
4913
|
+
"description": "Local transform axis."
|
|
4914
|
+
},
|
|
4915
|
+
"scale": {
|
|
4916
|
+
"description": "Multiply the signal by this value. Supply this or keys.",
|
|
4917
|
+
"type": "number"
|
|
4918
|
+
},
|
|
4919
|
+
"offset": {
|
|
4920
|
+
"description": "Offset after scaling; default zero.",
|
|
4921
|
+
"type": "number"
|
|
4922
|
+
},
|
|
4923
|
+
"keys": {
|
|
4924
|
+
"description": "Keyframed curve of [signal, displacement] pairs, signals strictly ascending; holds the end values outside them. Supply this or scale.",
|
|
4925
|
+
"minItems": 2,
|
|
4926
|
+
"type": "array",
|
|
4927
|
+
"items": {
|
|
4928
|
+
"type": "array",
|
|
4929
|
+
"prefixItems": [
|
|
4930
|
+
{
|
|
4931
|
+
"type": "number"
|
|
4932
|
+
},
|
|
4933
|
+
{
|
|
4934
|
+
"type": "number"
|
|
4935
|
+
}
|
|
4936
|
+
],
|
|
4937
|
+
"items": false,
|
|
4938
|
+
"minItems": 2,
|
|
4939
|
+
"maxItems": 2
|
|
4940
|
+
}
|
|
4941
|
+
},
|
|
4942
|
+
"ease": {
|
|
4943
|
+
"description": "Interpolation between keys: linear (default), or smooth to ease out of and into every key.",
|
|
4944
|
+
"type": "string",
|
|
4945
|
+
"enum": [
|
|
4946
|
+
"linear",
|
|
4947
|
+
"smooth"
|
|
4948
|
+
]
|
|
4949
|
+
},
|
|
4950
|
+
"min": {
|
|
4951
|
+
"description": "Minimum displacement from authored pose.",
|
|
4952
|
+
"type": "number"
|
|
4953
|
+
},
|
|
4954
|
+
"max": {
|
|
4955
|
+
"description": "Maximum displacement from authored pose.",
|
|
4956
|
+
"type": "number"
|
|
4957
|
+
}
|
|
4958
|
+
},
|
|
4959
|
+
"required": [
|
|
4960
|
+
"node",
|
|
4961
|
+
"source",
|
|
4962
|
+
"property",
|
|
4963
|
+
"axis"
|
|
4964
|
+
],
|
|
4965
|
+
"additionalProperties": false
|
|
4966
|
+
},
|
|
4967
|
+
"description": "Per-model node channels and their signal calibration."
|
|
4968
|
+
}
|
|
4969
|
+
},
|
|
4970
|
+
"required": [
|
|
4971
|
+
"bindings"
|
|
4972
|
+
],
|
|
4973
|
+
"additionalProperties": false
|
|
4712
4974
|
}
|
|
4713
4975
|
},
|
|
4714
4976
|
"required": [
|
|
@@ -4910,26 +5172,56 @@ Required: `velocity`, `yaw`, `pitch`, `roll`, `pitchRate`, `rollRate`, `rpm`, `r
|
|
|
4910
5172
|
},
|
|
4911
5173
|
"yaw": {
|
|
4912
5174
|
"type": "number",
|
|
4913
|
-
"description": "Heading in radians, zero +Z."
|
|
5175
|
+
"description": "Heading in radians, zero +Z. Airplanes report it from transform.rot, which is authoritative."
|
|
4914
5176
|
},
|
|
4915
5177
|
"pitch": {
|
|
4916
5178
|
"type": "number",
|
|
4917
|
-
"description": "Nose-up angle in radians."
|
|
5179
|
+
"description": "Nose-up angle in radians (±π/2 at the vertical)."
|
|
4918
5180
|
},
|
|
4919
5181
|
"roll": {
|
|
4920
5182
|
"type": "number",
|
|
4921
|
-
"description": "Right bank angle in radians."
|
|
5183
|
+
"description": "Right bank angle in radians; ±π inverted."
|
|
4922
5184
|
},
|
|
4923
5185
|
"pitchRate": {
|
|
4924
5186
|
"type": "number",
|
|
4925
|
-
"description": "
|
|
5187
|
+
"description": "Body pitch rate, nose up, in radians per second."
|
|
4926
5188
|
},
|
|
4927
5189
|
"rollRate": {
|
|
4928
5190
|
"type": "number",
|
|
4929
|
-
"description": "
|
|
5191
|
+
"description": "Body roll rate, right wing down, in radians per second."
|
|
5192
|
+
},
|
|
5193
|
+
"yawRate": {
|
|
5194
|
+
"description": "Airplane body yaw rate about local +Y (nose left), in rad/s.",
|
|
5195
|
+
"type": "number"
|
|
5196
|
+
},
|
|
5197
|
+
"elevator": {
|
|
5198
|
+
"description": "Airplane elevator position after its travel limit, -1..1.",
|
|
5199
|
+
"type": "number",
|
|
5200
|
+
"minimum": -1,
|
|
5201
|
+
"maximum": 1
|
|
5202
|
+
},
|
|
5203
|
+
"gearPosition": {
|
|
5204
|
+
"description": "Airplane landing gear: 0 up and locked, 1 down and locked, between them in transit. Starts at the commanded position.",
|
|
5205
|
+
"type": "number",
|
|
5206
|
+
"minimum": 0,
|
|
5207
|
+
"maximum": 1
|
|
5208
|
+
},
|
|
5209
|
+
"flapPosition": {
|
|
5210
|
+
"description": "Airplane flaps as a fraction of full travel, 0..1. Starts at the commanded position.",
|
|
5211
|
+
"type": "number",
|
|
5212
|
+
"minimum": 0,
|
|
5213
|
+
"maximum": 1
|
|
5214
|
+
},
|
|
5215
|
+
"pitchTrim": {
|
|
5216
|
+
"description": "Airplane trimmed angle of attack in radians, flown with the stick centered.",
|
|
5217
|
+
"type": "number"
|
|
4930
5218
|
},
|
|
4931
|
-
"
|
|
4932
|
-
"description": "
|
|
5219
|
+
"sideslip": {
|
|
5220
|
+
"description": "Airplane sideslip in radians, positive with the relative wind from the left.",
|
|
5221
|
+
"type": "number"
|
|
5222
|
+
},
|
|
5223
|
+
"loadFactor": {
|
|
5224
|
+
"description": "Airplane aerodynamic and thrust load along its up axis, in g.",
|
|
4933
5225
|
"type": "number"
|
|
4934
5226
|
},
|
|
4935
5227
|
"engines": {
|
|
@@ -5038,21 +5330,42 @@ Required: `velocity`, `yaw`, `pitch`, `roll`, `pitchRate`, `rollRate`, `rpm`, `r
|
|
|
5038
5330
|
|
|
5039
5331
|
</details>
|
|
5040
5332
|
|
|
5041
|
-
## Owner: kernel/
|
|
5333
|
+
## Owner: kernel/boats
|
|
5042
5334
|
|
|
5043
|
-
### `
|
|
5335
|
+
### `boat`
|
|
5044
5336
|
|
|
5045
|
-
|
|
5337
|
+
Waterline-aligned powered hull with data-driven handling and shared seats.
|
|
5046
5338
|
|
|
5047
|
-
Required: `
|
|
5339
|
+
Required: `kind`, `spec`, `visual`
|
|
5048
5340
|
|
|
5049
5341
|
```json
|
|
5050
5342
|
{
|
|
5051
|
-
"
|
|
5052
|
-
"
|
|
5053
|
-
|
|
5054
|
-
|
|
5055
|
-
|
|
5343
|
+
"kind": "demo.boat",
|
|
5344
|
+
"spec": {
|
|
5345
|
+
"label": "Launch",
|
|
5346
|
+
"length": 6,
|
|
5347
|
+
"width": 2.4,
|
|
5348
|
+
"height": 2,
|
|
5349
|
+
"draft": 0.5,
|
|
5350
|
+
"mass": 1200,
|
|
5351
|
+
"thrust": 3600,
|
|
5352
|
+
"maxSpeed": 14,
|
|
5353
|
+
"reverseSpeed": 3,
|
|
5354
|
+
"turnRate": 0.5,
|
|
5355
|
+
"turnResponse": 1,
|
|
5356
|
+
"lateralDrag": 2,
|
|
5357
|
+
"buoyancyFrequency": 1,
|
|
5358
|
+
"driverEye": [
|
|
5359
|
+
0.5,
|
|
5360
|
+
1.2,
|
|
5361
|
+
0
|
|
5362
|
+
]
|
|
5363
|
+
},
|
|
5364
|
+
"visual": {
|
|
5365
|
+
"wheelNodes": [],
|
|
5366
|
+
"frontWheelNodes": [],
|
|
5367
|
+
"paintMaterial": "hull"
|
|
5368
|
+
}
|
|
5056
5369
|
}
|
|
5057
5370
|
```
|
|
5058
5371
|
|
|
@@ -5064,17 +5377,740 @@ Required: `speed`, `jumpSpeed`, `gravity`, `vy`, `grounded`
|
|
|
5064
5377
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
5065
5378
|
"type": "object",
|
|
5066
5379
|
"properties": {
|
|
5067
|
-
"
|
|
5068
|
-
"type": "
|
|
5069
|
-
"
|
|
5070
|
-
|
|
5071
|
-
"jumpSpeed": {
|
|
5072
|
-
"type": "number",
|
|
5073
|
-
"description": "Initial upward velocity in meters per second applied when jumping from the ground."
|
|
5380
|
+
"kind": {
|
|
5381
|
+
"type": "string",
|
|
5382
|
+
"minLength": 1,
|
|
5383
|
+
"description": "Stable external vessel entity/type id."
|
|
5074
5384
|
},
|
|
5075
|
-
"
|
|
5076
|
-
"type": "
|
|
5077
|
-
"
|
|
5385
|
+
"spec": {
|
|
5386
|
+
"type": "object",
|
|
5387
|
+
"properties": {
|
|
5388
|
+
"label": {
|
|
5389
|
+
"type": "string",
|
|
5390
|
+
"minLength": 1,
|
|
5391
|
+
"description": "Human-readable vessel name."
|
|
5392
|
+
},
|
|
5393
|
+
"length": {
|
|
5394
|
+
"type": "number",
|
|
5395
|
+
"exclusiveMinimum": 0,
|
|
5396
|
+
"description": "Hull length along Z in meters."
|
|
5397
|
+
},
|
|
5398
|
+
"width": {
|
|
5399
|
+
"type": "number",
|
|
5400
|
+
"exclusiveMinimum": 0,
|
|
5401
|
+
"description": "Hull width along X in meters."
|
|
5402
|
+
},
|
|
5403
|
+
"height": {
|
|
5404
|
+
"type": "number",
|
|
5405
|
+
"exclusiveMinimum": 0,
|
|
5406
|
+
"description": "Vessel height in meters."
|
|
5407
|
+
},
|
|
5408
|
+
"draft": {
|
|
5409
|
+
"type": "number",
|
|
5410
|
+
"exclusiveMinimum": 0,
|
|
5411
|
+
"description": "Minimum water depth in meters."
|
|
5412
|
+
},
|
|
5413
|
+
"mass": {
|
|
5414
|
+
"type": "number",
|
|
5415
|
+
"exclusiveMinimum": 0,
|
|
5416
|
+
"description": "Mass in kg."
|
|
5417
|
+
},
|
|
5418
|
+
"thrust": {
|
|
5419
|
+
"type": "number",
|
|
5420
|
+
"exclusiveMinimum": 0,
|
|
5421
|
+
"description": "Forward propeller thrust in newtons."
|
|
5422
|
+
},
|
|
5423
|
+
"maxSpeed": {
|
|
5424
|
+
"type": "number",
|
|
5425
|
+
"exclusiveMinimum": 0,
|
|
5426
|
+
"description": "Maximum forward speed through water in m/s."
|
|
5427
|
+
},
|
|
5428
|
+
"reverseSpeed": {
|
|
5429
|
+
"type": "number",
|
|
5430
|
+
"exclusiveMinimum": 0,
|
|
5431
|
+
"description": "Maximum reverse speed through water in m/s."
|
|
5432
|
+
},
|
|
5433
|
+
"turnRate": {
|
|
5434
|
+
"type": "number",
|
|
5435
|
+
"exclusiveMinimum": 0,
|
|
5436
|
+
"description": "Maximum cruise yaw rate in radians per second."
|
|
5437
|
+
},
|
|
5438
|
+
"turnResponse": {
|
|
5439
|
+
"type": "number",
|
|
5440
|
+
"exclusiveMinimum": 0,
|
|
5441
|
+
"description": "Time to build or lose yaw rate in seconds."
|
|
5442
|
+
},
|
|
5443
|
+
"lateralDrag": {
|
|
5444
|
+
"type": "number",
|
|
5445
|
+
"exclusiveMinimum": 0,
|
|
5446
|
+
"description": "Lateral water resistance per second."
|
|
5447
|
+
},
|
|
5448
|
+
"buoyancyFrequency": {
|
|
5449
|
+
"type": "number",
|
|
5450
|
+
"exclusiveMinimum": 0,
|
|
5451
|
+
"maximum": 4,
|
|
5452
|
+
"description": "Buoyancy spring frequency in hertz."
|
|
5453
|
+
},
|
|
5454
|
+
"driverEye": {
|
|
5455
|
+
"type": "array",
|
|
5456
|
+
"prefixItems": [
|
|
5457
|
+
{
|
|
5458
|
+
"type": "number"
|
|
5459
|
+
},
|
|
5460
|
+
{
|
|
5461
|
+
"type": "number"
|
|
5462
|
+
},
|
|
5463
|
+
{
|
|
5464
|
+
"type": "number"
|
|
5465
|
+
}
|
|
5466
|
+
],
|
|
5467
|
+
"items": false,
|
|
5468
|
+
"minItems": 3,
|
|
5469
|
+
"maxItems": 3,
|
|
5470
|
+
"description": "Helm eye position in local meters."
|
|
5471
|
+
}
|
|
5472
|
+
},
|
|
5473
|
+
"required": [
|
|
5474
|
+
"label",
|
|
5475
|
+
"length",
|
|
5476
|
+
"width",
|
|
5477
|
+
"height",
|
|
5478
|
+
"draft",
|
|
5479
|
+
"mass",
|
|
5480
|
+
"thrust",
|
|
5481
|
+
"maxSpeed",
|
|
5482
|
+
"reverseSpeed",
|
|
5483
|
+
"turnRate",
|
|
5484
|
+
"turnResponse",
|
|
5485
|
+
"lateralDrag",
|
|
5486
|
+
"buoyancyFrequency",
|
|
5487
|
+
"driverEye"
|
|
5488
|
+
],
|
|
5489
|
+
"additionalProperties": false,
|
|
5490
|
+
"description": "Complete hull dimensions and handling configuration."
|
|
5491
|
+
},
|
|
5492
|
+
"visual": {
|
|
5493
|
+
"type": "object",
|
|
5494
|
+
"properties": {
|
|
5495
|
+
"wheelNodes": {
|
|
5496
|
+
"type": "array",
|
|
5497
|
+
"items": {
|
|
5498
|
+
"type": "string",
|
|
5499
|
+
"minLength": 1
|
|
5500
|
+
},
|
|
5501
|
+
"description": "Wheel nodes; empty for ordinary hulls."
|
|
5502
|
+
},
|
|
5503
|
+
"frontWheelNodes": {
|
|
5504
|
+
"type": "array",
|
|
5505
|
+
"items": {
|
|
5506
|
+
"type": "string",
|
|
5507
|
+
"minLength": 1
|
|
5508
|
+
},
|
|
5509
|
+
"description": "Steering wheel nodes; usually empty."
|
|
5510
|
+
},
|
|
5511
|
+
"steeringWheelNode": {
|
|
5512
|
+
"description": "External steeringWheelNode setting.",
|
|
5513
|
+
"type": "string",
|
|
5514
|
+
"minLength": 1
|
|
5515
|
+
},
|
|
5516
|
+
"paintMaterial": {
|
|
5517
|
+
"type": "string",
|
|
5518
|
+
"minLength": 1,
|
|
5519
|
+
"description": "External paintMaterial setting."
|
|
5520
|
+
},
|
|
5521
|
+
"interior": {
|
|
5522
|
+
"description": "External interior setting.",
|
|
5523
|
+
"type": "object",
|
|
5524
|
+
"properties": {
|
|
5525
|
+
"nodes": {
|
|
5526
|
+
"minItems": 1,
|
|
5527
|
+
"type": "array",
|
|
5528
|
+
"items": {
|
|
5529
|
+
"type": "string",
|
|
5530
|
+
"minLength": 1
|
|
5531
|
+
},
|
|
5532
|
+
"description": "Cabin nodes in the same exterior/interior GLB."
|
|
5533
|
+
},
|
|
5534
|
+
"sources": {
|
|
5535
|
+
"description": "Optional component fields overriding or extending host telemetry.",
|
|
5536
|
+
"type": "object",
|
|
5537
|
+
"propertyNames": {
|
|
5538
|
+
"type": "string",
|
|
5539
|
+
"minLength": 1
|
|
5540
|
+
},
|
|
5541
|
+
"additionalProperties": {
|
|
5542
|
+
"type": "object",
|
|
5543
|
+
"properties": {
|
|
5544
|
+
"component": {
|
|
5545
|
+
"type": "string",
|
|
5546
|
+
"minLength": 1,
|
|
5547
|
+
"description": "Component on this same entity."
|
|
5548
|
+
},
|
|
5549
|
+
"path": {
|
|
5550
|
+
"minItems": 1,
|
|
5551
|
+
"type": "array",
|
|
5552
|
+
"items": {
|
|
5553
|
+
"anyOf": [
|
|
5554
|
+
{
|
|
5555
|
+
"type": "string",
|
|
5556
|
+
"minLength": 1
|
|
5557
|
+
},
|
|
5558
|
+
{
|
|
5559
|
+
"type": "integer",
|
|
5560
|
+
"minimum": 0,
|
|
5561
|
+
"maximum": 9007199254740991
|
|
5562
|
+
}
|
|
5563
|
+
]
|
|
5564
|
+
},
|
|
5565
|
+
"description": "Explicit property names or array indices leading to a number or boolean."
|
|
5566
|
+
}
|
|
5567
|
+
},
|
|
5568
|
+
"required": [
|
|
5569
|
+
"component",
|
|
5570
|
+
"path"
|
|
5571
|
+
],
|
|
5572
|
+
"additionalProperties": false
|
|
5573
|
+
}
|
|
5574
|
+
},
|
|
5575
|
+
"bindings": {
|
|
5576
|
+
"type": "array",
|
|
5577
|
+
"items": {
|
|
5578
|
+
"type": "object",
|
|
5579
|
+
"properties": {
|
|
5580
|
+
"node": {
|
|
5581
|
+
"type": "string",
|
|
5582
|
+
"minLength": 1,
|
|
5583
|
+
"description": "Exact loaded GLB node name."
|
|
5584
|
+
},
|
|
5585
|
+
"source": {
|
|
5586
|
+
"type": "string",
|
|
5587
|
+
"minLength": 1,
|
|
5588
|
+
"description": "Named simulation signal."
|
|
5589
|
+
},
|
|
5590
|
+
"property": {
|
|
5591
|
+
"type": "string",
|
|
5592
|
+
"enum": [
|
|
5593
|
+
"rotation",
|
|
5594
|
+
"position"
|
|
5595
|
+
],
|
|
5596
|
+
"description": "Local transform channel."
|
|
5597
|
+
},
|
|
5598
|
+
"axis": {
|
|
5599
|
+
"type": "string",
|
|
5600
|
+
"enum": [
|
|
5601
|
+
"x",
|
|
5602
|
+
"y",
|
|
5603
|
+
"z"
|
|
5604
|
+
],
|
|
5605
|
+
"description": "Local transform axis."
|
|
5606
|
+
},
|
|
5607
|
+
"scale": {
|
|
5608
|
+
"description": "Multiply the signal by this value. Supply this or keys.",
|
|
5609
|
+
"type": "number"
|
|
5610
|
+
},
|
|
5611
|
+
"offset": {
|
|
5612
|
+
"description": "Offset after scaling; default zero.",
|
|
5613
|
+
"type": "number"
|
|
5614
|
+
},
|
|
5615
|
+
"keys": {
|
|
5616
|
+
"description": "Keyframed curve of [signal, displacement] pairs, signals strictly ascending; holds the end values outside them. Supply this or scale.",
|
|
5617
|
+
"minItems": 2,
|
|
5618
|
+
"type": "array",
|
|
5619
|
+
"items": {
|
|
5620
|
+
"type": "array",
|
|
5621
|
+
"prefixItems": [
|
|
5622
|
+
{
|
|
5623
|
+
"type": "number"
|
|
5624
|
+
},
|
|
5625
|
+
{
|
|
5626
|
+
"type": "number"
|
|
5627
|
+
}
|
|
5628
|
+
],
|
|
5629
|
+
"items": false,
|
|
5630
|
+
"minItems": 2,
|
|
5631
|
+
"maxItems": 2
|
|
5632
|
+
}
|
|
5633
|
+
},
|
|
5634
|
+
"ease": {
|
|
5635
|
+
"description": "Interpolation between keys: linear (default), or smooth to ease out of and into every key.",
|
|
5636
|
+
"type": "string",
|
|
5637
|
+
"enum": [
|
|
5638
|
+
"linear",
|
|
5639
|
+
"smooth"
|
|
5640
|
+
]
|
|
5641
|
+
},
|
|
5642
|
+
"min": {
|
|
5643
|
+
"description": "Minimum displacement from authored pose.",
|
|
5644
|
+
"type": "number"
|
|
5645
|
+
},
|
|
5646
|
+
"max": {
|
|
5647
|
+
"description": "Maximum displacement from authored pose.",
|
|
5648
|
+
"type": "number"
|
|
5649
|
+
}
|
|
5650
|
+
},
|
|
5651
|
+
"required": [
|
|
5652
|
+
"node",
|
|
5653
|
+
"source",
|
|
5654
|
+
"property",
|
|
5655
|
+
"axis"
|
|
5656
|
+
],
|
|
5657
|
+
"additionalProperties": false
|
|
5658
|
+
},
|
|
5659
|
+
"description": "Per-model node channels and their signal calibration."
|
|
5660
|
+
}
|
|
5661
|
+
},
|
|
5662
|
+
"required": [
|
|
5663
|
+
"nodes",
|
|
5664
|
+
"bindings"
|
|
5665
|
+
],
|
|
5666
|
+
"additionalProperties": false
|
|
5667
|
+
},
|
|
5668
|
+
"animation": {
|
|
5669
|
+
"description": "External animation setting.",
|
|
5670
|
+
"type": "object",
|
|
5671
|
+
"properties": {
|
|
5672
|
+
"sources": {
|
|
5673
|
+
"description": "Optional component fields overriding or extending host telemetry.",
|
|
5674
|
+
"type": "object",
|
|
5675
|
+
"propertyNames": {
|
|
5676
|
+
"type": "string",
|
|
5677
|
+
"minLength": 1
|
|
5678
|
+
},
|
|
5679
|
+
"additionalProperties": {
|
|
5680
|
+
"type": "object",
|
|
5681
|
+
"properties": {
|
|
5682
|
+
"component": {
|
|
5683
|
+
"type": "string",
|
|
5684
|
+
"minLength": 1,
|
|
5685
|
+
"description": "Component on this same entity."
|
|
5686
|
+
},
|
|
5687
|
+
"path": {
|
|
5688
|
+
"minItems": 1,
|
|
5689
|
+
"type": "array",
|
|
5690
|
+
"items": {
|
|
5691
|
+
"anyOf": [
|
|
5692
|
+
{
|
|
5693
|
+
"type": "string",
|
|
5694
|
+
"minLength": 1
|
|
5695
|
+
},
|
|
5696
|
+
{
|
|
5697
|
+
"type": "integer",
|
|
5698
|
+
"minimum": 0,
|
|
5699
|
+
"maximum": 9007199254740991
|
|
5700
|
+
}
|
|
5701
|
+
]
|
|
5702
|
+
},
|
|
5703
|
+
"description": "Explicit property names or array indices leading to a number or boolean."
|
|
5704
|
+
}
|
|
5705
|
+
},
|
|
5706
|
+
"required": [
|
|
5707
|
+
"component",
|
|
5708
|
+
"path"
|
|
5709
|
+
],
|
|
5710
|
+
"additionalProperties": false
|
|
5711
|
+
}
|
|
5712
|
+
},
|
|
5713
|
+
"bindings": {
|
|
5714
|
+
"type": "array",
|
|
5715
|
+
"items": {
|
|
5716
|
+
"type": "object",
|
|
5717
|
+
"properties": {
|
|
5718
|
+
"node": {
|
|
5719
|
+
"type": "string",
|
|
5720
|
+
"minLength": 1,
|
|
5721
|
+
"description": "Exact loaded GLB node name."
|
|
5722
|
+
},
|
|
5723
|
+
"source": {
|
|
5724
|
+
"type": "string",
|
|
5725
|
+
"minLength": 1,
|
|
5726
|
+
"description": "Named simulation signal."
|
|
5727
|
+
},
|
|
5728
|
+
"property": {
|
|
5729
|
+
"type": "string",
|
|
5730
|
+
"enum": [
|
|
5731
|
+
"rotation",
|
|
5732
|
+
"position"
|
|
5733
|
+
],
|
|
5734
|
+
"description": "Local transform channel."
|
|
5735
|
+
},
|
|
5736
|
+
"axis": {
|
|
5737
|
+
"type": "string",
|
|
5738
|
+
"enum": [
|
|
5739
|
+
"x",
|
|
5740
|
+
"y",
|
|
5741
|
+
"z"
|
|
5742
|
+
],
|
|
5743
|
+
"description": "Local transform axis."
|
|
5744
|
+
},
|
|
5745
|
+
"scale": {
|
|
5746
|
+
"description": "Multiply the signal by this value. Supply this or keys.",
|
|
5747
|
+
"type": "number"
|
|
5748
|
+
},
|
|
5749
|
+
"offset": {
|
|
5750
|
+
"description": "Offset after scaling; default zero.",
|
|
5751
|
+
"type": "number"
|
|
5752
|
+
},
|
|
5753
|
+
"keys": {
|
|
5754
|
+
"description": "Keyframed curve of [signal, displacement] pairs, signals strictly ascending; holds the end values outside them. Supply this or scale.",
|
|
5755
|
+
"minItems": 2,
|
|
5756
|
+
"type": "array",
|
|
5757
|
+
"items": {
|
|
5758
|
+
"type": "array",
|
|
5759
|
+
"prefixItems": [
|
|
5760
|
+
{
|
|
5761
|
+
"type": "number"
|
|
5762
|
+
},
|
|
5763
|
+
{
|
|
5764
|
+
"type": "number"
|
|
5765
|
+
}
|
|
5766
|
+
],
|
|
5767
|
+
"items": false,
|
|
5768
|
+
"minItems": 2,
|
|
5769
|
+
"maxItems": 2
|
|
5770
|
+
}
|
|
5771
|
+
},
|
|
5772
|
+
"ease": {
|
|
5773
|
+
"description": "Interpolation between keys: linear (default), or smooth to ease out of and into every key.",
|
|
5774
|
+
"type": "string",
|
|
5775
|
+
"enum": [
|
|
5776
|
+
"linear",
|
|
5777
|
+
"smooth"
|
|
5778
|
+
]
|
|
5779
|
+
},
|
|
5780
|
+
"min": {
|
|
5781
|
+
"description": "Minimum displacement from authored pose.",
|
|
5782
|
+
"type": "number"
|
|
5783
|
+
},
|
|
5784
|
+
"max": {
|
|
5785
|
+
"description": "Maximum displacement from authored pose.",
|
|
5786
|
+
"type": "number"
|
|
5787
|
+
}
|
|
5788
|
+
},
|
|
5789
|
+
"required": [
|
|
5790
|
+
"node",
|
|
5791
|
+
"source",
|
|
5792
|
+
"property",
|
|
5793
|
+
"axis"
|
|
5794
|
+
],
|
|
5795
|
+
"additionalProperties": false
|
|
5796
|
+
},
|
|
5797
|
+
"description": "Per-model node channels and their signal calibration."
|
|
5798
|
+
}
|
|
5799
|
+
},
|
|
5800
|
+
"required": [
|
|
5801
|
+
"bindings"
|
|
5802
|
+
],
|
|
5803
|
+
"additionalProperties": false
|
|
5804
|
+
}
|
|
5805
|
+
},
|
|
5806
|
+
"required": [
|
|
5807
|
+
"wheelNodes",
|
|
5808
|
+
"frontWheelNodes",
|
|
5809
|
+
"paintMaterial"
|
|
5810
|
+
],
|
|
5811
|
+
"additionalProperties": false,
|
|
5812
|
+
"description": "Named GLB nodes, material and animation bindings."
|
|
5813
|
+
},
|
|
5814
|
+
"color": {
|
|
5815
|
+
"description": "Optional hull paint override.",
|
|
5816
|
+
"type": "string"
|
|
5817
|
+
}
|
|
5818
|
+
},
|
|
5819
|
+
"required": [
|
|
5820
|
+
"kind",
|
|
5821
|
+
"spec",
|
|
5822
|
+
"visual"
|
|
5823
|
+
],
|
|
5824
|
+
"additionalProperties": false
|
|
5825
|
+
}
|
|
5826
|
+
```
|
|
5827
|
+
|
|
5828
|
+
</details>
|
|
5829
|
+
|
|
5830
|
+
### `boatInput`
|
|
5831
|
+
|
|
5832
|
+
Helm intent: signed thrust, steering and low-speed anchor. Only the driver controls it.
|
|
5833
|
+
|
|
5834
|
+
Required: `throttle`, `steering`, `anchor`
|
|
5835
|
+
|
|
5836
|
+
```json
|
|
5837
|
+
{
|
|
5838
|
+
"throttle": 0,
|
|
5839
|
+
"steering": 0,
|
|
5840
|
+
"anchor": true
|
|
5841
|
+
}
|
|
5842
|
+
```
|
|
5843
|
+
|
|
5844
|
+
<details>
|
|
5845
|
+
<summary>JSON Schema</summary>
|
|
5846
|
+
|
|
5847
|
+
```json
|
|
5848
|
+
{
|
|
5849
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
5850
|
+
"type": "object",
|
|
5851
|
+
"properties": {
|
|
5852
|
+
"throttle": {
|
|
5853
|
+
"type": "number",
|
|
5854
|
+
"minimum": -1,
|
|
5855
|
+
"maximum": 1,
|
|
5856
|
+
"description": "Signed propeller power; negative reverses thrust."
|
|
5857
|
+
},
|
|
5858
|
+
"steering": {
|
|
5859
|
+
"type": "number",
|
|
5860
|
+
"minimum": -1,
|
|
5861
|
+
"maximum": 1,
|
|
5862
|
+
"description": "Signed helm input; positive turns right."
|
|
5863
|
+
},
|
|
5864
|
+
"anchor": {
|
|
5865
|
+
"type": "boolean",
|
|
5866
|
+
"description": "Request the low-speed anchor; release to apply thrust."
|
|
5867
|
+
}
|
|
5868
|
+
},
|
|
5869
|
+
"required": [
|
|
5870
|
+
"throttle",
|
|
5871
|
+
"steering",
|
|
5872
|
+
"anchor"
|
|
5873
|
+
],
|
|
5874
|
+
"additionalProperties": false
|
|
5875
|
+
}
|
|
5876
|
+
```
|
|
5877
|
+
|
|
5878
|
+
</details>
|
|
5879
|
+
|
|
5880
|
+
### `boatState`
|
|
5881
|
+
|
|
5882
|
+
Snapshot-safe hull motion, buoyancy and anchoring; owned by installBoats.
|
|
5883
|
+
|
|
5884
|
+
Required: `speed`, `lateralSpeed`, `velocity`, `yaw`, `yawRate`, `steer`, `pitch`, `roll`, `vy`, `anchored`, `grounded`, `waitingForWater`
|
|
5885
|
+
|
|
5886
|
+
```json
|
|
5887
|
+
{
|
|
5888
|
+
"speed": 0,
|
|
5889
|
+
"lateralSpeed": 0,
|
|
5890
|
+
"velocity": [
|
|
5891
|
+
0,
|
|
5892
|
+
0
|
|
5893
|
+
],
|
|
5894
|
+
"yaw": 0,
|
|
5895
|
+
"yawRate": 0,
|
|
5896
|
+
"steer": 0,
|
|
5897
|
+
"pitch": 0,
|
|
5898
|
+
"roll": 0,
|
|
5899
|
+
"vy": 0,
|
|
5900
|
+
"anchored": true,
|
|
5901
|
+
"grounded": false,
|
|
5902
|
+
"waitingForWater": false
|
|
5903
|
+
}
|
|
5904
|
+
```
|
|
5905
|
+
|
|
5906
|
+
<details>
|
|
5907
|
+
<summary>JSON Schema</summary>
|
|
5908
|
+
|
|
5909
|
+
```json
|
|
5910
|
+
{
|
|
5911
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
5912
|
+
"type": "object",
|
|
5913
|
+
"properties": {
|
|
5914
|
+
"speed": {
|
|
5915
|
+
"type": "number",
|
|
5916
|
+
"description": "Forward speed through water in m/s."
|
|
5917
|
+
},
|
|
5918
|
+
"lateralSpeed": {
|
|
5919
|
+
"type": "number",
|
|
5920
|
+
"description": "Lateral speed through water in m/s."
|
|
5921
|
+
},
|
|
5922
|
+
"velocity": {
|
|
5923
|
+
"type": "array",
|
|
5924
|
+
"prefixItems": [
|
|
5925
|
+
{
|
|
5926
|
+
"type": "number"
|
|
5927
|
+
},
|
|
5928
|
+
{
|
|
5929
|
+
"type": "number"
|
|
5930
|
+
}
|
|
5931
|
+
],
|
|
5932
|
+
"items": false,
|
|
5933
|
+
"minItems": 2,
|
|
5934
|
+
"maxItems": 2,
|
|
5935
|
+
"description": "World velocity [east, south] including current in m/s."
|
|
5936
|
+
},
|
|
5937
|
+
"yaw": {
|
|
5938
|
+
"type": "number",
|
|
5939
|
+
"description": "Heading about +Y in radians."
|
|
5940
|
+
},
|
|
5941
|
+
"yawRate": {
|
|
5942
|
+
"type": "number",
|
|
5943
|
+
"description": "Yaw rate in radians per second."
|
|
5944
|
+
},
|
|
5945
|
+
"steer": {
|
|
5946
|
+
"type": "number",
|
|
5947
|
+
"description": "Smoothed helm input in [-1, 1]."
|
|
5948
|
+
},
|
|
5949
|
+
"pitch": {
|
|
5950
|
+
"type": "number",
|
|
5951
|
+
"description": "Hull pitch in radians."
|
|
5952
|
+
},
|
|
5953
|
+
"roll": {
|
|
5954
|
+
"type": "number",
|
|
5955
|
+
"description": "Hull roll in radians."
|
|
5956
|
+
},
|
|
5957
|
+
"vy": {
|
|
5958
|
+
"type": "number",
|
|
5959
|
+
"description": "Vertical buoyancy velocity in m/s."
|
|
5960
|
+
},
|
|
5961
|
+
"anchored": {
|
|
5962
|
+
"type": "boolean",
|
|
5963
|
+
"description": "Whether the low-speed anchor is engaged."
|
|
5964
|
+
},
|
|
5965
|
+
"grounded": {
|
|
5966
|
+
"type": "boolean",
|
|
5967
|
+
"description": "Whether the hull is stopped by insufficient depth."
|
|
5968
|
+
},
|
|
5969
|
+
"waitingForWater": {
|
|
5970
|
+
"type": "boolean",
|
|
5971
|
+
"description": "Whether motion is paused for unavailable water data."
|
|
5972
|
+
}
|
|
5973
|
+
},
|
|
5974
|
+
"required": [
|
|
5975
|
+
"speed",
|
|
5976
|
+
"lateralSpeed",
|
|
5977
|
+
"velocity",
|
|
5978
|
+
"yaw",
|
|
5979
|
+
"yawRate",
|
|
5980
|
+
"steer",
|
|
5981
|
+
"pitch",
|
|
5982
|
+
"roll",
|
|
5983
|
+
"vy",
|
|
5984
|
+
"anchored",
|
|
5985
|
+
"grounded",
|
|
5986
|
+
"waitingForWater"
|
|
5987
|
+
],
|
|
5988
|
+
"additionalProperties": false
|
|
5989
|
+
}
|
|
5990
|
+
```
|
|
5991
|
+
|
|
5992
|
+
</details>
|
|
5993
|
+
|
|
5994
|
+
### `water`
|
|
5995
|
+
|
|
5996
|
+
Deterministic swells and current for boats; heights and coverage come from the host water field.
|
|
5997
|
+
|
|
5998
|
+
Required: none
|
|
5999
|
+
|
|
6000
|
+
```json
|
|
6001
|
+
{
|
|
6002
|
+
"waves": [],
|
|
6003
|
+
"current": [
|
|
6004
|
+
0,
|
|
6005
|
+
0
|
|
6006
|
+
]
|
|
6007
|
+
}
|
|
6008
|
+
```
|
|
6009
|
+
|
|
6010
|
+
<details>
|
|
6011
|
+
<summary>JSON Schema</summary>
|
|
6012
|
+
|
|
6013
|
+
```json
|
|
6014
|
+
{
|
|
6015
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
6016
|
+
"type": "object",
|
|
6017
|
+
"properties": {
|
|
6018
|
+
"waves": {
|
|
6019
|
+
"description": "Up to eight travelling swells added to the water surface.",
|
|
6020
|
+
"maxItems": 8,
|
|
6021
|
+
"type": "array",
|
|
6022
|
+
"items": {
|
|
6023
|
+
"type": "object",
|
|
6024
|
+
"properties": {
|
|
6025
|
+
"amplitude": {
|
|
6026
|
+
"type": "number",
|
|
6027
|
+
"minimum": 0,
|
|
6028
|
+
"maximum": 10,
|
|
6029
|
+
"description": "Swell amplitude in meters."
|
|
6030
|
+
},
|
|
6031
|
+
"wavelength": {
|
|
6032
|
+
"type": "number",
|
|
6033
|
+
"minimum": 1,
|
|
6034
|
+
"description": "Wavelength in meters."
|
|
6035
|
+
},
|
|
6036
|
+
"direction": {
|
|
6037
|
+
"type": "number",
|
|
6038
|
+
"description": "Travel direction in radians; zero is +Z."
|
|
6039
|
+
},
|
|
6040
|
+
"speed": {
|
|
6041
|
+
"type": "number",
|
|
6042
|
+
"minimum": 0,
|
|
6043
|
+
"description": "Wave propagation speed in m/s."
|
|
6044
|
+
}
|
|
6045
|
+
},
|
|
6046
|
+
"required": [
|
|
6047
|
+
"amplitude",
|
|
6048
|
+
"wavelength",
|
|
6049
|
+
"direction",
|
|
6050
|
+
"speed"
|
|
6051
|
+
],
|
|
6052
|
+
"additionalProperties": false
|
|
6053
|
+
}
|
|
6054
|
+
},
|
|
6055
|
+
"current": {
|
|
6056
|
+
"description": "Current [east, south] in m/s.",
|
|
6057
|
+
"type": "array",
|
|
6058
|
+
"prefixItems": [
|
|
6059
|
+
{
|
|
6060
|
+
"type": "number"
|
|
6061
|
+
},
|
|
6062
|
+
{
|
|
6063
|
+
"type": "number"
|
|
6064
|
+
}
|
|
6065
|
+
],
|
|
6066
|
+
"items": false,
|
|
6067
|
+
"minItems": 2,
|
|
6068
|
+
"maxItems": 2
|
|
6069
|
+
}
|
|
6070
|
+
},
|
|
6071
|
+
"additionalProperties": false
|
|
6072
|
+
}
|
|
6073
|
+
```
|
|
6074
|
+
|
|
6075
|
+
</details>
|
|
6076
|
+
|
|
6077
|
+
## Owner: kernel/character
|
|
6078
|
+
|
|
6079
|
+
### `character`
|
|
6080
|
+
|
|
6081
|
+
Kinematic character controller state (speed/jump/gravity + kernel-owned vy/grounded).
|
|
6082
|
+
|
|
6083
|
+
Required: `speed`, `jumpSpeed`, `gravity`, `vy`, `grounded`
|
|
6084
|
+
|
|
6085
|
+
```json
|
|
6086
|
+
{
|
|
6087
|
+
"speed": 6,
|
|
6088
|
+
"jumpSpeed": 8,
|
|
6089
|
+
"gravity": 20,
|
|
6090
|
+
"vy": 0,
|
|
6091
|
+
"grounded": true
|
|
6092
|
+
}
|
|
6093
|
+
```
|
|
6094
|
+
|
|
6095
|
+
<details>
|
|
6096
|
+
<summary>JSON Schema</summary>
|
|
6097
|
+
|
|
6098
|
+
```json
|
|
6099
|
+
{
|
|
6100
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
6101
|
+
"type": "object",
|
|
6102
|
+
"properties": {
|
|
6103
|
+
"speed": {
|
|
6104
|
+
"type": "number",
|
|
6105
|
+
"description": "Planar move speed in meters per second."
|
|
6106
|
+
},
|
|
6107
|
+
"jumpSpeed": {
|
|
6108
|
+
"type": "number",
|
|
6109
|
+
"description": "Initial upward velocity in meters per second applied when jumping from the ground."
|
|
6110
|
+
},
|
|
6111
|
+
"gravity": {
|
|
6112
|
+
"type": "number",
|
|
6113
|
+
"description": "Downward acceleration in meters per second squared applied to vy each tick."
|
|
5078
6114
|
},
|
|
5079
6115
|
"vy": {
|
|
5080
6116
|
"type": "number",
|
|
@@ -5821,6 +6857,19 @@ Required: `seats`, `exits`, `reach`
|
|
|
5821
6857
|
},
|
|
5822
6858
|
"description": "Available seat definitions. Each seat can hold one actor."
|
|
5823
6859
|
},
|
|
6860
|
+
"entries": {
|
|
6861
|
+
"description": "Optional boarding points in local meters, e.g. a boat gangway; seat anchors remain valid entry points.",
|
|
6862
|
+
"minItems": 1,
|
|
6863
|
+
"type": "array",
|
|
6864
|
+
"items": {
|
|
6865
|
+
"minItems": 3,
|
|
6866
|
+
"maxItems": 3,
|
|
6867
|
+
"type": "array",
|
|
6868
|
+
"items": {
|
|
6869
|
+
"type": "number"
|
|
6870
|
+
}
|
|
6871
|
+
}
|
|
6872
|
+
},
|
|
5824
6873
|
"exits": {
|
|
5825
6874
|
"minItems": 1,
|
|
5826
6875
|
"type": "array",
|
|
@@ -6007,8 +7056,8 @@ Required: `kind`, `color`, `spec`, `visual`
|
|
|
6007
7056
|
},
|
|
6008
7057
|
"wheelTrack": {
|
|
6009
7058
|
"type": "number",
|
|
6010
|
-
"
|
|
6011
|
-
"description": "
|
|
7059
|
+
"minimum": 0,
|
|
7060
|
+
"description": "Lateral wheel spacing in meters; zero for cycles."
|
|
6012
7061
|
},
|
|
6013
7062
|
"wheelRadius": {
|
|
6014
7063
|
"type": "number",
|
|
@@ -6032,8 +7081,8 @@ Required: `kind`, `color`, `spec`, `visual`
|
|
|
6032
7081
|
},
|
|
6033
7082
|
"reverseSpeed": {
|
|
6034
7083
|
"type": "number",
|
|
6035
|
-
"
|
|
6036
|
-
"description": "
|
|
7084
|
+
"minimum": 0,
|
|
7085
|
+
"description": "Maximum reverse speed; zero disables powered reverse."
|
|
6037
7086
|
},
|
|
6038
7087
|
"brakeDeceleration": {
|
|
6039
7088
|
"type": "number",
|
|
@@ -6048,7 +7097,7 @@ Required: `kind`, `color`, `spec`, `visual`
|
|
|
6048
7097
|
"grip": {
|
|
6049
7098
|
"type": "number",
|
|
6050
7099
|
"exclusiveMinimum": 0,
|
|
6051
|
-
"description": "
|
|
7100
|
+
"description": "Peak tire friction on dry pavement as an acceleration in m/s²; grip / 9.81 is the friction coefficient. Rain and snow lower it."
|
|
6052
7101
|
},
|
|
6053
7102
|
"driverEye": {
|
|
6054
7103
|
"minItems": 3,
|
|
@@ -6057,47 +7106,214 @@ Required: `kind`, `color`, `spec`, `visual`
|
|
|
6057
7106
|
"items": {
|
|
6058
7107
|
"type": "number"
|
|
6059
7108
|
},
|
|
6060
|
-
"description": "External driverEye setting."
|
|
6061
|
-
},
|
|
6062
|
-
"steeringRate": {
|
|
6063
|
-
"type": "number",
|
|
6064
|
-
"exclusiveMinimum": 0,
|
|
6065
|
-
"description": "External steeringRate setting."
|
|
6066
|
-
},
|
|
6067
|
-
"steeringFadeSpeed": {
|
|
6068
|
-
"type": "number",
|
|
6069
|
-
"exclusiveMinimum": 0,
|
|
6070
|
-
"description": "External steeringFadeSpeed setting."
|
|
6071
|
-
},
|
|
6072
|
-
"rollingResistance": {
|
|
6073
|
-
"type": "number",
|
|
6074
|
-
"minimum": 0,
|
|
6075
|
-
"description": "External rollingResistance setting."
|
|
6076
|
-
},
|
|
6077
|
-
"aerodynamicResistance": {
|
|
6078
|
-
"type": "number",
|
|
6079
|
-
"minimum": 0,
|
|
6080
|
-
"description": "External aerodynamicResistance setting."
|
|
6081
|
-
},
|
|
6082
|
-
"terrainAlignRate": {
|
|
6083
|
-
"type": "number",
|
|
6084
|
-
"exclusiveMinimum": 0,
|
|
6085
|
-
"description": "External terrainAlignRate setting."
|
|
6086
|
-
},
|
|
6087
|
-
"supportTolerance": {
|
|
6088
|
-
"type": "number",
|
|
6089
|
-
"minimum": 0,
|
|
6090
|
-
"description": "External supportTolerance setting."
|
|
6091
|
-
},
|
|
6092
|
-
"maxStepHeight": {
|
|
6093
|
-
"type": "number",
|
|
6094
|
-
"minimum": 0,
|
|
6095
|
-
"description": "External maxStepHeight setting."
|
|
6096
|
-
},
|
|
6097
|
-
"maxSlope": {
|
|
6098
|
-
"type": "number",
|
|
6099
|
-
"exclusiveMinimum": 0,
|
|
6100
|
-
"description": "External maxSlope setting."
|
|
7109
|
+
"description": "External driverEye setting."
|
|
7110
|
+
},
|
|
7111
|
+
"steeringRate": {
|
|
7112
|
+
"type": "number",
|
|
7113
|
+
"exclusiveMinimum": 0,
|
|
7114
|
+
"description": "External steeringRate setting."
|
|
7115
|
+
},
|
|
7116
|
+
"steeringFadeSpeed": {
|
|
7117
|
+
"type": "number",
|
|
7118
|
+
"exclusiveMinimum": 0,
|
|
7119
|
+
"description": "External steeringFadeSpeed setting."
|
|
7120
|
+
},
|
|
7121
|
+
"rollingResistance": {
|
|
7122
|
+
"type": "number",
|
|
7123
|
+
"minimum": 0,
|
|
7124
|
+
"description": "External rollingResistance setting."
|
|
7125
|
+
},
|
|
7126
|
+
"aerodynamicResistance": {
|
|
7127
|
+
"type": "number",
|
|
7128
|
+
"minimum": 0,
|
|
7129
|
+
"description": "External aerodynamicResistance setting."
|
|
7130
|
+
},
|
|
7131
|
+
"terrainAlignRate": {
|
|
7132
|
+
"type": "number",
|
|
7133
|
+
"exclusiveMinimum": 0,
|
|
7134
|
+
"description": "External terrainAlignRate setting."
|
|
7135
|
+
},
|
|
7136
|
+
"supportTolerance": {
|
|
7137
|
+
"type": "number",
|
|
7138
|
+
"minimum": 0,
|
|
7139
|
+
"description": "External supportTolerance setting."
|
|
7140
|
+
},
|
|
7141
|
+
"maxStepHeight": {
|
|
7142
|
+
"type": "number",
|
|
7143
|
+
"minimum": 0,
|
|
7144
|
+
"description": "External maxStepHeight setting."
|
|
7145
|
+
},
|
|
7146
|
+
"maxSlope": {
|
|
7147
|
+
"type": "number",
|
|
7148
|
+
"exclusiveMinimum": 0,
|
|
7149
|
+
"description": "External maxSlope setting."
|
|
7150
|
+
},
|
|
7151
|
+
"drive": {
|
|
7152
|
+
"description": "Driven wheels. Default front.",
|
|
7153
|
+
"type": "string",
|
|
7154
|
+
"enum": [
|
|
7155
|
+
"front",
|
|
7156
|
+
"rear",
|
|
7157
|
+
"all"
|
|
7158
|
+
]
|
|
7159
|
+
},
|
|
7160
|
+
"corneringStiffness": {
|
|
7161
|
+
"description": "Tire side force per unit load per radian of slip angle before it saturates at the grip limit. Default 18.",
|
|
7162
|
+
"type": "number",
|
|
7163
|
+
"exclusiveMinimum": 0
|
|
7164
|
+
},
|
|
7165
|
+
"brakeBias": {
|
|
7166
|
+
"description": "Share of braking force on the front wheels. Default 0.65.",
|
|
7167
|
+
"type": "number",
|
|
7168
|
+
"minimum": 0,
|
|
7169
|
+
"maximum": 1
|
|
7170
|
+
},
|
|
7171
|
+
"yawInertia": {
|
|
7172
|
+
"description": "Yaw moment of inertia in kg m². Default mass * (length² + width²) / 12.",
|
|
7173
|
+
"type": "number",
|
|
7174
|
+
"exclusiveMinimum": 0
|
|
7175
|
+
},
|
|
7176
|
+
"rollStiffness": {
|
|
7177
|
+
"description": "Body roll in radians per g of cornering. Default 0.05.",
|
|
7178
|
+
"type": "number",
|
|
7179
|
+
"minimum": 0
|
|
7180
|
+
},
|
|
7181
|
+
"pitchStiffness": {
|
|
7182
|
+
"description": "Body pitch in radians per g of braking or acceleration. Default 0.03. Weight shifts between the axles through this pitch; 0 keeps the axle loads fixed.",
|
|
7183
|
+
"type": "number",
|
|
7184
|
+
"minimum": 0
|
|
7185
|
+
},
|
|
7186
|
+
"suspensionFrequency": {
|
|
7187
|
+
"description": "Suspension natural frequency in Hz for body roll and pitch. Default 1.5.",
|
|
7188
|
+
"type": "number",
|
|
7189
|
+
"exclusiveMinimum": 0
|
|
7190
|
+
},
|
|
7191
|
+
"suspensionDamping": {
|
|
7192
|
+
"description": "Suspension damping ratio. Default 0.5.",
|
|
7193
|
+
"type": "number",
|
|
7194
|
+
"exclusiveMinimum": 0
|
|
7195
|
+
},
|
|
7196
|
+
"cycle": {
|
|
7197
|
+
"description": "Self-balancing cycle handling and rider contact points. Driver seat anchors the pelvis.",
|
|
7198
|
+
"type": "object",
|
|
7199
|
+
"properties": {
|
|
7200
|
+
"maxLean": {
|
|
7201
|
+
"type": "number",
|
|
7202
|
+
"exclusiveMinimum": 0,
|
|
7203
|
+
"maximum": 1.2,
|
|
7204
|
+
"description": "Maximum balanced inward lean in radians."
|
|
7205
|
+
},
|
|
7206
|
+
"riderLean": {
|
|
7207
|
+
"type": "number",
|
|
7208
|
+
"minimum": 0,
|
|
7209
|
+
"maximum": 1,
|
|
7210
|
+
"description": "Forward torso lean in radians."
|
|
7211
|
+
},
|
|
7212
|
+
"handlebarPivot": {
|
|
7213
|
+
"minItems": 3,
|
|
7214
|
+
"maxItems": 3,
|
|
7215
|
+
"type": "array",
|
|
7216
|
+
"items": {
|
|
7217
|
+
"type": "number"
|
|
7218
|
+
},
|
|
7219
|
+
"description": "Steering pivot in model-local meters."
|
|
7220
|
+
},
|
|
7221
|
+
"grips": {
|
|
7222
|
+
"type": "array",
|
|
7223
|
+
"prefixItems": [
|
|
7224
|
+
{
|
|
7225
|
+
"minItems": 3,
|
|
7226
|
+
"maxItems": 3,
|
|
7227
|
+
"type": "array",
|
|
7228
|
+
"items": {
|
|
7229
|
+
"type": "number"
|
|
7230
|
+
}
|
|
7231
|
+
},
|
|
7232
|
+
{
|
|
7233
|
+
"minItems": 3,
|
|
7234
|
+
"maxItems": 3,
|
|
7235
|
+
"type": "array",
|
|
7236
|
+
"items": {
|
|
7237
|
+
"type": "number"
|
|
7238
|
+
}
|
|
7239
|
+
}
|
|
7240
|
+
],
|
|
7241
|
+
"items": false,
|
|
7242
|
+
"minItems": 2,
|
|
7243
|
+
"maxItems": 2,
|
|
7244
|
+
"description": "Left and right hand targets in model-local meters."
|
|
7245
|
+
},
|
|
7246
|
+
"footrests": {
|
|
7247
|
+
"type": "array",
|
|
7248
|
+
"prefixItems": [
|
|
7249
|
+
{
|
|
7250
|
+
"minItems": 3,
|
|
7251
|
+
"maxItems": 3,
|
|
7252
|
+
"type": "array",
|
|
7253
|
+
"items": {
|
|
7254
|
+
"type": "number"
|
|
7255
|
+
}
|
|
7256
|
+
},
|
|
7257
|
+
{
|
|
7258
|
+
"minItems": 3,
|
|
7259
|
+
"maxItems": 3,
|
|
7260
|
+
"type": "array",
|
|
7261
|
+
"items": {
|
|
7262
|
+
"type": "number"
|
|
7263
|
+
}
|
|
7264
|
+
}
|
|
7265
|
+
],
|
|
7266
|
+
"items": false,
|
|
7267
|
+
"minItems": 2,
|
|
7268
|
+
"maxItems": 2,
|
|
7269
|
+
"description": "Left and right ankle targets in model-local meters."
|
|
7270
|
+
},
|
|
7271
|
+
"pedals": {
|
|
7272
|
+
"description": "Bicycle crank geometry and gearing; omitted on motor vehicles.",
|
|
7273
|
+
"type": "object",
|
|
7274
|
+
"properties": {
|
|
7275
|
+
"center": {
|
|
7276
|
+
"minItems": 3,
|
|
7277
|
+
"maxItems": 3,
|
|
7278
|
+
"type": "array",
|
|
7279
|
+
"items": {
|
|
7280
|
+
"type": "number"
|
|
7281
|
+
},
|
|
7282
|
+
"description": "Crank centre in model-local meters."
|
|
7283
|
+
},
|
|
7284
|
+
"radius": {
|
|
7285
|
+
"type": "number",
|
|
7286
|
+
"exclusiveMinimum": 0,
|
|
7287
|
+
"description": "Crank arm length in meters."
|
|
7288
|
+
},
|
|
7289
|
+
"halfWidth": {
|
|
7290
|
+
"type": "number",
|
|
7291
|
+
"exclusiveMinimum": 0,
|
|
7292
|
+
"description": "Distance from centreline to each pedal in meters."
|
|
7293
|
+
},
|
|
7294
|
+
"ratio": {
|
|
7295
|
+
"type": "number",
|
|
7296
|
+
"exclusiveMinimum": 0,
|
|
7297
|
+
"description": "Wheel revolutions per crank revolution."
|
|
7298
|
+
}
|
|
7299
|
+
},
|
|
7300
|
+
"required": [
|
|
7301
|
+
"center",
|
|
7302
|
+
"radius",
|
|
7303
|
+
"halfWidth",
|
|
7304
|
+
"ratio"
|
|
7305
|
+
],
|
|
7306
|
+
"additionalProperties": false
|
|
7307
|
+
}
|
|
7308
|
+
},
|
|
7309
|
+
"required": [
|
|
7310
|
+
"maxLean",
|
|
7311
|
+
"riderLean",
|
|
7312
|
+
"handlebarPivot",
|
|
7313
|
+
"grips",
|
|
7314
|
+
"footrests"
|
|
7315
|
+
],
|
|
7316
|
+
"additionalProperties": false
|
|
6101
7317
|
}
|
|
6102
7318
|
},
|
|
6103
7319
|
"required": [
|
|
@@ -6247,13 +7463,40 @@ Required: `kind`, `color`, `spec`, `visual`
|
|
|
6247
7463
|
"description": "Local transform axis."
|
|
6248
7464
|
},
|
|
6249
7465
|
"scale": {
|
|
6250
|
-
"
|
|
6251
|
-
"
|
|
7466
|
+
"description": "Multiply the signal by this value. Supply this or keys.",
|
|
7467
|
+
"type": "number"
|
|
6252
7468
|
},
|
|
6253
7469
|
"offset": {
|
|
6254
7470
|
"description": "Offset after scaling; default zero.",
|
|
6255
7471
|
"type": "number"
|
|
6256
7472
|
},
|
|
7473
|
+
"keys": {
|
|
7474
|
+
"description": "Keyframed curve of [signal, displacement] pairs, signals strictly ascending; holds the end values outside them. Supply this or scale.",
|
|
7475
|
+
"minItems": 2,
|
|
7476
|
+
"type": "array",
|
|
7477
|
+
"items": {
|
|
7478
|
+
"type": "array",
|
|
7479
|
+
"prefixItems": [
|
|
7480
|
+
{
|
|
7481
|
+
"type": "number"
|
|
7482
|
+
},
|
|
7483
|
+
{
|
|
7484
|
+
"type": "number"
|
|
7485
|
+
}
|
|
7486
|
+
],
|
|
7487
|
+
"items": false,
|
|
7488
|
+
"minItems": 2,
|
|
7489
|
+
"maxItems": 2
|
|
7490
|
+
}
|
|
7491
|
+
},
|
|
7492
|
+
"ease": {
|
|
7493
|
+
"description": "Interpolation between keys: linear (default), or smooth to ease out of and into every key.",
|
|
7494
|
+
"type": "string",
|
|
7495
|
+
"enum": [
|
|
7496
|
+
"linear",
|
|
7497
|
+
"smooth"
|
|
7498
|
+
]
|
|
7499
|
+
},
|
|
6257
7500
|
"min": {
|
|
6258
7501
|
"description": "Minimum displacement from authored pose.",
|
|
6259
7502
|
"type": "number"
|
|
@@ -6267,8 +7510,7 @@ Required: `kind`, `color`, `spec`, `visual`
|
|
|
6267
7510
|
"node",
|
|
6268
7511
|
"source",
|
|
6269
7512
|
"property",
|
|
6270
|
-
"axis"
|
|
6271
|
-
"scale"
|
|
7513
|
+
"axis"
|
|
6272
7514
|
],
|
|
6273
7515
|
"additionalProperties": false
|
|
6274
7516
|
},
|
|
@@ -6280,6 +7522,143 @@ Required: `kind`, `color`, `spec`, `visual`
|
|
|
6280
7522
|
"bindings"
|
|
6281
7523
|
],
|
|
6282
7524
|
"additionalProperties": false
|
|
7525
|
+
},
|
|
7526
|
+
"animation": {
|
|
7527
|
+
"description": "External animation setting.",
|
|
7528
|
+
"type": "object",
|
|
7529
|
+
"properties": {
|
|
7530
|
+
"sources": {
|
|
7531
|
+
"description": "Optional component fields overriding or extending host telemetry.",
|
|
7532
|
+
"type": "object",
|
|
7533
|
+
"propertyNames": {
|
|
7534
|
+
"type": "string",
|
|
7535
|
+
"minLength": 1
|
|
7536
|
+
},
|
|
7537
|
+
"additionalProperties": {
|
|
7538
|
+
"type": "object",
|
|
7539
|
+
"properties": {
|
|
7540
|
+
"component": {
|
|
7541
|
+
"type": "string",
|
|
7542
|
+
"minLength": 1,
|
|
7543
|
+
"description": "Component on this same entity."
|
|
7544
|
+
},
|
|
7545
|
+
"path": {
|
|
7546
|
+
"minItems": 1,
|
|
7547
|
+
"type": "array",
|
|
7548
|
+
"items": {
|
|
7549
|
+
"anyOf": [
|
|
7550
|
+
{
|
|
7551
|
+
"type": "string",
|
|
7552
|
+
"minLength": 1
|
|
7553
|
+
},
|
|
7554
|
+
{
|
|
7555
|
+
"type": "integer",
|
|
7556
|
+
"minimum": 0,
|
|
7557
|
+
"maximum": 9007199254740991
|
|
7558
|
+
}
|
|
7559
|
+
]
|
|
7560
|
+
},
|
|
7561
|
+
"description": "Explicit property names or array indices leading to a number or boolean."
|
|
7562
|
+
}
|
|
7563
|
+
},
|
|
7564
|
+
"required": [
|
|
7565
|
+
"component",
|
|
7566
|
+
"path"
|
|
7567
|
+
],
|
|
7568
|
+
"additionalProperties": false
|
|
7569
|
+
}
|
|
7570
|
+
},
|
|
7571
|
+
"bindings": {
|
|
7572
|
+
"type": "array",
|
|
7573
|
+
"items": {
|
|
7574
|
+
"type": "object",
|
|
7575
|
+
"properties": {
|
|
7576
|
+
"node": {
|
|
7577
|
+
"type": "string",
|
|
7578
|
+
"minLength": 1,
|
|
7579
|
+
"description": "Exact loaded GLB node name."
|
|
7580
|
+
},
|
|
7581
|
+
"source": {
|
|
7582
|
+
"type": "string",
|
|
7583
|
+
"minLength": 1,
|
|
7584
|
+
"description": "Named simulation signal."
|
|
7585
|
+
},
|
|
7586
|
+
"property": {
|
|
7587
|
+
"type": "string",
|
|
7588
|
+
"enum": [
|
|
7589
|
+
"rotation",
|
|
7590
|
+
"position"
|
|
7591
|
+
],
|
|
7592
|
+
"description": "Local transform channel."
|
|
7593
|
+
},
|
|
7594
|
+
"axis": {
|
|
7595
|
+
"type": "string",
|
|
7596
|
+
"enum": [
|
|
7597
|
+
"x",
|
|
7598
|
+
"y",
|
|
7599
|
+
"z"
|
|
7600
|
+
],
|
|
7601
|
+
"description": "Local transform axis."
|
|
7602
|
+
},
|
|
7603
|
+
"scale": {
|
|
7604
|
+
"description": "Multiply the signal by this value. Supply this or keys.",
|
|
7605
|
+
"type": "number"
|
|
7606
|
+
},
|
|
7607
|
+
"offset": {
|
|
7608
|
+
"description": "Offset after scaling; default zero.",
|
|
7609
|
+
"type": "number"
|
|
7610
|
+
},
|
|
7611
|
+
"keys": {
|
|
7612
|
+
"description": "Keyframed curve of [signal, displacement] pairs, signals strictly ascending; holds the end values outside them. Supply this or scale.",
|
|
7613
|
+
"minItems": 2,
|
|
7614
|
+
"type": "array",
|
|
7615
|
+
"items": {
|
|
7616
|
+
"type": "array",
|
|
7617
|
+
"prefixItems": [
|
|
7618
|
+
{
|
|
7619
|
+
"type": "number"
|
|
7620
|
+
},
|
|
7621
|
+
{
|
|
7622
|
+
"type": "number"
|
|
7623
|
+
}
|
|
7624
|
+
],
|
|
7625
|
+
"items": false,
|
|
7626
|
+
"minItems": 2,
|
|
7627
|
+
"maxItems": 2
|
|
7628
|
+
}
|
|
7629
|
+
},
|
|
7630
|
+
"ease": {
|
|
7631
|
+
"description": "Interpolation between keys: linear (default), or smooth to ease out of and into every key.",
|
|
7632
|
+
"type": "string",
|
|
7633
|
+
"enum": [
|
|
7634
|
+
"linear",
|
|
7635
|
+
"smooth"
|
|
7636
|
+
]
|
|
7637
|
+
},
|
|
7638
|
+
"min": {
|
|
7639
|
+
"description": "Minimum displacement from authored pose.",
|
|
7640
|
+
"type": "number"
|
|
7641
|
+
},
|
|
7642
|
+
"max": {
|
|
7643
|
+
"description": "Maximum displacement from authored pose.",
|
|
7644
|
+
"type": "number"
|
|
7645
|
+
}
|
|
7646
|
+
},
|
|
7647
|
+
"required": [
|
|
7648
|
+
"node",
|
|
7649
|
+
"source",
|
|
7650
|
+
"property",
|
|
7651
|
+
"axis"
|
|
7652
|
+
],
|
|
7653
|
+
"additionalProperties": false
|
|
7654
|
+
},
|
|
7655
|
+
"description": "Per-model node channels and their signal calibration."
|
|
7656
|
+
}
|
|
7657
|
+
},
|
|
7658
|
+
"required": [
|
|
7659
|
+
"bindings"
|
|
7660
|
+
],
|
|
7661
|
+
"additionalProperties": false
|
|
6283
7662
|
}
|
|
6284
7663
|
},
|
|
6285
7664
|
"required": [
|
|
@@ -6305,7 +7684,7 @@ Required: `kind`, `color`, `spec`, `visual`
|
|
|
6305
7684
|
|
|
6306
7685
|
### `vehicleInput`
|
|
6307
7686
|
|
|
6308
|
-
Driver intent: signed throttle (negative brakes then reverses), signed steering (positive right), brake
|
|
7687
|
+
Driver intent: signed throttle (negative brakes then reverses), signed steering (positive right), service brake and optional handbrake.
|
|
6309
7688
|
|
|
6310
7689
|
Required: `throttle`, `steering`, `brake`
|
|
6311
7690
|
|
|
@@ -6339,7 +7718,11 @@ Required: `throttle`, `steering`, `brake`
|
|
|
6339
7718
|
},
|
|
6340
7719
|
"brake": {
|
|
6341
7720
|
"type": "boolean",
|
|
6342
|
-
"description": "Apply the service
|
|
7721
|
+
"description": "Apply the service brakes (all wheels, anti-lock) while true; holds the car at rest."
|
|
7722
|
+
},
|
|
7723
|
+
"handbrake": {
|
|
7724
|
+
"description": "Lock the rear wheels while true: they slide instead of rolling, for handbrake turns.",
|
|
7725
|
+
"type": "boolean"
|
|
6343
7726
|
}
|
|
6344
7727
|
},
|
|
6345
7728
|
"required": [
|
|
@@ -6395,11 +7778,11 @@ Required: `speed`, `steer`, `yaw`, `pitch`, `roll`, `vy`, `grounded`, `waitingFo
|
|
|
6395
7778
|
},
|
|
6396
7779
|
"pitch": {
|
|
6397
7780
|
"type": "number",
|
|
6398
|
-
"description": "Chassis rotation about local X in radians
|
|
7781
|
+
"description": "Chassis rotation about local X in radians from terrain support, nose down positive."
|
|
6399
7782
|
},
|
|
6400
7783
|
"roll": {
|
|
6401
7784
|
"type": "number",
|
|
6402
|
-
"description": "Chassis rotation about local Z in radians
|
|
7785
|
+
"description": "Chassis rotation about local Z in radians from terrain support, right side down positive."
|
|
6403
7786
|
},
|
|
6404
7787
|
"vy": {
|
|
6405
7788
|
"type": "number",
|
|
@@ -6416,6 +7799,40 @@ Required: `speed`, `steer`, `yaw`, `pitch`, `roll`, `vy`, `grounded`, `waitingFo
|
|
|
6416
7799
|
"wheelAngle": {
|
|
6417
7800
|
"type": "number",
|
|
6418
7801
|
"description": "Accumulated wheel spin angle in radians, wrapped each revolution."
|
|
7802
|
+
},
|
|
7803
|
+
"pedalAngle": {
|
|
7804
|
+
"description": "Cycle crank angle in radians; advances under forward power and holds while coasting or braking.",
|
|
7805
|
+
"type": "number"
|
|
7806
|
+
},
|
|
7807
|
+
"lateralSpeed": {
|
|
7808
|
+
"description": "Sideways speed in meters per second, positive to the left: the slide.",
|
|
7809
|
+
"type": "number"
|
|
7810
|
+
},
|
|
7811
|
+
"yawRate": {
|
|
7812
|
+
"description": "Yaw rate in radians per second, positive turning left.",
|
|
7813
|
+
"type": "number"
|
|
7814
|
+
},
|
|
7815
|
+
"bodyPitch": {
|
|
7816
|
+
"description": "Suspension pitch in radians on top of the terrain, nose down positive.",
|
|
7817
|
+
"type": "number"
|
|
7818
|
+
},
|
|
7819
|
+
"bodyPitchRate": {
|
|
7820
|
+
"description": "Suspension pitch rate in radians per second.",
|
|
7821
|
+
"type": "number"
|
|
7822
|
+
},
|
|
7823
|
+
"bodyRoll": {
|
|
7824
|
+
"description": "Suspension roll in radians on top of the terrain, right side down positive.",
|
|
7825
|
+
"type": "number"
|
|
7826
|
+
},
|
|
7827
|
+
"bodyRollRate": {
|
|
7828
|
+
"description": "Suspension roll rate in radians per second.",
|
|
7829
|
+
"type": "number"
|
|
7830
|
+
},
|
|
7831
|
+
"skid": {
|
|
7832
|
+
"description": "0–1: how far the tires are past their grip (sliding, wheelspin, locked wheels).",
|
|
7833
|
+
"type": "number",
|
|
7834
|
+
"minimum": 0,
|
|
7835
|
+
"maximum": 1
|
|
6419
7836
|
}
|
|
6420
7837
|
},
|
|
6421
7838
|
"required": [
|
|
@@ -6574,6 +7991,42 @@ Required: none
|
|
|
6574
7991
|
},
|
|
6575
7992
|
"additionalProperties": false
|
|
6576
7993
|
},
|
|
7994
|
+
"wind": {
|
|
7995
|
+
"description": "Spatial and temporal structure of the wind around the mean atmosphere.windVelocity. Deterministic from seed and simulation time; consumes no simulation RNG.",
|
|
7996
|
+
"type": "object",
|
|
7997
|
+
"properties": {
|
|
7998
|
+
"referenceHeight": {
|
|
7999
|
+
"description": "Height above ground in meters where atmosphere.windVelocity is measured; default 10.",
|
|
8000
|
+
"type": "number",
|
|
8001
|
+
"exclusiveMinimum": 0
|
|
8002
|
+
},
|
|
8003
|
+
"shear": {
|
|
8004
|
+
"description": "Power-law exponent of mean wind speed with height above ground, up to 600 m; default 0 (uniform). About 0.14 over open country, 0.3 over cities.",
|
|
8005
|
+
"type": "number",
|
|
8006
|
+
"minimum": 0,
|
|
8007
|
+
"maximum": 1
|
|
8008
|
+
},
|
|
8009
|
+
"turbulence": {
|
|
8010
|
+
"description": "Turbulence intensity 0–1, default 0: about 0.15 light chop, 0.4 moderate, 0.8 severe. Grows with wind speed and fades above the 1 km boundary layer.",
|
|
8011
|
+
"type": "number",
|
|
8012
|
+
"minimum": 0,
|
|
8013
|
+
"maximum": 1
|
|
8014
|
+
},
|
|
8015
|
+
"gusts": {
|
|
8016
|
+
"description": "Gust factor 0–1, default 0: along-wind speed swings as a fraction of the mean wind, advected with it.",
|
|
8017
|
+
"type": "number",
|
|
8018
|
+
"minimum": 0,
|
|
8019
|
+
"maximum": 1
|
|
8020
|
+
},
|
|
8021
|
+
"terrain": {
|
|
8022
|
+
"description": "Strength 0–1 of wind deflected by terrain slopes: ridge lift upwind, sink in the lee. Default 0.",
|
|
8023
|
+
"type": "number",
|
|
8024
|
+
"minimum": 0,
|
|
8025
|
+
"maximum": 1
|
|
8026
|
+
}
|
|
8027
|
+
},
|
|
8028
|
+
"additionalProperties": false
|
|
8029
|
+
},
|
|
6577
8030
|
"seed": {
|
|
6578
8031
|
"description": "Stable visual pattern seed, default 1. Does not consume simulation RNG.",
|
|
6579
8032
|
"type": "integer",
|