Docs and Core comments: fetal and stare-at-hands are data; phantom target test; no binding named in Core
goal-ai-map row 4 lists look, reach, ward off and recoil as this cut's layers, fetal and stare-at-hands as data. A test runs the layers on a phantom target and a real one at one place and reads identical targets. BodyPlan and the Core project comment no longer name the Ymir binding. Finding: lodur:finding:cut-lodur-orient-goals.s1.doc-drift-and-phantom-unproven Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
880cc8d61e
commit
c9b2345eba
4 changed files with 17 additions and 3 deletions
|
|
@ -234,7 +234,7 @@ one joint contest by will. Nothing in the cuts below may write a body-wide outpu
|
|||
| 2c | `lodur-planner-select` | Lodur | wants, Select admission, direct tries at a discount and frustration (`bds-unplannable-tries-direct`), plan on the Actor | 2b, Actor.cs cuts in flight | M |
|
||||
| 3 | `lodur-ik-goals` | Lodur | Look, ArmL, ArmR as a Core producer of joint targets (legs later) | none (parallel to 2) | M |
|
||||
| 3b | `lodur-reach-tracking` | Lodur | reach under gravity: feedforward or a damped error loop | 3 | S-M |
|
||||
| 4 | `lodur-orient-goals` | Lodur + BDS | look, reach, ward off, recoil, fetal and stare-at-hands as layers; seated Fella demo | 2, 3 | M |
|
||||
| 4 | `lodur-orient-goals` | Lodur + BDS | look, reach, ward off and recoil as layers; fetal (a key-pose goal) and stare-at-hands (Look and Reach on a phantom) are data; seated Fella demo | 2, 3 | M |
|
||||
| 5 | `lodur-phantom-percepts` + `bds-thought-bubble` | Lodur, BDS | phantom things by hallucination type; the bubble reads their kinds | 1, 4 | M, S |
|
||||
| 6 | `lodur-assist-pin` | Lodur | upright assist | none | S |
|
||||
| 7 | `lodur-stand` | Lodur + BDS | standing puppet scene, stool weld dropped | 6 | S |
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ namespace Lodur
|
|||
|
||||
/// <summary>
|
||||
/// A body as data: parts, the joints that are also its tree, sense points and airway openings, each named by label and side.
|
||||
/// Engine-free; a binding (Lodur.Body.Ymir) builds it into a physics world. Validated at construction.
|
||||
/// Engine-free; a physics binding builds it into a world. Validated at construction.
|
||||
/// </summary>
|
||||
public sealed class BodyPlan
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<!-- Engine-free core (invariant core-engine-free): no engine, no physics, no Ymir. Unity-consumable. -->
|
||||
<!-- Engine-free core (invariant core-engine-free): no engine, no physics binding. Unity-consumable. -->
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netstandard2.1</TargetFramework>
|
||||
<LangVersion>12.0</LangVersion>
|
||||
|
|
|
|||
|
|
@ -336,6 +336,20 @@ public sealed class OrientTests
|
|||
}
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void The_layers_treat_a_phantom_target_as_they_treat_a_real_one_at_the_same_place()
|
||||
{
|
||||
// Stare-at-hands is Look and Reach on a phantom at the actor's own hand: the layers read the percept's place, never its id.
|
||||
var b = Behaviour(new LookLayer(), new ArmLayer { Mode = ArmMode.Reach, Side = ArmSide.Both }, Recoiling());
|
||||
foreach (var parts in new[] { Rest(), Turned() })
|
||||
{
|
||||
var real = Run(b, parts, At(Ahead, 1UL));
|
||||
var phantom = Run(b, parts, At(Ahead, Perception.PhantomIdBit | 1UL));
|
||||
for (var m = 0; m < Joints; m++) SameBits(real[m], phantom[m]);
|
||||
Assert.NotEqual(Base(b)[Neck], phantom[Neck]);
|
||||
}
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void The_flinch_applies_after_the_layers_and_strength_stays_the_pose_rule()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue