34 lines
1.2 KiB
SQL
34 lines
1.2 KiB
SQL
-- Align the LMS platform record with the checked-in NAV2-MKMini profile.
|
|
-- The speed is the real YHS CAN safety limit, not the higher simulation-only cap.
|
|
UPDATE "platforms"
|
|
SET
|
|
"vehicle_type" = 'MK-mini',
|
|
"wheelbase_meters" = 0.600,
|
|
"max_speed_meters_per_second" = 0.300,
|
|
"max_steering_angle_degrees" = 28.6479
|
|
WHERE "platform_key" ILIKE '%mkmini%';
|
|
|
|
UPDATE "instructor_platforms" AS instance
|
|
SET
|
|
"vehicle_type" = 'MK-mini',
|
|
"wheelbase_meters" = 0.600,
|
|
"max_speed_meters_per_second" = 0.300,
|
|
"max_steering_angle_degrees" = 28.6479
|
|
FROM "platforms" AS platform
|
|
WHERE instance."platform_id" = platform."id"
|
|
AND platform."platform_key" ILIKE '%mkmini%';
|
|
|
|
UPDATE "course_week_modules"
|
|
SET "prebuilt_artifacts" = jsonb_build_array(
|
|
jsonb_build_object(
|
|
'type', 'build-install',
|
|
'fileName', 'lms-nav2-mkmini-build-install-amd64.tar.zst',
|
|
'url', 'https://pub-ca0a1bc004d8409da3329dbb9ac32bcf.r2.dev/studio-artifacts/modules/lms-nav2-mkmini/1.0.0/prebuilt/amd64/lms-nav2-mkmini-build-install-amd64.tar.zst',
|
|
'checksumSha256', '8b36d3fda6a81a49da140529d9874e99b734d05e01e12a49e719e2b26f8803d9',
|
|
'architecture', 'amd64',
|
|
'required', false,
|
|
'extractPath', '.'
|
|
)
|
|
)
|
|
WHERE "folder_name" = '[lms-nav2-mkmini]nav2-mkmini_v1.0.0_ws';
|