add commits..

This commit is contained in:
2026-08-12 14:46:57 +09:00
parent 324e644ef6
commit 38ab528d24
11 changed files with 450 additions and 31 deletions
@@ -0,0 +1,18 @@
-- The NAV2 viewer expects the unified slam-ros-bridge API
-- (/state, /ws/state and /ws/control). The older nav2-ros-bridge context
-- does not expose those endpoints, so remove that override from every
-- local NAV2 course environment profile.
UPDATE "course_environment_profiles"
SET
"config" = jsonb_set(
("config"::jsonb #- '{bridge,buildContext}'),
'{bridge,image}',
'"slam-ros-bridge:latest"'::jsonb,
true
),
"updated_at" = CURRENT_TIMESTAMP
WHERE "platform_key" = 'NAV2'
AND (
"config"::jsonb #>> '{bridge,buildContext}' = 'resources/nav2-ros-bridge'
OR "config"::jsonb #>> '{bridge,image}' = 'nav2-ros-bridge'
);