P23-03: 生活の観察

This commit is contained in:
Agent Control Runner
2026-10-15 09:52:50 +09:00
parent baa4f2d563
commit 55c29f1192
5 changed files with 41 additions and 10 deletions
+3
View File
@@ -44,10 +44,12 @@ func motion_observations() -> void:
while clock.absolute_minute == minute and not terminated:
await tree.process_frame
await frames()
expect(await stream.await_draws(tree, main.world_preview), "real draw history before capture")
expect(stream.capture("active-motion", runtime, main.world_preview), "active interpolation history")
await button(main.pause_button)
expect(clock.paused, "ordinary pause for stable observation")
await frames()
expect(await stream.await_draws(tree, main.world_preview), "real draw history before capture")
expect(stream.capture("paused-motion", runtime, main.world_preview), "paused interpolation history")
class InputObserver extends Node:
@@ -93,6 +95,7 @@ func request(action: Dictionary) -> void:
DirAccess.make_dir_recursive_absolute(folder)
var window: Window = main.get_window()
var view: WorldPreview = main.world_preview
expect(await stream.await_draws(tree, view), "real draw history before capture")
action["report"] = Codec.new().typed(view.get_life_observation_report())
action["viewport_to_screen"] = affine(view.get_screen_transform() * view.get_global_transform_with_canvas().affine_inverse())
action["local_to_viewport"] = affine(view.get_global_transform_with_canvas())