Commit Graph

86 Commits

Author SHA1 Message Date
814a928ae4 Merge remote-tracking branch 'origin/dev' into fix/bdi-correct-belief-management 2025-10-29 13:25:58 +01:00
2da02946ed chore: remove manual testing function
ref: N25B-197
2025-10-29 13:21:55 +01:00
3b7aeafe5e fix: correct belief management
There was an issue in how we treated beliefs, specifically with multiple beliefs of the same name but different arguments. This is fixed with this commit.

Also implemented correct updating of the "responded" belief, when the user_said belief is updated (when we get a new user message, we state that we have not yet responded to that message)

ref: N25B-197
2025-10-29 11:23:56 +01:00
Pim Hutting
e36f5fcef4 Merge branch 'feat/vad-agent' into 'dev'
Implement the VAD agent

See merge request ics/sp/2025/n25b/pepperplus-cb!10
2025-10-29 08:15:23 +00:00
Twirre Meulenbelt
f73f510608 fix: make VAD unit tests work with minimal dependencies
By mocking PyTorch and ZMQ and adding the Numpy dependency.

ref: N25B-213
2025-10-28 18:13:00 +01:00
Twirre Meulenbelt
fd1facedd1 chore: update integration test run instructions
No longer `--only-group`, but `--group` so that it also uses the default dependencies.

ref: N25B-213
2025-10-28 15:00:51 +01:00
Twirre Meulenbelt
7a96920db5 Merge remote-tracking branch 'origin/dev' into feat/vad-agent 2025-10-28 14:55:10 +01:00
Twirre
b551e4e042 Merge branch 'feat/cb2ui-robot-connections' into 'dev'
Merge new implementation of robot ri api with unit tests into dev.

See merge request ics/sp/2025/n25b/pepperplus-cb!6
2025-10-28 13:49:40 +00:00
Björn Otgaar
158911b134 fix: change conftest place
ref: N25B-205
2025-10-28 14:38:31 +01:00
Björn Otgaar
2b8a396766 fix: just dont do integration tests. :(
ref: N25B-205
2025-10-28 14:27:46 +01:00
Björn Otgaar
bea6bf2a60 fix: Reverted to different branch and updated gitlab cicd for this branch
ref: N25B-205
2025-10-28 14:18:55 +01:00
Björn Otgaar
e196609e64 Revert "fix: fix only group integration testing to exclude missing dependencies"
This reverts commit c75f5de97c.
2025-10-28 14:16:58 +01:00
Björn Otgaar
fd11e63b78 Revert "fix: unit test refactoring with conftest and more mocks"
This reverts commit 423309e063.
2025-10-28 14:16:39 +01:00
Björn Otgaar
437b21a6d6 Revert "fix: quick fix for pydantic import for tests"
This reverts commit acb6a69467.
2025-10-28 14:16:15 +01:00
Björn Otgaar
a1b8a7a05e Revert "fix: quick fix for fastapi import for tests"
This reverts commit 3730943b9e.
2025-10-28 14:14:33 +01:00
Twirre Meulenbelt
1cfefc8f8c fix: reduce debug log message amount when no audio received
Used to be every `timeout` time that we'd get the message that no audio data is received. Now only the first time since no data is received.

ref: N25B-213
2025-10-28 13:30:45 +01:00
Björn Otgaar
3730943b9e fix: quick fix for fastapi import for tests
ref: N25B-205
2025-10-28 13:30:15 +01:00
Björn Otgaar
acb6a69467 fix: quick fix for pydantic import for tests
Ref: N25B-205
2025-10-28 13:28:38 +01:00
Björn Otgaar
423309e063 fix: unit test refactoring with conftest and more mocks
ref: N25B-205
2025-10-28 13:26:33 +01:00
Björn Otgaar
c75f5de97c fix: fix only group integration testing to exclude missing dependencies
ref: N25B-205
2025-10-28 12:20:43 +01:00
Björn Otgaar
473c0fdce1 fix: fix gitlab ci pipeline
ref: N25B-205
2025-10-28 12:07:42 +01:00
Björn Otgaar
47a87d0b4a fix: unit tests fixes and ruff formating
N25B-205
2025-10-28 11:31:05 +01:00
Björn Otgaar
52faa59184 Merge remote-tracking branch 'origin/dev' into feat/cb2ui-robot-connections 2025-10-28 11:09:23 +01:00
Björn Otgaar
149d20e77b chore: apply recommended changes for merging 2025-10-28 11:05:27 +01:00
Twirre Meulenbelt
833dd6c9d4 feat: allow no audio input while robot is speaking
The VAD agent will discard its current buffer and retry receiving data.

ref: N25B-213
2025-10-28 10:58:28 +01:00
Twirre Meulenbelt
a44df4781b Merge remote-tracking branch 'origin/dev' into feat/vad-agent
# Conflicts:
#	pyproject.toml
#	src/control_backend/main.py
#	uv.lock
2025-10-28 10:44:03 +01:00
Twirre
dc811fd625 Merge branch 'style/fix-style' into 'dev'
Fix style and add linting/formatting pre-commits

See merge request ics/sp/2025/n25b/pepperplus-cb!9
2025-10-28 09:32:11 +00:00
65cfdda7d9 docs: add linting/formatting pre-commit entry to the README 2025-10-27 15:20:04 +01:00
4859c3ac04 style: fix style 2025-10-27 15:10:31 +01:00
Twirre Meulenbelt
d47074d091 test: complete VAD unit and integration tests
Including an integration test with real voice audio.

ref: N25B-213
2025-10-23 21:17:41 +02:00
Twirre Meulenbelt
ca5e59d029 test: add first unit test for VAD agent
Mocking audio input probabilities, checking whether it publishes audio data on the output socket.

ref: N25B-213
2025-10-23 17:40:47 +02:00
Björn Otgaar
31e77de26b chore: fix style guide max characters 2025-10-23 17:12:49 +02:00
Björn Otgaar
c1217a9017 fix: fixed duplicate entry in uv.lock
ref: N25B-205
2025-10-23 17:02:17 +02:00
Björn Otgaar
87bd12d7a5 fix: restructure tests for integration
ref: N25B-205
2025-10-23 16:54:25 +02:00
Björn Otgaar
d599f71c8a Merge remote-tracking branch 'origin/dev' into feat/cb2ui-robot-connections 2025-10-23 16:48:04 +02:00
Björn Otgaar
a2a04740e5 chore: add unit test for router and implement command router
ref: N25B-205
2025-10-23 16:45:41 +02:00
Twirre Meulenbelt
6391af883a feat: implement VAD agent
Listens to audio from the RI, does voice activity detection, sends voice fragments.

ref: N25B-213
2025-10-23 14:54:57 +02:00
Björn Otgaar
1f8d769762 chore: adjust message/command structure and write unit tests
ref: N25B-205
2025-10-23 12:54:53 +02:00
Luijkx,S.O.H. (Storm)
9b36982bf2 Merge branch 'feat/agentic-architecture' into 'dev'
Add basic BDI agent

See merge request ics/sp/2025/n25b/pepperplus-cb!8
2025-10-23 10:39:41 +00:00
a01b3c3b14 fix: mock correct libraries before tests 2025-10-22 15:21:15 +02:00
675320a051 chore: remove test_tempy.py 2025-10-22 14:54:01 +02:00
1b896ee2da Merge branch 'dev' into feat/agentic-architecture 2025-10-22 14:51:37 +02:00
e057cf3003 test: add unit tests to BeliefCollector
ref: N25B-197
2025-10-22 14:51:20 +02:00
7e7d98a2fc fix: set PYTHONPATH variable for pytest 2025-10-22 12:46:32 +00:00
cd0b3ee9a0 Merge branch 'dev' into feat/agentic-architecture 2025-10-22 14:20:43 +02:00
a3000f1e48 Merge branch 'feat/automatic-testing' into 'dev'
Automatic testing

See merge request ics/sp/2025/n25b/pepperplus-cb!7
2025-10-22 12:13:18 +00:00
2069ac1a93 feat: automatic testing
This commit adds a .gitlab-ci.yml file, which is responsible for
defining jobs to be run (in this case only running the test suite)

ref: N25B-65
2025-10-22 14:05:45 +02:00
Björn Otgaar
530fc42c50 fix: router changes + hopefully gitignore
ref: N25B-205
2025-10-22 12:50:29 +02:00
Björn Otgaar
d71cb60523 fix: gitignore + testing map structure
ref: N25B-205
2025-10-22 12:41:47 +02:00
Björn Otgaar
77c6704632 fix: unit tests changes to account for address changes
ref: N25B-205
2025-10-22 11:12:58 +02:00