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
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
example/8.stare_at_you.pyusing Vilib face detection + proportional pan/tiltbin/tool-face-followwithPX_FACE_FOLLOW=on|offspark_face_follow: true)Difficulty
⭐⭐ Intermediate — GPIO yield pattern is established, Vilib is already installed
See also
docs/feature-ideas.md,example/8.stare_at_you.py