Skip to content

rover_brain.py GEMMA4=1 integration + live E2E test #5

@chatde

Description

@chatde

Parent PRD

#1

What to build

Wire Gemma4Brain into the full RoverBrain startup path via the GEMMA4=1 env var, and validate the complete system runs end-to-end with a real Vector robot: face detection still works (onboard), BehaviorArbiter arbitrates correctly, Gemma 4 provides nav decisions, memory persists across restart.

Acceptance criteria

  • GEMMA4=1 python3 main.py boots without errors
  • Logger shows: 🧠 Gemma 4 brain ACTIVE — LLaVA + Llama3.1 replaced
  • BehaviorArbiter.translate_ai_decision() correctly handles Gemma4Brain output
  • Vector's onboard face detection still triggers (ONBOARD priority, not replaced)
  • Gemma 4 nav decision (AI priority) is overridden by safety events correctly
  • After 2 minutes of roaming, MemoryBank has at least 3 new Gemma 4 observations
  • Restarting with GEMMA4=1 loads prior MemoryBank — Gemma 4 references past observations
  • GEMMA4=0 python3 main.py (or without flag) still uses original AIBrain (LLaVA)

Blocked by

User stories addressed

  • Full Vector AI system runs on Gemma 4 with a single env var
  • Existing face detection, cliff safety, and mission features all preserved

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions