Skip to content

feat: Face Follow Mode — SPARK tracks Obi with the camera #31

Description

@adrianwedd

Summary

When Obi is nearby, SPARK slowly turns its camera to face him and tracks him as he moves around the room.

Why

Makes SPARK feel alive and attentive. A robot that looks at you is a fundamentally different experience from one that stares at a wall. Kids love being noticed.

How

  • Stock picar-x already has example/8.stare_at_you.py using Vilib face detection + proportional pan/tilt
  • Wrap in bin/tool-face-follow with PX_FACE_FOLLOW=on|off
  • Store toggle in session (spark_face_follow: true)
  • px-alive yields GPIO via SIGUSR1 before face-follow claims Picarx handle
  • px-mind Layer 3 can enable/disable based on proximity awareness

Difficulty

⭐⭐ Intermediate — GPIO yield pattern is established, Vilib is already installed

See also

docs/feature-ideas.md, example/8.stare_at_you.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfeature-ideaSuggested feature — not yet startedhardwareGPIO, servos, I2C, audiosparkSPARK persona — child companion & regulation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions