add commits..
This commit is contained in:
@@ -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'
|
||||
);
|
||||
Reference in New Issue
Block a user