From 29c500340371b45aa2c8c57a98ce5dea8c5e82b9 Mon Sep 17 00:00:00 2001 From: Jeroen Schweitzer Date: Fri, 13 Feb 2026 02:07:19 +0100 Subject: [PATCH] fix(simulation): add TileKind to VisibleTile wire protocol (#412) Server was sending visible_tiles without tile type data, so the client could not distinguish floor from wall in live mode. Add TileKind enum (Floor/Wall/Door/Object) to VisibleTile, populated from WalkabilityMap in the NaturalVision perception query. Update test fixtures to include the new field. Uses #[serde(default)] for backward compatibility. Co-Authored-By: Claude Opus 4.6 --- .../fixtures/msgpack/snapshot_v2_full.msgpack | Bin 343 -> 391 bytes server/src/bridge/types.rs | 16 +++++++++++++- server/src/perception/query.rs | 20 ++++++++++++------ server/tests/gen_fixtures.rs | 3 +++ server/tests/serialization.rs | 2 ++ 5 files changed, 34 insertions(+), 7 deletions(-) diff --git a/client/tests/fixtures/msgpack/snapshot_v2_full.msgpack b/client/tests/fixtures/msgpack/snapshot_v2_full.msgpack index b63af93c9026300b8617d4fabc51cdc278dcf82d..7fe0e2d3db416c27556f135c1262b7d9c6d8973f 100644 GIT binary patch delta 98 zcmcc4)XqHN1!L>PmokDYOEPm(