Skip to main content

Other Useful HAL Surfaces

HAL only mounts the route modules a device declares in its robots/<device>/ROBOT.md, plus a few that are always on (audio, emotion, scene, system, bluetooth). Intern v2 Pro has no camera, no servos and no display, so those routes are simply absent on it — they're listed here because the same HAL runs on Lamp.

DomainSource fileHighlightsOn Intern v2 Pro?
Emotionhal/routes/emotion.pyPOST /emotion ({"emotion": "…", "intensity": 0.7}), GET /emotion/presets, GET /emotion/status — coordinated servo + LED + displayYes — LED only
Scenehal/routes/scene.pyGET /scene (list presets), POST /scene ({"scene": "…"}), POST /scene/off — lighting scene presetsYes
Face recognitionhal/routes/sensing.pyPOST /face/enroll, GET /face/owners, POST /face/remove, POST /face/resetMounted, but there's no camera to feed it
Servohal/routes/servo.py/servo/aim, /servo/track, /servo/play, /servo/moveNo (Lamp)
Camerahal/routes/camera.pyGET /camera/snapshot, GET /camera/stream, /camera/enable, /camera/disableNo (Lamp)
Displayhal/routes/display.py/display/eyes, /display/info, /display/eyes-mode, GET /display/snapshotNo (Lamp)