Sync LMS backend source

This commit is contained in:
2026-07-07 16:09:12 +09:00
commit 5a2ecd0fea
126 changed files with 22959 additions and 0 deletions
@@ -0,0 +1,85 @@
UPDATE "visualization_platforms"
SET "default_config" = '{
"type": "AUTOWARE",
"target": "local",
"runtime": { "containers": [], "steps": [] },
"bridge": {
"name": "autoware-ros-bridge",
"image": "autoware-ros-bridge",
"buildContext": "resources/autoware-ros-bridge",
"port": 8765,
"env": {
"ROBOT_STACK": "autoware",
"MAP_POINT_STRIDE": "8",
"MAP_POINT_LIMIT": "80000",
"AUTOWARE_ROUTE_INPUT": "rviz_topic",
"INITIAL_POSE_TOPIC": "/initialpose",
"GOAL_POSE_TOPIC": "/planning/mission_planning/goal",
"VEHICLE_POSE_TOPIC": "/localization/kinematic_state",
"TRAJECTORY_TOPIC": "/planning/scenario_planning/trajectory",
"ROUTE_TOPIC": "/planning/mission_planning/route"
}
},
"viewer": { "stack": "autoware" }
}'::jsonb,
"updated_at" = CURRENT_TIMESTAMP
WHERE "platform_key" = 'AUTOWARE';
UPDATE "visualization_platforms"
SET "default_config" = '{
"type": "NAV2",
"target": "local",
"runtime": { "containers": [], "steps": [] },
"bridge": {
"name": "nav2-ros-bridge",
"image": "nav2-ros-bridge",
"buildContext": "resources/nav2-ros-bridge",
"port": 8765,
"env": {
"ROBOT_STACK": "nav2"
}
},
"viewer": { "stack": "nav2" }
}'::jsonb,
"updated_at" = CURRENT_TIMESTAMP
WHERE "platform_key" = 'NAV2';
UPDATE "visualization_platforms"
SET "default_config" = jsonb_set("default_config", '{target}', '"local"'::jsonb, true),
"updated_at" = CURRENT_TIMESTAMP
WHERE "platform_key" = 'SLAM';
UPDATE "course_environment_profiles"
SET "config" = jsonb_set(
jsonb_set(
jsonb_set("config", '{target}', '"local"'::jsonb, true),
'{bridge,buildContext}',
'"resources/autoware-ros-bridge"'::jsonb,
true
),
'{bridge,image}',
'"autoware-ros-bridge"'::jsonb,
true
),
"updated_at" = CURRENT_TIMESTAMP
WHERE upper("profile_type") = 'AUTOWARE';
UPDATE "course_environment_profiles"
SET "config" = jsonb_set(
jsonb_set(
jsonb_set("config", '{target}', '"local"'::jsonb, true),
'{bridge,buildContext}',
'"resources/nav2-ros-bridge"'::jsonb,
true
),
'{bridge,image}',
'"nav2-ros-bridge"'::jsonb,
true
),
"updated_at" = CURRENT_TIMESTAMP
WHERE upper("profile_type") = 'NAV2';
UPDATE "course_environment_profiles"
SET "config" = jsonb_set("config", '{target}', '"local"'::jsonb, true),
"updated_at" = CURRENT_TIMESTAMP
WHERE upper("profile_type") = 'SLAM';