fix: align robot jobs with active HQ plans
This commit is contained in:
@@ -1,46 +1,41 @@
|
||||
import type { RobotOperationsDefinition } from "../../interiors/robotOperations.ts";
|
||||
|
||||
/** Authored, seeded demonstration operations for the public Lumbridge HQ plan. */
|
||||
/** Authored, seeded demonstration operations for the compact SF studio. */
|
||||
export const LUMBRIDGE_HQ_ROBOT_OPERATIONS = Object.freeze({
|
||||
id: "lumbridge-hq-robot-operations",
|
||||
version: 1,
|
||||
officeId: "lumbridge-hq",
|
||||
disclosure: "Seeded robot simulation — no live people, company activity, or operational data.",
|
||||
stations: [
|
||||
{ id: "sf-l1-dock", label: "Level 1 charge dock", role: "charge", anchor: { kind: "point", levelId: "level-1", position: { x: 9.2, z: 7.2 }, facing: { x: 1, z: 0 } } },
|
||||
{ id: "sf-l1-lobby", label: "Lobby patrol point", role: "patrol", anchor: { kind: "room", roomId: "lobby" } },
|
||||
{ id: "sf-l1-kitchen", label: "Kitchen patrol point", role: "patrol", anchor: { kind: "room", roomId: "kitchen" } },
|
||||
{ id: "sf-l1-commons", label: "Commons patrol point", role: "patrol", anchor: { kind: "room", roomId: "commons" } },
|
||||
{ id: "sf-l1-parcel-pickup", label: "Open floor parcel lockers", role: "pickup", anchor: { kind: "prop", propId: "open-locker-01", standoffM: 0.8 } },
|
||||
{ id: "sf-l1-parcel-drop", label: "Facilities shelf", role: "dropoff", anchor: { kind: "prop", propId: "fac-shelf-01", standoffM: 0.82 } },
|
||||
{ id: "sf-l1-display", label: "Open floor display", role: "inspect", anchor: { kind: "prop", propId: "open-display", standoffM: 0.72 } },
|
||||
{ id: "sf-l1-board", label: "Workshop board", role: "inspect", anchor: { kind: "prop", propId: "shop-whiteboard", standoffM: 0.72 } },
|
||||
|
||||
{ id: "sf-l2-dock", label: "Level 2 charge dock", role: "charge", anchor: { kind: "point", levelId: "level-2", position: { x: 5.0, z: 5.2 }, facing: { x: 1, z: 0 } } },
|
||||
{ id: "sf-l2-landing", label: "Landing patrol point", role: "patrol", anchor: { kind: "room", roomId: "l2-landing" } },
|
||||
{ id: "sf-l2-studio", label: "Studio patrol point", role: "patrol", anchor: { kind: "room", roomId: "l2-studio" } },
|
||||
{ id: "sf-l2-gallery", label: "Gallery patrol point", role: "patrol", anchor: { kind: "room", roomId: "l2-gallery" } },
|
||||
{ id: "sf-l2-parcel-pickup", label: "Library shelf", role: "pickup", anchor: { kind: "prop", propId: "l2-library-shelf-03", standoffM: 0.78, side: -1 } },
|
||||
{ id: "sf-l2-parcel-drop", label: "Project shelf", role: "dropoff", anchor: { kind: "prop", propId: "l2-project-shelf-01", standoffM: 0.78, side: -1 } },
|
||||
{ id: "sf-l2-board", label: "Studio board", role: "inspect", anchor: { kind: "prop", propId: "l2-studio-board", standoffM: 0.72 } },
|
||||
{ id: "sf-l2-project-board", label: "Project board", role: "inspect", anchor: { kind: "prop", propId: "l2-project-board-02", standoffM: 0.72 } },
|
||||
{
|
||||
id: "sf-studio-dock",
|
||||
label: "Studio charge dock",
|
||||
role: "charge",
|
||||
anchor: { kind: "point", levelId: "level-1", position: { x: 5.65, z: 5.3 }, facing: { x: 1, z: 0 } },
|
||||
},
|
||||
{ id: "sf-studio-entry", label: "Entry patrol point", role: "patrol", anchor: { kind: "point", levelId: "level-1", position: { x: 1.1, z: 7.5 }, facing: { x: 0, z: -1 } } },
|
||||
{ id: "sf-studio-kitchen", label: "Kitchen patrol point", role: "patrol", anchor: { kind: "room", roomId: "kitchen" } },
|
||||
{ id: "sf-studio-lounge", label: "Demo lounge patrol point", role: "patrol", anchor: { kind: "point", levelId: "level-1", position: { x: 7.0, z: 6.0 }, facing: { x: 1, z: 0 } } },
|
||||
{ id: "sf-studio-pickup", label: "Entry shelf parcel pickup", role: "pickup", anchor: { kind: "prop", propId: "entry-shelf", standoffM: 0.8, side: -1 } },
|
||||
{ id: "sf-studio-dropoff", label: "Lounge table parcel drop", role: "dropoff", anchor: { kind: "prop", propId: "lounge-table", standoffM: 0.8 } },
|
||||
{ id: "sf-studio-display", label: "Demo display inspection", role: "inspect", anchor: { kind: "prop", propId: "open-display", standoffM: 0.72, side: -1 } },
|
||||
{ id: "sf-studio-monitor", label: "Agent monitor inspection", role: "inspect", anchor: { kind: "prop", propId: "lobby-monitor", standoffM: 0.72, side: -1 } },
|
||||
],
|
||||
jobs: [
|
||||
{ id: "sf-l1-patrol", label: "Level 1 safety patrol", kind: "patrol", stationIds: ["sf-l1-lobby", "sf-l1-kitchen", "sf-l1-commons"], dwellTicks: 6 },
|
||||
{ id: "sf-l1-deliver", label: "Locker-to-facilities parcel", kind: "deliver", stationIds: ["sf-l1-parcel-pickup", "sf-l1-parcel-drop"], dwellTicks: 9 },
|
||||
{ id: "sf-l1-inspect-display", label: "Display inspection", kind: "inspect", stationIds: ["sf-l1-display"], dwellTicks: 14 },
|
||||
{ id: "sf-l1-inspect-board", label: "Workshop board inspection", kind: "inspect", stationIds: ["sf-l1-board"], dwellTicks: 12 },
|
||||
{ id: "sf-l1-charge", label: "Level 1 charge cycle", kind: "charge", stationIds: ["sf-l1-dock"], dwellTicks: 1 },
|
||||
{ id: "sf-l2-patrol", label: "Level 2 safety patrol", kind: "patrol", stationIds: ["sf-l2-landing", "sf-l2-studio", "sf-l2-gallery"], dwellTicks: 6 },
|
||||
{ id: "sf-l2-deliver", label: "Library-to-project parcel", kind: "deliver", stationIds: ["sf-l2-parcel-pickup", "sf-l2-parcel-drop"], dwellTicks: 9 },
|
||||
{ id: "sf-l2-inspect-studio", label: "Studio board inspection", kind: "inspect", stationIds: ["sf-l2-board"], dwellTicks: 14 },
|
||||
{ id: "sf-l2-inspect-project", label: "Project board inspection", kind: "inspect", stationIds: ["sf-l2-project-board"], dwellTicks: 12 },
|
||||
{ id: "sf-l2-charge", label: "Level 2 charge cycle", kind: "charge", stationIds: ["sf-l2-dock"], dwellTicks: 1 },
|
||||
{ id: "sf-studio-patrol", label: "Studio safety patrol", kind: "patrol", stationIds: ["sf-studio-entry", "sf-studio-kitchen", "sf-studio-lounge"], dwellTicks: 6 },
|
||||
{ id: "sf-studio-deliver", label: "Entry-to-lounge parcel", kind: "deliver", stationIds: ["sf-studio-pickup", "sf-studio-dropoff"], dwellTicks: 9 },
|
||||
{ id: "sf-studio-inspect-display", label: "Demo display inspection", kind: "inspect", stationIds: ["sf-studio-display"], dwellTicks: 14 },
|
||||
{ id: "sf-studio-inspect-monitor", label: "Agent monitor inspection", kind: "inspect", stationIds: ["sf-studio-monitor"], dwellTicks: 12 },
|
||||
{ id: "sf-studio-charge", label: "Studio charge cycle", kind: "charge", stationIds: ["sf-studio-dock"], dwellTicks: 1 },
|
||||
],
|
||||
robots: [
|
||||
{ id: "sf-l1-courier", label: "SF L1 courier", levelId: "level-1", spawnStationId: "sf-l1-dock", schedule: ["sf-l1-deliver", "sf-l1-patrol", "sf-l1-charge"], initialBattery: 0.7 },
|
||||
{ id: "sf-l1-inspector", label: "SF L1 inspector", levelId: "level-1", spawnStationId: "sf-l1-lobby", schedule: ["sf-l1-inspect-display", "sf-l1-inspect-board", "sf-l1-patrol", "sf-l1-charge"], initialBattery: 0.48 },
|
||||
{ id: "sf-l2-courier", label: "SF L2 courier", levelId: "level-2", spawnStationId: "sf-l2-dock", schedule: ["sf-l2-deliver", "sf-l2-patrol", "sf-l2-charge"], initialBattery: 0.66 },
|
||||
{ id: "sf-l2-inspector", label: "SF L2 inspector", levelId: "level-2", spawnStationId: "sf-l2-landing", schedule: ["sf-l2-inspect-studio", "sf-l2-inspect-project", "sf-l2-patrol", "sf-l2-charge"], initialBattery: 0.44 },
|
||||
{
|
||||
id: "sf-studio-activity-01",
|
||||
label: "SF studio support robot",
|
||||
levelId: "level-1",
|
||||
spawnStationId: "sf-studio-dock",
|
||||
schedule: ["sf-studio-deliver", "sf-studio-inspect-display", "sf-studio-inspect-monitor", "sf-studio-patrol", "sf-studio-charge"],
|
||||
initialBattery: 0.72,
|
||||
},
|
||||
],
|
||||
} satisfies RobotOperationsDefinition);
|
||||
|
||||
@@ -38,9 +38,21 @@ export const MATEO_COURT_ROBOT_OPERATIONS = Object.freeze({
|
||||
{ id: "la-l2-charge", label: "Loft charge cycle", kind: "charge", stationIds: ["la-l2-dock"], dwellTicks: 1 },
|
||||
],
|
||||
robots: [
|
||||
{ id: "la-l1-courier", label: "LA L1 courier", levelId: "level-1", spawnStationId: "la-l1-dock", schedule: ["la-l1-deliver", "la-l1-patrol", "la-l1-charge"], initialBattery: 0.7 },
|
||||
{ id: "la-l1-inspector", label: "LA L1 inspector", levelId: "level-1", spawnStationId: "la-l1-paseo", schedule: ["la-l1-inspect-directory", "la-l1-inspect-display", "la-l1-patrol", "la-l1-charge"], initialBattery: 0.48 },
|
||||
{ id: "la-l2-courier", label: "LA L2 courier", levelId: "level-2", spawnStationId: "la-l2-dock", schedule: ["la-l2-deliver", "la-l2-patrol", "la-l2-charge"], initialBattery: 0.66 },
|
||||
{ id: "la-l2-inspector", label: "LA L2 inspector", levelId: "level-2", spawnStationId: "la-l2-palmetto", schedule: ["la-l2-inspect-display", "la-l2-inspect-board", "la-l2-patrol", "la-l2-charge"], initialBattery: 0.44 },
|
||||
{
|
||||
id: "la-office-activity-01",
|
||||
label: "LA office operations robot",
|
||||
levelId: "level-1",
|
||||
spawnStationId: "la-l1-dock",
|
||||
schedule: ["la-l1-deliver", "la-l1-inspect-directory", "la-l1-inspect-display", "la-l1-patrol", "la-l1-charge"],
|
||||
initialBattery: 0.7,
|
||||
},
|
||||
{
|
||||
id: "la-office-activity-02",
|
||||
label: "LA model review robot",
|
||||
levelId: "level-2",
|
||||
spawnStationId: "la-l2-dock",
|
||||
schedule: ["la-l2-deliver", "la-l2-inspect-display", "la-l2-inspect-board", "la-l2-patrol", "la-l2-charge"],
|
||||
initialBattery: 0.66,
|
||||
},
|
||||
],
|
||||
} satisfies RobotOperationsDefinition);
|
||||
|
||||
@@ -10,14 +10,14 @@
|
||||
* robot-jobs runtime without changing stable robot ids.
|
||||
*/
|
||||
|
||||
import type { RobotSpec } from "../interiors/robots.ts";
|
||||
import type { Office } from "../interiors/types.ts";
|
||||
import type { ShippedOfficeId } from "./sites.ts";
|
||||
|
||||
export type OfficeRobotJobSet = "studio-support" | "office-operations" | "model-review";
|
||||
|
||||
export interface OfficeActivityRobotSpec extends RobotSpec {
|
||||
export interface OfficeActivityRobotSpec {
|
||||
id: string;
|
||||
levelId: string;
|
||||
/** Stable per-robot seed for a future job scheduler or replay harness. */
|
||||
seed: number;
|
||||
jobSet: OfficeRobotJobSet;
|
||||
|
||||
Reference in New Issue
Block a user