![]() |
![]() |
|||
![]() |
||||
![]() |
||||
Frequently Asked Forum Questions | ![]() |
|||
![]() |
||||
![]() |
![]() |
|||
![]() | ||||
![]() | ||||
Search Older Posts on This Forum: Posts on Current Forum | Archived Posts | ||||
![]() | ||||
![]() | ||||
![]() | ||||
![]() | ||||
![]() | ||||
![]() |
The key part about that idea is the "always". When we are trying to block the puck it is virtually always changing direction. It is either coming in a curve or we are getting inconsistencies from the camera. The camera inconsistencies are very small luckily, but if the image processing drops a pixel here or there differently from the previous frame then it thinks the pucks is oscillating. This just gets worse when the puck is on the opposite side of the board.
But to your point, this can definitely all be accounted for in code. We could try to ignore small changes in puck location, but sometimes we actually want to pay attention to them. We could try to track the direction of the puck a little more smoothly, we just decided to spend time on other things. It would absolutely make the design better, but we ended up spending these last few weeks adding features and cleaning up a couple bugs ;D
The majority of the jittery behavior in the video is when it tries to go between "Track" and "Intercept" mode which is usually a matter of the speed of the puck being right at that threshold between the two.
You guys like robots? *OT* | Monochron | 5/4/13 6:29 pm |
I like it! | ZackDark | 5/4/13 7:05 pm |
Re: I like it! | Monochron | 5/4/13 9:53 pm |
Re: I like it! | ZackDark | 5/4/13 9:55 pm |
Re: I like it! | Monochron | 5/5/13 1:07 am |
Re: I like it! | ZackDark | 5/5/13 2:31 pm |
Re: I like it! | Monochron | 5/5/13 10:51 pm |
Re: I like it! | ZackDark | 5/6/13 4:28 pm |
This is awesome! | iForge | 5/4/13 8:00 pm |
Re: More videos! *OT* | Monochron | 5/5/13 10:58 pm |
Re: More videos! *OT* | Louis Wu | 5/6/13 7:03 am |
Re: More videos! *OT* | Monochron | 5/6/13 12:22 pm |