Commit Graph

272 Commits

Author SHA1 Message Date
ishak jmilou.ishak
ec44cb955b feat: implement automatic reconnection for Kobuki when disconnected 2025-01-21 12:29:03 +01:00
ishak jmilou.ishak
c74b9a8758 refactor: use dynamic port detection for Kobuki communication setup 2025-01-21 12:26:41 +01:00
ishak jmilou.ishak
b20b9b693a changed portname to const char 2025-01-21 12:25:06 +01:00
ishak jmilou.ishak
99599a6c21 refactor: change portname parameter to const char* in startCommunication and improve USB device check logic 2025-01-21 12:23:20 +01:00
ishak jmilou.ishak
29ef742a94 fix: use const_cast for port string in Kobuki communication 2025-01-20 15:22:16 +01:00
ishak jmilou.ishak
0e9d9dda68 laat kobuki nu connecten op open ports 2025-01-20 15:18:37 +01:00
ishak jmilou.ishak
2c630bf89b refactor: improve Kobuki connection handling and add USB device check 2025-01-20 12:11:38 +01:00
ishak jmilou.ishak
ef3407b742 refactor: reorder includes and improve code formatting for readability 2025-01-20 11:15:45 +01:00
ishak jmilou.ishak
3d9a68ff7f added else statement 2025-01-20 11:09:12 +01:00
ishak jmilou.ishak
aedff1c2cc made more debug 2025-01-20 10:58:34 +01:00
ishak jmilou.ishak
c31689ac70 Merge branch 'main' of ssh://gitlab.fdmci.hva.nl/technische-informatica-sm3/ti-projectten/rooziinuubii79 2025-01-16 13:55:25 +01:00
ishak jmilou.ishak
1ab718a472 new reconnect function 2025-01-16 13:55:24 +01:00
e04cff3d65 opencv camera logic rewrite 2025-01-16 12:28:40 +01:00
7c30d838f7 added thread.sleep to prevenet console flood 2025-01-15 14:40:38 +01:00
e273e175cb remove old code 2025-01-15 13:53:33 +01:00
06e08a2cfb camera reconnection added 2025-01-15 13:52:13 +01:00
ishak jmilou.ishak
8b66702605 changed function 2025-01-14 16:50:11 +01:00
ishak jmilou.ishak
d8b3ec2938 added thread 2025-01-14 16:39:52 +01:00
ishak jmilou.ishak
97076dfe05 Add Kobuki connection monitoring and automatic start/stop functionality 2025-01-14 16:35:51 +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
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
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
72a0fadef8 add UML diagram for system architecture and clean up MQTT client initialization 2025-01-09 11:45:19 +01:00
ishak jmilou.ishak
71091f57dd removed code that didnt work 2025-01-08 15:25:30 +01:00
ishak jmilou.ishak
fa85be2df5 removed mqtt check 2025-01-08 14:18:46 +01:00
ishak jmilou.ishak
4bf3cd6d37 added mqtt connection safety 2025-01-08 14:15:06 +01:00
ishak jmilou.ishak
361c17fbdb comment everything again 2025-01-08 13:59:06 +01:00
ishak jmilou.ishak
fe3fe2b8cf restored all my code 2025-01-08 13:40:38 +01:00
ishak jmilou.ishak
bcac062cdf comment out monitorKobukiConnection thread for debugging 2025-01-08 13:31:57 +01:00
ishak jmilou.ishak
b12e4c7539 removed thread as well 2025-01-08 13:29:43 +01:00
ishak jmilou.ishak
a979d15a6e commented my new code to check if bug is still here 2025-01-08 13:27:34 +01:00
ishak jmilou.ishak
184e723379 added new thread 2025-01-08 13:05:19 +01:00
ishak jmilou.ishak
2bfd11276a importlist changed 2025-01-07 15:00:13 +01:00
ishak jmilou.ishak
bc0b878230 changed to bool 2025-01-07 14:40:55 +01:00
ishak jmilou.ishak
806bb16662 changed startcom function 2025-01-07 14:38:38 +01:00
ishak jmilou.ishak
56f085b73d added parameters 2025-01-07 14:33:12 +01:00
ishak jmilou.ishak
b111e49dff functions for auto reconnect with pi and kobuki 2025-01-07 14:28:06 +01:00
6fe28f997a edited kobuki speedvalue for safety 2025-01-07 12:51:24 +01:00
9c41d64c69 remove mqtt debug print 2025-01-06 11:23:27 +01:00
b48eda9735 change image refresh time 2025-01-06 10:35:54 +01:00
ishak jmilou.ishak
bb1904b125 commentaar naar engels 2025-01-06 09:53:01 +01:00