Skip to content

Make idle head motion configurable in AI Agent mode #47

@rebelthor

Description

@rebelthor

Summary

IdleMotionModifier runs randomized head motion while the AI Agent is in STANDBY. Cadence and motion travel are hardcoded today.

Implemented a small on-device "Idle Behavior" screen under Setup → AI.Agent so users can quiet or disable it without rebuilding firmware. Validated on hardware (CoreS3).

Controls

Control Notes
Enable Toggle. Off = modifier not added.
Frequency Sparse / Normal / Frequent. Normal preserves the current 4-8 sec interval.
Intensity Calm / Normal / Lively. Scales motion travel only, not speed (otherwise long idle motions starve HeadPetModifier).

Defaults preserve current behavior. Settings persist in NVS via the
existing XiaozhiConfig_t / Settings pattern.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions