cmvr-head-client/ui
2026-08-05 16:42:59 +08:00
..
__pycache__ first commit 2026-08-05 16:42:59 +08:00
face_servo_control.py first commit 2026-08-05 16:42:59 +08:00
README.md first commit 2026-08-05 16:42:59 +08:00

Face Servo UI

Run the desktop UI from the repository root:

powershell -ExecutionPolicy Bypass -File .\run_ui.ps1

If you only changed Python/UI code and want to skip rebuilding _s_curve_native:

powershell -ExecutionPolicy Bypass -File .\run_ui.ps1 -SkipBuild

If you need to override the Python path:

powershell -ExecutionPolicy Bypass -File .\run_ui.ps1 -PythonExecutable "C:\Users\Administrator\miniconda3\envs\cmvr-head-client\python.exe"

Current UI scope includes:

  • servo_service eRPC control
  • single-servo / moveJ controls
  • SCurve preview
  • SCurvePositionPlanner1D preview

Default serial settings are COM8 and 115200.

The servo config uploader defaults to config/servo_config.yaml. It runs config/yaml_to_json.py and uploads the generated JSON to config/servo_config.json on the device. The converter requires PyYAML:

python -m pip install PyYAML