Commit Graph

  • 1431d2c164 updated set up docs main Sam Hos 2025-01-27 08:41:19 +01:00
  • 0a8b96a45a increase image compression level and re-enabled thread Sam Hos 2025-01-22 13:46:47 +01:00
  • 69eba455f9 added image compression to thread Sam Hos 2025-01-22 13:32:43 +01:00
  • e262325565 disabled image logick Sam Hos 2025-01-22 12:28:36 +01:00
  • f493665275 riep de functie nergens aan ishak jmilou.ishak 2025-01-21 16:13:26 +01:00
  • 899aa94b40 seperate yolo results because it updates now only when going to /yolo_results ishak jmilou.ishak 2025-01-21 16:01:59 +01:00
  • d5524d7890 shouldn't have done POST ishak jmilou.ishak 2025-01-21 15:09:23 +01:00
  • 976840c6b2 forgot to do system prune ishak jmilou.ishak 2025-01-21 14:28:40 +01:00
  • 88364561ea got error when running new docker ishak jmilou.ishak 2025-01-21 14:27:44 +01:00
  • 64d2aedc3b feat: allow POST method for yolo_results endpoint ishak jmilou.ishak 2025-01-21 14:16:26 +01:00
  • 6597cb133a checking for error in db input ishak jmilou.ishak 2025-01-21 14:10:31 +01:00
  • ec44cb955b feat: implement automatic reconnection for Kobuki when disconnected ishak jmilou.ishak 2025-01-21 12:29:03 +01:00
  • c74b9a8758 refactor: use dynamic port detection for Kobuki communication setup ishak jmilou.ishak 2025-01-21 12:26:41 +01:00
  • b20b9b693a changed portname to const char ishak jmilou.ishak 2025-01-21 12:25:06 +01:00
  • 99599a6c21 refactor: change portname parameter to const char* in startCommunication and improve USB device check logic ishak jmilou.ishak 2025-01-21 12:23:20 +01:00
  • 29ef742a94 fix: use const_cast for port string in Kobuki communication ishak jmilou.ishak 2025-01-20 15:22:16 +01:00
  • 0e9d9dda68 laat kobuki nu connecten op open ports ishak jmilou.ishak 2025-01-20 15:18:37 +01:00
  • 2c630bf89b refactor: improve Kobuki connection handling and add USB device check ishak jmilou.ishak 2025-01-20 12:11:38 +01:00
  • ef3407b742 refactor: reorder includes and improve code formatting for readability ishak jmilou.ishak 2025-01-20 11:15:45 +01:00
  • 3d9a68ff7f added else statement ishak jmilou.ishak 2025-01-20 11:09:12 +01:00
  • aedff1c2cc made more debug ishak jmilou.ishak 2025-01-20 10:58:34 +01:00
  • c31689ac70 Merge branch 'main' of ssh://gitlab.fdmci.hva.nl/technische-informatica-sm3/ti-projectten/rooziinuubii79 ishak jmilou.ishak 2025-01-16 13:55:25 +01:00
  • 1ab718a472 new reconnect function ishak jmilou.ishak 2025-01-16 13:55:24 +01:00
  • bbade2384c Merge branch 'usb-reconnect' into 'main' Sam Hos 2025-01-16 12:36:32 +01:00
  • e04cff3d65 opencv camera logic rewrite usb-reconnect Sam Hos 2025-01-16 12:28:40 +01:00
  • 36aaee9bad removed commented code ishak jmilou.ishak 2025-01-16 12:15:14 +01:00
  • 7b51330675 update image refresh logic to be more optimized Sam Hos 2025-01-15 16:32:23 +01:00
  • 3bb44ad4ab updated readme Sam Hos 2025-01-15 16:32:14 +01:00
  • fb12b20a0b changed colom name, addprint ishak jmilou.ishak 2025-01-15 15:46:39 +01:00
  • 1b3ccd1e72 commented yolor_result_db ishak jmilou.ishak 2025-01-15 15:21:29 +01:00
  • a16abe068c returned to ohter function ishak jmilou.ishak 2025-01-15 15:11:47 +01:00
  • 9f7d7e7ac9 fixed insert into typo ishak jmilou.ishak 2025-01-15 14:53:10 +01:00
  • 6f34a0f554 Merge branch 'main' of ssh://gitlab.fdmci.hva.nl/technische-informatica-sm3/ti-projectten/rooziinuubii79 ishak jmilou.ishak 2025-01-15 14:43:41 +01:00
  • 364f6e5259 test of dit het probleem is voor camera ishak jmilou.ishak 2025-01-15 14:43:40 +01:00
  • 7c30d838f7 added thread.sleep to prevenet console flood Sam Hos 2025-01-15 14:40:24 +01:00
  • 50bf777f78 cam does not work ishak jmilou.ishak 2025-01-15 14:27:33 +01:00
  • 95e2d292c9 Merge branch 'main' of ssh://gitlab.fdmci.hva.nl/technische-informatica-sm3/ti-projectten/rooziinuubii79 ishak jmilou.ishak 2025-01-15 14:10:17 +01:00
  • 3367f1dbd2 returen yolo result db ishak jmilou.ishak 2025-01-15 14:09:46 +01:00
  • e273e175cb remove old code Sam Hos 2025-01-15 13:53:33 +01:00
  • 06e08a2cfb camera reconnection added Sam Hos 2025-01-15 13:50:22 +01:00
  • 4e78caa577 Comment out call to yolo_results_db function in on_message handler ishak jmilou.ishak 2025-01-15 12:22:44 +01:00
  • 5b0e843654 Add call to yolo_results_db function after processing YOLO results ishak jmilou.ishak 2025-01-15 11:36:54 +01:00
  • 466a8659d0 Code toegevoegd voor de sgp32 sensor zodat deze wordt geïnitialiseerd 22-als-developer-wil-ik-een-weerstation-hebben-op-de-robot-waarmee-ik-data-van-de-omgeving-kan Yannick van Etten 2025-01-14 17:43:27 +01:00
  • 8b66702605 changed function ishak jmilou.ishak 2025-01-14 16:50:11 +01:00
  • d8b3ec2938 added thread ishak jmilou.ishak 2025-01-14 16:39:52 +01:00
  • 97076dfe05 Add Kobuki connection monitoring and automatic start/stop functionality ishak jmilou.ishak 2025-01-14 16:35:51 +01:00
  • 967bc8247c Refactor YOLO results handling by separating database insertion logic into a dedicated function ishak jmilou.ishak 2025-01-14 15:37:08 +01:00
  • ff89b8a742 revert and change port number rtsp-camera-stream Sam Hos 2025-01-14 15:07:44 +01:00
  • eaee4ebd60 change port Sam Hos 2025-01-14 15:06:54 +01:00
  • a4ba54161a change streaming protocol to udp Sam Hos 2025-01-14 15:04:06 +01:00
  • 2448691e63 rtsp stream opencv using gstreamen Sam Hos 2025-01-14 14:55:59 +01:00
  • 5d61579973 Refactor YOLO results endpoint to handle empty results and improve database insertion logic ishak jmilou.ishak 2025-01-14 14:22:50 +01:00
  • ebd88e43ab Add error handling and database insertion for YOLO results ishak jmilou.ishak 2025-01-14 13:23:48 +01:00
  • 2fbe18be76 went back ishak jmilou.ishak 2025-01-14 13:14:38 +01:00
  • 74d9687af5 Merge branch 'main' of ssh://gitlab.fdmci.hva.nl/technische-informatica-sm3/ti-projectten/rooziinuubii79 ishak jmilou.ishak 2025-01-14 12:30:56 +01:00
  • 48023773c6 went back to older version. db get empty rows ishak jmilou.ishak 2025-01-14 12:30:54 +01:00
  • 56ac9cf687 change dockerfile command Sam Hos 2025-01-14 12:11:38 +01:00
  • 3232ff121f changed db connection ishak jmilou.ishak 2025-01-14 12:08:08 +01:00
  • 5844387b19 merge foutje opgelost Sam Hos 2025-01-14 11:56:06 +01:00
  • b48243f831 changed sensor data to db in other function ishak jmilou.ishak 2025-01-13 14:57:52 +01:00
  • 317731ec87 python merge fix Sam Hos 2025-01-13 11:00:43 +01:00
  • 441ca19578 repaired js after merge Sam Hos 2025-01-13 10:44:20 +01:00
  • 7f807d0031 added g import from flask Sam Hos 2025-01-13 10:39:23 +01:00
  • c0ec6901c4 edited python requirements Sam Hos 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' Sam Hos 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 35-als-gebruiker-wil-ik-dat-mijn-data-word-opgeslagen-in-een-database-om-data-terug-te-zien Sam Hos 2025-01-13 10:26:29 +01:00
  • 06dd2d9f48 fix: streamline Kobuki communication startup and reconnection logic ishak jmilou.ishak 2025-01-09 15:52:22 +01:00
  • 7d3a5fa9a3 fix: improve Kobuki communication startup and reconnection logging ishak jmilou.ishak 2025-01-09 15:43:45 +01:00
  • 3bca04053a fix: add reconnect attempt logging for Kobuki communication ishak jmilou.ishak 2025-01-09 15:36:28 +01:00
  • 82363d393c fix: add reconnection logic for Kobuki in main loop ishak jmilou.ishak 2025-01-09 15:32:30 +01:00
  • 1964589abc fix: update sensor_data function to process and store JSON message from kobuki ishak jmilou.ishak 2025-01-09 14:57:56 +01:00
  • 8d339851dd commented sensor data ishak jmilou.ishak 2025-01-09 14:51:17 +01:00
  • 79c2073d29 want to check data ishak jmilou.ishak 2025-01-09 14:50:41 +01:00
  • ffbf3347f4 removed parameter ishak jmilou.ishak 2025-01-09 14:37:26 +01:00
  • 64452b78b4 fix: retrieve JSON data directly in sensor_data function ishak jmilou.ishak 2025-01-09 14:36:57 +01:00
  • c87ebc565c fix: parse JSON message before saving sensor data ishak jmilou.ishak 2025-01-09 14:34:26 +01:00
  • 39659fffab fix: correct variable name in on_message function to use 'data' instead of 'kobuki_message' ishak jmilou.ishak 2025-01-09 14:30:33 +01:00
  • a4ae0170a0 refactor: update sensor_data function to accept data directly instead of JSON string ishak jmilou.ishak 2025-01-09 14:29:54 +01:00
  • ed475cd19f split the data ishak jmilou.ishak 2025-01-09 14:28:04 +01:00
  • a9c37ec470 fix: ensure app context is set when saving sensor data ishak jmilou.ishak 2025-01-09 14:21:06 +01:00
  • 369120b16b feat: save sensor data to the database upon receiving message ishak jmilou.ishak 2025-01-09 14:19:01 +01:00
  • ec71028270 wrote own functions for sending data ishak jmilou.ishak 2025-01-09 14:16:16 +01:00
  • 7560b0f67a changed to 2 functions ishak jmilou.ishak 2025-01-09 14:09:33 +01:00
  • 331de940cc fixed variable name ishak jmilou.ishak 2025-01-09 14:06:13 +01:00
  • ec0b32a221 changed name ishak jmilou.ishak 2025-01-09 14:04:40 +01:00
  • 3aa77f5314 feat: insert sensor data into the database upon command execution ishak jmilou.ishak 2025-01-09 14:03:24 +01:00
  • e59f235b91 changed db send data to other function ishak jmilou.ishak 2025-01-09 13:58:34 +01:00
  • 2e4f048ed9 feat: call save_sensor_data function upon receiving kobuki/data message ishak jmilou.ishak 2025-01-09 13:56:45 +01:00
  • 9a3829cdb2 feat: add save_sensor_data function to insert sensor data into the database ishak jmilou.ishak 2025-01-09 13:54:15 +01:00
  • 015b2db819 refactor: change startCommunication return type from bool to void ishak jmilou.ishak 2025-01-09 13:48:01 +01:00
  • 6ef739f794 removed thread ishak jmilou.ishak 2025-01-09 13:40:47 +01:00
  • ec2a08c656 refactor: comment out connection check in sendKobukiData function ishak jmilou.ishak 2025-01-09 13:38:18 +01:00
  • 89421ccf34 replaced connect ishak jmilou.ishak 2025-01-09 13:31:41 +01:00
  • 1c081451aa made thread to wait 1 sec before reconnect ishak jmilou.ishak 2025-01-09 13:29:25 +01:00
  • 2396d61eae fix: update on_message function signature to include userdata parameter ishak jmilou.ishak 2025-01-09 13:24:57 +01:00
  • fa17893b1b fix: update connection check method in sendKobukiData function ishak jmilou.ishak 2025-01-09 13:21:14 +01:00
  • 07d88eef7d fix: improve connection handling and logging in KobukiDriver ishak jmilou.ishak 2025-01-09 13:19:00 +01:00
  • d066f68ad2 replaced /data endpoint ishak jmilou.ishak 2025-01-09 12:56:25 +01:00
  • d90ac72591 test older version ishak jmilou.ishak 2025-01-09 12:52:11 +01:00
  • a2aa80804e fix: move mqtt_client.on_message assignment under function definition ishak jmilou.ishak 2025-01-09 12:47:39 +01:00