ishak jmilou.ishak
97076dfe05
Add Kobuki connection monitoring and automatic start/stop functionality
2025-01-14 16:35:51 +01:00
ishak jmilou.ishak
967bc8247c
Refactor YOLO results handling by separating database insertion logic into a dedicated function
2025-01-14 15:37:08 +01:00
ishak jmilou.ishak
5d61579973
Refactor YOLO results endpoint to handle empty results and improve database insertion logic
2025-01-14 14:22:50 +01:00
ishak jmilou.ishak
ebd88e43ab
Add error handling and database insertion for YOLO results
2025-01-14 13:23:48 +01:00
ishak jmilou.ishak
2fbe18be76
went back
2025-01-14 13:14:38 +01:00
ishak jmilou.ishak
74d9687af5
Merge branch 'main' of ssh://gitlab.fdmci.hva.nl/technische-informatica-sm3/ti-projectten/rooziinuubii79
2025-01-14 12:30:56 +01:00
ishak jmilou.ishak
48023773c6
went back to older version. db get empty rows
2025-01-14 12:30:54 +01:00
56ac9cf687
change dockerfile command
2025-01-14 12:11:50 +01:00
ishak jmilou.ishak
3232ff121f
changed db connection
2025-01-14 12:08:08 +01:00
5844387b19
merge foutje opgelost
2025-01-14 11:56:28 +01:00
ishak jmilou.ishak
b48243f831
changed sensor data to db in other function
2025-01-13 14:57:52 +01:00
317731ec87
python merge fix
2025-01-13 11:00:43 +01:00
441ca19578
repaired js after merge
2025-01-13 10:44:20 +01:00
7f807d0031
added g import from flask
2025-01-13 10:39:23 +01:00
c0ec6901c4
edited python requirements
2025-01-13 10:33:46 +01:00
2fa8fb2926
Merge branch '35-als-gebruiker-wil-ik-dat-mijn-data-word-opgeslagen-in-een-database-om-data-terug-te-zien' into 'main'
...
Resolve "Als gebruiker wil ik dat mijn data word opgeslagen in een database om data terug te zien"
Closes #35
See merge request technische-informatica-sm3/ti-projectten/rooziinuubii79!4
2025-01-13 10:27:00 +01:00
3fddee73c7
Merge branch 'main' into 35-als-gebruiker-wil-ik-dat-mijn-data-word-opgeslagen-in-een-database-om-data-terug-te-zien
2025-01-13 10:26:29 +01:00
ishak jmilou.ishak
06dd2d9f48
fix: streamline Kobuki communication startup and reconnection logic
2025-01-09 15:52:22 +01:00
ishak jmilou.ishak
7d3a5fa9a3
fix: improve Kobuki communication startup and reconnection logging
2025-01-09 15:43:45 +01:00
ishak jmilou.ishak
3bca04053a
fix: add reconnect attempt logging for Kobuki communication
2025-01-09 15:36:28 +01:00
ishak jmilou.ishak
82363d393c
fix: add reconnection logic for Kobuki in main loop
2025-01-09 15:32:30 +01:00
ishak jmilou.ishak
1964589abc
fix: update sensor_data function to process and store JSON message from kobuki
2025-01-09 14:57:56 +01:00
ishak jmilou.ishak
8d339851dd
commented sensor data
2025-01-09 14:51:17 +01:00
ishak jmilou.ishak
79c2073d29
want to check data
2025-01-09 14:50:41 +01:00
ishak jmilou.ishak
ffbf3347f4
removed parameter
2025-01-09 14:37:26 +01:00
ishak jmilou.ishak
64452b78b4
fix: retrieve JSON data directly in sensor_data function
2025-01-09 14:36:57 +01:00
ishak jmilou.ishak
c87ebc565c
fix: parse JSON message before saving sensor data
2025-01-09 14:34:26 +01:00
ishak jmilou.ishak
39659fffab
fix: correct variable name in on_message function to use 'data' instead of 'kobuki_message'
2025-01-09 14:30:33 +01:00
ishak jmilou.ishak
a4ae0170a0
refactor: update sensor_data function to accept data directly instead of JSON string
2025-01-09 14:29:54 +01:00
ishak jmilou.ishak
ed475cd19f
split the data
2025-01-09 14:28:04 +01:00
ishak jmilou.ishak
a9c37ec470
fix: ensure app context is set when saving sensor data
2025-01-09 14:21:06 +01:00
ishak jmilou.ishak
369120b16b
feat: save sensor data to the database upon receiving message
2025-01-09 14:19:01 +01:00
ishak jmilou.ishak
ec71028270
wrote own functions for sending data
2025-01-09 14:16:16 +01:00
ishak jmilou.ishak
7560b0f67a
changed to 2 functions
2025-01-09 14:09:33 +01:00
ishak jmilou.ishak
331de940cc
fixed variable name
2025-01-09 14:06:13 +01:00
ishak jmilou.ishak
ec0b32a221
changed name
2025-01-09 14:04:40 +01:00
ishak jmilou.ishak
3aa77f5314
feat: insert sensor data into the database upon command execution
2025-01-09 14:03:24 +01:00
ishak jmilou.ishak
e59f235b91
changed db send data to other function
2025-01-09 13:58:34 +01:00
ishak jmilou.ishak
2e4f048ed9
feat: call save_sensor_data function upon receiving kobuki/data message
2025-01-09 13:56:45 +01:00
ishak jmilou.ishak
9a3829cdb2
feat: add save_sensor_data function to insert sensor data into the database
2025-01-09 13:54:15 +01:00
ishak jmilou.ishak
015b2db819
refactor: change startCommunication return type from bool to void
2025-01-09 13:48:01 +01:00
ishak jmilou.ishak
6ef739f794
removed thread
2025-01-09 13:40:47 +01:00
ishak jmilou.ishak
ec2a08c656
refactor: comment out connection check in sendKobukiData function
2025-01-09 13:38:18 +01:00
ishak jmilou.ishak
89421ccf34
replaced connect
2025-01-09 13:31:41 +01:00
ishak jmilou.ishak
1c081451aa
made thread to wait 1 sec before reconnect
2025-01-09 13:29:25 +01:00
ishak jmilou.ishak
2396d61eae
fix: update on_message function signature to include userdata parameter
2025-01-09 13:24:57 +01:00
ishak jmilou.ishak
fa17893b1b
fix: update connection check method in sendKobukiData function
2025-01-09 13:21:14 +01:00
ishak jmilou.ishak
07d88eef7d
fix: improve connection handling and logging in KobukiDriver
2025-01-09 13:19:00 +01:00
ishak jmilou.ishak
d066f68ad2
replaced /data endpoint
2025-01-09 12:56:25 +01:00
ishak jmilou.ishak
d90ac72591
test older version
2025-01-09 12:52:11 +01:00