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
|
48023773c6
|
went back to older version. db get empty rows
|
2025-01-14 12:30:54 +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 |
|
|
7f807d0031
|
added g import from flask
|
2025-01-13 10:39:23 +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
|
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
|
2396d61eae
|
fix: update on_message function signature to include userdata parameter
|
2025-01-09 13:24:57 +01:00 |
|
ishak jmilou.ishak
|
d066f68ad2
|
replaced /data endpoint
|
2025-01-09 12:56:25 +01:00 |
|
ishak jmilou.ishak
|
a2aa80804e
|
fix: move mqtt_client.on_message assignment under function definition
|
2025-01-09 12:47:39 +01:00 |
|
ishak jmilou.ishak
|
1a4056ff77
|
return raw kobuki_message instead of jsonify in data endpoint
|
2025-01-09 12:02:36 +01:00 |
|
|
1bf9ebddab
|
added mutex in python
|
2025-01-07 11:30:04 +01:00 |
|
|
585a0e9a52
|
fix thread crash
|
2025-01-07 11:19:47 +01:00 |
|
|
cb988a5260
|
store new image in processed_image
|
2025-01-07 11:09:33 +01:00 |
|
|
7d1b878c30
|
fix yolo image boxes
|
2025-01-06 16:11:03 +01:00 |
|
|
228c508012
|
attempt to fix broken code
|
2025-01-06 16:02:17 +01:00 |
|
|
7845feb9f8
|
update yolo naming in image
|
2025-01-06 15:55:24 +01:00 |
|
|
20d6d8799d
|
attempt to show name next to image box
|
2025-01-06 15:45:29 +01:00 |
|
|
9c7c774030
|
change boxing and text error of YOLO
|
2025-01-06 15:26:00 +01:00 |
|
|
0832da0d3b
|
change mqtt port in python
|
2025-01-06 15:16:13 +01:00 |
|
|
c3d575ccf1
|
added yolo image object detection to /image
|
2025-01-06 13:00:00 +01:00 |
|
ishak jmilou.ishak
|
52eff9ec39
|
return JSON response for /data endpoint
|
2024-12-19 22:02:36 +01:00 |
|
ishak jmilou.ishak
|
a6b1c04ea3
|
returned global variables
|
2024-12-19 20:03:36 +01:00 |
|
ishak jmilou.ishak
|
9cd6d3aa79
|
removed variable
|
2024-12-19 20:01:09 +01:00 |
|
ishak jmilou.ishak
|
072b54af04
|
added kobuki_message
|
2024-12-17 15:49:32 +01:00 |
|
ishak jmilou.ishak
|
e0560d7162
|
changed mqtt port
|
2024-12-17 15:43:05 +01:00 |
|
ishak jmilou.ishak
|
4da91f22ca
|
changed
|
2024-12-17 15:03:21 +01:00 |
|
ishak jmilou.ishak
|
c4d2888fbf
|
changed order
|
2024-12-17 14:58:31 +01:00 |
|