12 KiB
12 KiB
Garage Technical Specification
Project
garage
Purpose
Build and finish the garage auto-simulator setup by consolidating scattered project parts from three computers into one working simulator that runs on a single main computer, with stereoscopic projection, real driving controls, plow control input, and tablet mirror displays.
Current Scope
The current scope is a simulator installation in the garage. The final simulator should run on one main computer, but useful project parts are currently scattered across three different computers and must be inventoried and consolidated.
The simulator must support:
- inventory and consolidation of scattered local projects/repositories from three computers;
- completion of existing auto-simulator work;
- remote visual access for setup/debugging through cameras and VNC where useful;
- a controllable snow-removal truck;
- a snow-covered area;
- a snow-clearing mechanic;
- stereoscopic visual output for two projectors;
- image distortion/warping for a curved projection screen;
- real driving controls from Moza hardware;
- a plow-control joystick, currently in development;
- mirror views streamed to tablets through NDI.
Users And Use Cases
- User: the project owner or tester.
- Use case: start the simulator, drive a truck, clear snow from an area, and see that snow removal progress is tracked.
- Use case: run the simulator on the main computer
Pumpwith two projectors and stereoscopic glasses. - Use case: calibrate projection so the distorted image lands correctly on a curved screen.
- Use case: use Moza steering wheel, Moza pedals, and Moza gearbox as driving inputs.
- Use case: use a separate plow joystick to control the truck blade/plow when the hardware wiring and firmware are ready.
- Use case: view truck mirrors on tablets through NDI video streams.
- Use case: inspect three garage computers as sources of existing simulator code, assets, calibration work, and project fragments.
- Use case: consolidate scattered local projects into a coherent garage simulator project without losing useful history or solutions.
- Use case: connect cameras/webcams so agents can inspect the physical simulator environment and calibration state.
- Use case: control project computers remotely through VNC, preferably TigerVNC when suitable.
Functional Requirements
- The simulator must include a truck.
- The final simulator must run on one main computer.
- Three computers must be inspected because different parts of the project are scattered across them.
- Each source computer must be documented in
locations/once its name, role, and access method are known. - Existing local simulator projects must be inventoried before merging or rewriting.
- Project consolidation must preserve useful work, decisions, and reusable solutions.
- Project computers should support camera/webcam viewing for physical environment analysis where useful.
- Project computers should support VNC remote control where useful; TigerVNC is the preferred open-source option unless a better native/official option is selected.
- The user must be able to control the truck.
- The environment must include snow that can be removed, pushed, reduced, or marked as cleared.
- The simulator must track snow-clearing progress.
- The simulator should provide a basic camera view suitable for driving and observing progress.
- The main simulator computer is named
Pump. Pumpmust drive two projectors.- Projector output must be stereoscopic in
top/bottomformat. - The projected image must be warped/distorted so it appears correct on a curved screen.
- The projection system must support calibration; calibration references may later include pictures or diagrams.
- The simulator must support Moza steering wheel input.
- The simulator must support Moza pedals input.
- The simulator must support Moza gearbox input.
- The simulator must support a plow/blade joystick as a normal joystick device once the hardware is ready.
- The plow joystick is currently in development and wiring is pending.
- The simulator must output mirror camera views to tablets over NDI.
- Tablet mirror feeds should correspond to truck mirrors, not just duplicate the main camera.
Non-Functional Requirements
- The first prototype should be simple enough for fast iteration.
- The design should avoid complex realistic snow physics until the basic gameplay loop is verified.
- The project should keep technical decisions documented as they are made.
- Projection calibration must be repeatable and documented so another agent can understand how to reproduce it.
- Hardware setup must be documented by machine and device, without storing secrets.
- The simulator should separate rendering, input devices, projection calibration, and NDI output enough that they can be tested independently.
- Source-computer inventory must be documented so agents can understand where each project fragment came from.
- Repository/project merging must follow the shared multi-repository workflow and avoid destructive actions until inventory is complete.
- Camera and VNC credentials must not be stored in this repository.
Technical Assumptions
- A browser-based Three.js prototype is a likely default if the user wants fast visual iteration and easy testing.
- Unity, Unreal, or Godot may be considered if realistic vehicle physics becomes more important than fast browser iteration.
- The first snow mechanic can be grid-based, tile-based, or visual-state-based instead of physically simulated.
- The project may later consist of multiple local git repositories, each with its own root
AGENTS.md; the project-level repository map isprojects/garage/repositories.md. - Existing projection-related work exists in separate repositories, but those repositories have not yet been inventoried in this knowledge base.
- Because the final setup needs projector warping, stereo output, hardware input, and NDI, the implementation may need native desktop capabilities or an engine/toolchain that can reliably access those systems.
- There are three computers with scattered project parts. Only
Pumpis named so far. - The final simulator runtime computer is expected to be
Pumpunless a later decision changes this. - The current next phase is discovery and consolidation: identify machines, local repositories, project roles, and what can be reused.
Data And Assets
- Truck model or placeholder geometry.
- Snow-covered ground or lot.
- Cleared-snow visual state.
- Basic UI for progress.
- Projection calibration data for two projectors.
- Curved screen geometry or calibration reference images.
- Stereo camera/render configuration for top/bottom output.
- Input mapping for Moza steering wheel, pedals, and gearbox.
- Input mapping for plow joystick.
- Mirror camera definitions and NDI stream names for tablets.
- Camera/webcam inventory for external environment analysis.
- VNC endpoint inventory for remote control.
Hardware And Installation
Main Computer
- Name:
Pump. - Role: main simulator computer.
- Connected displays: two projectors.
- Output mode: stereoscopic
top/bottom. - Screen: curved projection screen requiring image distortion/warping.
Source Computers
- Total computers containing project parts: three.
- Final runtime computer: one main computer, expected to be
Pump. - Known source computer:
Pump. - Other computer names: not recorded yet.
- Required documentation for each source computer: name, role, OS, network address/access method, connected hardware, local repositories, agent/MCP setup, and which project fragments are stored there.
Projection
- Two projectors must output a stereo image.
- Output format is
top/bottom. - Image must be calibrated and warped for the curved screen.
- Calibration may later be documented with pictures so future agents understand the physical setup.
Driving Controls
- Steering wheel: Moza.
- Pedals: Moza.
- Gearbox: Moza.
- Required behavior: devices should be read by the simulator and mapped to truck driving controls.
Plow Control
- Device: separate joystick for controlling the truck plow/blade.
- Desired behavior: the device should appear to the simulator as a normal joystick.
- Current state: hardware is still in development; wiring is pending.
Mirror Displays
- Truck mirror views must be sent to tablets.
- Transport: NDI.
- Required behavior: tablets receive mirror camera feeds over the network.
Acceptance Criteria
- A user can launch the prototype.
- The three source computers are identified and documented.
- All existing local simulator repositories/projects are inventoried.
- A consolidation plan exists before repositories are merged or rewritten.
- A single target runtime computer is selected and documented.
- A user can drive the truck.
- Driving through or using the truck against snow visibly changes snow state.
- The simulator shows progress or completion state.
- The current project status and technical specification are updated after meaningful changes.
- On
Pump, the simulator can address the two-projector display setup. - The output supports stereo
top/bottomrendering. - The image can be warped/calibrated for the curved screen.
- Moza wheel, pedals, and gearbox inputs are detected and mapped.
- The plow joystick is detected as a joystick after its hardware is ready.
- Mirror camera views can be streamed to tablets through NDI.
Milestones
- Inventory existing repositories and projection work.
- Identify and document all three source computers.
- Inventory local projects and repositories on all three source computers.
- Inventory cameras/webcams useful for setup and calibration analysis.
- Configure or document VNC access for project computers, preferably TigerVNC where suitable.
- Decide merge strategy for scattered simulator projects.
- Confirm the final runtime computer, expected to be
Pump. - Choose target platform and engine.
- Choose implementation repository structure.
- Document
Pumphardware and display configuration. - Prototype stereo top/bottom output.
- Prototype projector warping/calibration for the curved screen.
- Prototype Moza input mapping.
- Prototype plow joystick input once hardware wiring is available.
- Prototype NDI mirror output to tablets.
- Define first prototype architecture.
- Build minimal truck movement.
- Build minimal snow-clearing mechanic.
- Add progress tracking.
- Test and record reusable solutions globally.
Open Questions
- Should the first version be browser-based, desktop-based, Unity, Unreal, Godot, or another platform, given the projector warping, hardware input, stereo output, and NDI requirements?
- Should the simulator be realistic or arcade-style?
- Should the first version be 2D, 2.5D, or 3D?
- Should the truck use keyboard, gamepad, touch, or AI controls?
- Should snow clearing be grid-based, mesh-based, particle-based, or physics-based?
- Should implementation live in one repository or several local repositories that are later combined?
- What are the names and local paths of the existing projection-related repositories?
- What are the names, roles, OS versions, access methods, and local repository paths for the other two source computers?
- Which existing simulator projects need to be merged, archived, or rewritten?
- Is
Pumpdefinitely the final runtime computer for rendering, controls, projection calibration, and NDI output? - What operating system and GPU/display configuration does
Pumpuse? - What exact Moza wheel, pedal, and gearbox models are installed?
- Which NDI receiver app will run on the tablets?
- How many tablet mirror feeds are required?
- What network is used for NDI traffic?
- What is the final joystick hardware interface for the plow controller?
- Which cameras/webcams are available for physical environment analysis?
- Which computers should run VNC, and should TigerVNC be used on each?