-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should improve lane detection algorithm especially at the curvy lanes #24
Comments
I changed IPM code. The IPM area changes depending on the steering amount. I think it will reduce noises on the curvy road and make the truck drives better. |
I'm confused by this change, there's a lot of repeating code that I see. For example: ChosunTruck/linux/src/main2.cc Line 173 in 0351ab8
is repeated here: ChosunTruck/linux/src/main2.cc Line 257 in 0351ab8
You also repeated the IPM code here and then again here I'm not saying this is incorrect, but I believe this repetition of code is the reason why I cannot implement this correctly into our Windows version. Can you explain why these are repeated? |
The lane detection process consist of these stages:
My code uses move_mouse_pixel variable to change the IPM area. To use this changed IPM area in lane detection, we should do the screen filtering process again, and find the lane with the new frame again. I know the repeating code is bad for the maintanence, so I gonna refactor it soon. |
Ok! Just adding a function that performs those steps should make the code look better. I will try to see if I can get that to work today. In my latest commit I tried to implement it into the replacing move_mouse_pixel with diffOld, and it doesn't seem to help stabilize the ipm... not sure what is wrong. |
I have a better idea for implementing adaptive IPM. I will change the code before Tuesday or Wednesday |
OK, a better adaptive IPM area is implemented |
Our lane detection code does not work properly at the very curvy lanes like highway entrance or exit.
I'm reading some papers which can improve our lane detection algorithm.
https://arxiv.org/pdf/1501.03124.pdf
http://research.ijcaonline.org/volume122/number13/pxc3905011.pdf
The text was updated successfully, but these errors were encountered: