Commit graph

9 commits

Author SHA1 Message Date
01313a1d94 merge: fix bare except + deque optimization (closes #1, #6) 2026-02-20 20:45:18 +08:00
f1df158d56 fix(arm_main): replace bare except with SerialException, use deque for servo_buffer
- Replace `except:` with `except serial.SerialException as e` to prevent
  silently swallowing KeyboardInterrupt and other system exceptions (#1)
- Replace list + pop(0) with collections.deque(maxlen=N) for O(1) buffer
  management; removes manual length check in _send_and_audit (#6)
- Rebuild deque in set_damping_params when buffer_size changes
- Translate all Chinese log messages and comments to English (#5)
- Minor: sort imports (stdlib before third-party)
2026-02-20 20:22:12 +08:00
whisper11111111111
a7209c4f78 Optimize project introduction in README 2026-02-11 00:16:49 +08:00
whisper11111111111
0e7d692784 Add BOM list and cost summary 2026-02-11 00:11:53 +08:00
whisper11111111111
e7278edeb4 Enhance README with project overview and keywords 2026-02-10 23:56:33 +08:00
whisper11111111111
c7828ea914 Add main.ino firmware and update docs 2026-02-10 23:52:15 +08:00
whisper11111111111
865957604d Set replication guide as README.md 2026-02-10 23:43:48 +08:00
whisper11111111111
eaa8b9a132 Add usage manual and replication guide 2026-02-10 23:41:06 +08:00
whisper11111111111
bb85c3266b Initial commit for robot arm voice control system 2026-02-10 23:31:14 +08:00