Commit Graph

9 Commits

Author SHA1 Message Date
Twirre Meulenbelt
c634e4b516 chore: replace print with logging and make robot conditional
All print statements in the main program, and components used by the main program, have been replaced with appropriate logging statements. The connection to the robot now only gets made when it's possible, otherwise only the microphone will be run.

ref: N25B-119
2025-10-02 16:13:39 +02:00
Twirre Meulenbelt
2132a74321 fix: allow access to state's exit_event while exiting
When exiting, the state's `is_initialized` flag is unset. Noticeable on Windows, when a thread tried to access the state's `exit_event` property to check whether it had been set, it would complain that the state was no longer initialized. Now, even when no longer initialized, if the `exit_event` is set, it will not raise an error when accessing this attribute.

ref: N25B-119
2025-10-01 17:34:51 +02:00
Twirre Meulenbelt
d21c7fa423 fix: always use 1 audio channel
Before, I chose the number of audio channels that the microphone supports. Should be 1.

ref: N25B-119
2025-10-01 13:41:53 +02:00
Twirre Meulenbelt
afae6fc331 feat: stream audio to CB
Uses PyAudio and ZeroMQ to publish audio chunks.

ref: N25B-119
2025-10-01 10:50:53 +02:00
da99b5cd62 chore: update README 2025-09-30 13:26:42 +02:00
d48ea930a1 chore: complete installation instructions
ref: N25B-115
2025-09-30 13:16:33 +02:00
9e001da685 chore: update README and gitignore
Add installation instructions for the development environment.

ref: N25B-115
2025-09-30 13:14:52 +02:00
a41552f7c6 feat: basic implementation of CB2RI
Nothing fancy yet. When we receive a message through ZeroMQ's PUB/SUB
architecture, we tell the robot to say it out loud.
2025-09-27 20:41:03 +02:00
318ad5f88a Initial commit 2025-09-27 15:46:26 +00:00