Commit Graph
84 Commits
Author SHA1 Message Date
zeunerti74726 6692a2fcda combine rotation and translation 2023-02-01 17:26:35 +01:00
zeunerti74726 f6d346a3c1 Deeskalation bei den Pfeilspitzen 2023-01-31 22:06:00 +01:00
zeunerti74726 0f5c2e3f42 P-Controller Concept 2023-01-31 22:03:25 +01:00
zeunerti74726 2af8bfa536 Merge branch 'master' of https://git.efi.th-nuernberg.de/gitea/yasarba71520/Line-Following-Robot 2023-01-31 22:02:17 +01:00
zeunerti74726 be7b35f668 New angle calculation concept 2023-01-31 22:01:25 +01:00
zeunerti74726 d7fc54cfd0 rad->deg; use predefined pi 2023-01-31 21:18:53 +01:00
zeunerti74726 722898da6d motor float->double, angle int->double 2023-01-31 21:05:04 +01:00
zeunerti74726 0aa939db39 Introduce angle calculation 2023-01-31 21:03:51 +01:00
zeunerti74726 a9a24e5d72 Compile Utils as .lib instead of .dll 2023-01-31 20:36:19 +01:00
zeunerti74726 450bb76d7d Introduce maxSpeed 2023-01-31 12:45:08 +01:00
zeunerti74726 59ce30a828 Start Autonomous via socket; redirect signals to uart 2023-01-29 22:42:33 +01:00
zeunerti74726 b3d0037952 Log Uart communication 2023-01-16 06:38:09 +01:00
zeunerti74726 75e1391017 Redirect telegram to uart 2023-01-16 06:37:39 +01:00
zeunerti74726 e5fc3f9f38 Move initialisation in state machine 2023-01-16 03:57:23 +01:00
zeunerti74726 e7e40ef3b6 separate states from state machine 2023-01-16 03:34:25 +01:00
zeunerti74726 7c8dc41063 Start state machine 2023-01-16 03:04:40 +01:00
zeunerti74726 7411bdc628 Add State Machine 2023-01-16 03:04:15 +01:00
zeunerti74726 8812ecfda1 Docu 2023-01-16 03:03:45 +01:00
zeunerti74726 6e4500d932 lfr_central 2023-01-15 22:40:40 +01:00
zeunerti74726 3149466a37 Main method in separate file; Better cmake; Bugfix for calling destructor; Handle closing connections, reconnecting and refusing multiple connections 2023-01-15 22:39:52 +01:00
zeunerti74726 0218391ea0 Better cmake; separate main method in own file 2023-01-15 22:37:21 +01:00
zeunerti74726 bbc154efe2 Bugfix when calling destructor without a running thread 2023-01-15 22:36:27 +01:00
zeunerti74726 1fd6853245 include_directories->target_include_directories 2023-01-15 22:34:56 +01:00
zeunerti74726 b1a8673617 async socket 2023-01-14 17:03:59 +01:00
zeunerti74726 e30f7c80c9 added Socket Project 2023-01-11 16:21:09 +01:00
zeunerti74726 ff7634e0b0 Check for valid lane 2023-01-05 10:39:48 +01:00
zeunerti74726 7175b68abe motor signals in the loop 2023-01-04 21:50:59 +01:00
zeunerti74726 747053f132 input threadsafe 2023-01-04 21:50:02 +01:00
zeunerti74726 8150850bb6 float mistakes 2023-01-04 21:47:54 +01:00
zeunerti74726 f55ebb6b3f exception handling 2023-01-04 16:52:42 +01:00
zeunerti74726 7fe6850da4 No idea why this worked on the pi 2023-01-04 16:08:38 +01:00
zeunerti74726 4c9435dbee nvm the c++ 20 thing 2023-01-04 16:06:11 +01:00
zeunerti74726 b5811dbbcb Ressource guarding multithreading 2022-12-22 23:13:53 +01:00
zeunerti74726 b46898a506 cmake standard to cpp 20 2022-12-22 23:12:21 +01:00
zeunerti74726 d66e5d05b2 introduce checkIntersection 2022-12-09 15:29:01 +01:00
zeunerti74726 103eeadf0b Comments 2022-12-08 11:42:02 +01:00
zeunerti74726 6b0e4b04ce parameter tuning 2022-12-08 11:28:05 +01:00
zeunerti74726 aec322031e Remove unused canny parameters from processing and lfr, tried to get hughlinesp back in for reflection removal 2022-12-08 11:20:51 +01:00
zeunerti74726 0ea548ec8a Prototype reflection filter 2022-12-07 22:22:15 +01:00
zeunerti74726 44a266629f Show calculated boxes like tested in spielwiese 2022-12-07 20:06:54 +01:00
zeunerti74726 633b75176c add test video 2022-12-07 18:36:55 +01:00
zeunerti74726 bb16b602a7 Merge branch 'neuer_ansatz_bildverarbeitung' of yasarba71520/Line-Following-Robot into master 2022-12-01 08:17:29 +00:00
zeunerti74726 8c53f49935 Implement approach prev tested in spielwiese 2022-11-30 22:50:50 +01:00
zeunerti74726 01f29ca9cd Choose between showing img and saving it 2022-11-30 21:25:56 +01:00
zeunerti74726 e45f46c102 Proper error message, Check if grab() was successfull 2022-11-30 18:55:20 +01:00
zeunerti74726 551d5f4bb3 Set video size higher 2022-11-30 18:53:50 +01:00
zeunerti74726 b9965ee956 grab+retrieve to use cam on pi 2022-11-30 17:35:53 +01:00
zeunerti74726 f208cda1ed Resolve mixing of std::string and cv::String, more work on new img processing approach. 2022-11-29 18:10:16 +01:00
zeunerti74726 977f531f72 New approach using a roi and drawContours method 2022-11-23 17:10:04 +01:00
zeunerti74726 55dc2a9b9a read certain file instead of random one 2022-11-23 17:09:27 +01:00
zeunerti74726 eb64c8eded Added the Communication Module to the repo. 2022-11-20 20:17:30 +01:00
zeunerti74726 6645e25fb8 Different methods for spielwiese 2022-11-16 14:58:38 +01:00
zeunerti74726 8611a47b75 Introduce variables for canny stuff instead of hardcoding 2022-11-16 11:18:56 +01:00
zeunerti74726 d9628550d4 Adjust window size 2022-11-16 11:10:15 +01:00
zeunerti74726 e41f6b47d9 main lfr loop back to camera 2022-11-16 11:09:35 +01:00
zeunerti74726 9dfc3dc883 scale image when reading from file 2022-11-16 11:08:53 +01:00
zeunerti74726 7937c78326 Added subdirectory "Spielwiese" to test stuff without scrambling up our code. 2022-11-16 10:44:06 +01:00
zeunerti74726 3f4eb40021 Link to stack overflow 2022-11-10 21:14:47 +01:00
zeunerti74726 8f3cd70d36 Actually add the gaussian blur 2022-11-10 21:12:45 +01:00
zeunerti74726 0d619a22f8 Cleaned up snake/camel case inconsistencies, added parameter for gauss kernel size 2022-11-10 21:08:35 +01:00
zeunerti74726 d00cd2945b Getting rid of all the hard coded constants 2022-11-10 20:55:23 +01:00
zeunerti74726 cd3b613b0a Link all libs to utils 2022-11-10 17:17:24 +01:00
zeunerti74726 c5e762f0f9 Create prototype for line segment calculation to test linking processing to utils 2022-11-10 17:09:00 +01:00
zeunerti74726 2c0bc0b35a Link Processing to Utils 2022-11-10 17:08:15 +01:00
zeunerti74726 cef35f412e Throwing around some pragma onces 2022-11-10 17:07:39 +01:00
zeunerti74726 035bcfb253 Added Line, Vector, Point utility classes 2022-11-10 16:45:34 +01:00
zeunerti74726 0e76610608 Disable opencv info logging; Run loop until cin reads input 2022-11-10 14:42:14 +01:00
zeunerti74726 3e7c057ae0 Move from async to threading 2022-11-10 14:41:27 +01:00
zeunerti74726 63745d0446 Shift VideoCapture stuff to Input class instead of readWebcam method; Add freeWebcam method 2022-11-10 14:40:28 +01:00
zeunerti74726 d1341a7c8a Link to c++ threads lib 2022-11-10 14:39:12 +01:00
zeunerti74726 a7cc3e6de4 Remove raspicam lib as opencv already does the job 2022-11-05 13:55:48 +01:00
zeunerti74726 68416a8a9a Started working on parallel execution 2022-11-03 11:18:18 +01:00
zeunerti74726 36b65fdf07 Move main method in own file instead of lfr.cpp 2022-11-03 09:38:28 +01:00
zeunerti74726 d952629b39 split lfr in cpp and h file 2022-11-03 09:23:30 +01:00
zeunerti74726 cbb147c6fa Lil clean up for cmakelists 2022-11-03 08:59:26 +01:00
zeunerti74726 54d217faf2 Added missing modules 2022-11-03 08:54:35 +01:00
zeunerti74726 403aaf0cdd Function prototype for calculate_binary 2022-11-01 14:56:17 +01:00
zeunerti74726 5bc51820e5 Triple return mat 2022-11-01 14:30:41 +01:00
zeunerti74726 d53805c6fc Remove pragma once from cpp file 2022-11-01 14:30:01 +01:00
zeunerti74726 1dc233d5e6 p->P! 2022-11-01 14:29:11 +01:00
zeunerti74726 75d72abf3b Add gitignore file 2022-10-28 22:43:44 +02:00
zeunerti74726 e03c6d5508 cmake lists file to link to opencv 2022-10-26 22:53:34 +02:00
zeunerti74726 0512a87f38 Testimages 2022-10-26 20:40:56 +02:00
zeunerti74726 f0b982b839 Initial commit for image processing submodule 2022-10-26 10:40:16 +02:00