General Misc > Robot Videos
Whisk's video
Somchaya:
Hey everyone!
I've finally gotten around to editing all the videos of Whisk and put together a composite one highlighting the whole process..
[youtube=425,350]QlZHCbSTRbg[/youtube]
I think the words in the video are kind of unclear, so I might have to make it bigger, but we'll see.. enjoy!
Next step: get around to cleaning up the code and writing a nice tutorial-ish page.
Comments?
hazzer123:
Hey thats really great :D
You can see the progress very clearly.
How did you get the robot to decide which path to take when it had two?
Somchaya:
I had a timer that would tell Whisk when to slow down and speed up for the slopes, and also to tell when it reached the decision gate areas.
At the decision gate areas, the video image would be analyzed (well only the top bits cos of sunlight/shadows), and if two white areas are detected for a number of consecutive frames (with some other criteria) a split is declared, and it decides to follow the left or the right one (hard-coded). Once it makes a decision to split, another timer runs that prevents Whisk from detecting splits for around 3 seconds. This was done so that we wouldn't detect multiple splits from a single one.
hazzer123:
So you knew the course beforehand?
And therefore told it to, for example, take a left at the first decision, a right at the second decision, etc.
Brandon121233:
thats cheating- and most likely you would get caught
Navigation
[0] Message Index
[#] Next page
Go to full version