- Closes#3: execute_pick and execute_lift now accept an optional
current_pos parameter. Callers (execute_command) pass self.current_pos
so move_line starts from the actual arm position rather than a hardcoded
[120, 0, 60] default. Falls back to rest position when None.
- Closes#4: add requirements.txt with correct package names.
Note: README listed 'openai-whisper' but the code imports faster_whisper;
requirements.txt uses the correct 'faster-whisper' package name.
- Replace all `servo_buffer = []` assignments with `.clear()` to stay
compatible with the deque introduced in PR #8 (#6 follow-up).
- Partial #5: translate Chinese print/comment strings to English in
execute_pick, execute_lift, and execute_command.
whisper_main.py:
- Remove RobotEar.start_recording() and record_callback() which called
the nonexistent sd.start_stream() API (correct API is sd.InputStream).
These methods were never called by voice_main.py and contained a broken
sounddevice API call that would raise AttributeError (#2).
- Remove unused recording_buffer field
- Translate Chinese comment/docstring to English (#5)
voice_main.py:
- Move `import scipy.io.wavfile as wav` from inside get_audio_text()
function body to module top-level where all imports belong (#4 related)
- Sort imports: stdlib before third-party, local last
- Remove Chinese comment, replace with English equivalent