Upload
logan-warren
View
217
Download
3
Embed Size (px)
DESCRIPTION
For a simplified explanation of vector system and algorithm please reference the “Wii vector notes simple” from the lab website. Southern Methodist University Bryan Rodriguez
Citation preview
Lab 7 – Wii remote stereoscopic vision
Southern Methodist University Bryan Rodriguez
Objective-
1.Understand how the stereoscopic vision system works using the Wii remotes
2.Design the system that can use vectors to determine the location of an object
Southern Methodist University Bryan Rodriguez
•For a simplified explanation of vector system and algorithm please reference the “Wii vector notes simple” from the lab website.
Southern Methodist University Bryan Rodriguez
The algorithm I implemented and demoed is from the “Wii vector notes simple” document .
I am using user defined vectors and points for V1, V2, Vp, P1, P2 and solving for a vector P31. This vector P31 is the coordinates of the object. From this vector I am extracting the Z component, which is our relative distance, and converting it to meters.
You should be able to build this and its complement to take an avg and determine the location of your object.
NOTE: You may not be able to build this directly using Labview 8.2 due to missing blocks like “cross product”
Southern Methodist University Bryan Rodriguez
The approach I used was to divide the equation P31 into smaller sub equations and then incrementally combine the pieces.
You need to have a firm understanding of arrays and their structures to keep track of your vector bookkeeping.
Southern Methodist University Bryan Rodriguez
NOTE: You may not be able to build this directly using Labview 8.2 due to missing blocks like “cross product”
The blocks I used to build the demo are listed below:
Numeric controlsBuild arrayCross ProductDot ProductAdd SubtractDivideMultiplyIndex array
Also make use of right clicking a block to create constants or indicators
Southern Methodist University Bryan Rodriguez
Using this algorithm and approach you should be able to make a few changes and implement it directly into your overall project.
Make sure to save the Vi separate from your previous work
Next week we will discuss how to save these Vis into Sub Vi blocks
Southern Methodist University Bryan Rodriguez
For your report when completed:
Describe your design and how it works. Be concise but be able to convince me that you know what is going on with your vision system. -If you DO NOT know what’s going on consult with your teammates and/or the TA
Southern Methodist University Bryan Rodriguez
Southern Methodist University Bryan Rodriguez