-Devochka, here you are bald, how are you holding a bow on her head?
-How Profit and kept blockquote> It is strange, but the tablet does not work from the birth of the accelerometer. Despite the fact that the Auto-rotate screen works, some (all?) Of the application can not see the accelerometer. I read somewhere that the Auto Rotate eastern friends sometimes put something like a pendulum. I do not know the reason or not, do not hunt to dig. Because of this, and also due to the fact that I have had to deal with FreeTrack , I used it. Also a nice bonus is that this softina natively supported in the driving simulator used by me.
FreeTrack determines the position of the head by three points. A working webcam aimed at three contrasting marker, eg nailed to the head of the LEDs. As a more humane option - to cap. In normal (average) of the head position markers should not be located on the same vertical plane (in the place of this embodiment sfeylil points I). As markers better use LEDs, but can also be applied to the external backlight reflectors. I used infrared LEDs. To provide power to the LEDs had to modify the cable microUSB-OTG. To do this, an additional cable was withdrawn two power wires, which through the current-limiting resistor connected in series with three LEDs. As planned with the functionality of the cable had to be saved.
Also had to modify the camera, remove the IR filter. Thereafter, it is desirable to use a filter chamber of the visible spectrum. This works great as a fully irradiated by color (black and white I have not gone trick) film, if someone still remembers how it looks.
Another version of the bike is assembled, but the wheels were square. It turned out it's not so great, as seen from the mountains. The device is assembled, tested, but proved to be too heavy, too big, uncomfortable opened and I guess a little tradition with a focal length. The main reason for these stocks was a bad choice of container. My plate was a little asymmetric, because of what I had to take larger containers, as the depth of the container was suddenly less necessary, but this issue is partially resolved using additional insertion (a piece of white plastic lining in the design). Also, I incorrectly screwed head tracker, setting all the LEDs on the same vertical plane.
Construction dva.odin h4> to suffer a couple of days, I decided to change the design and buy another container with convenient snaps a little deeper and larger. Bought, and there before me suddenly realized that he decently harder. Fail. Ingloriously protracheno another $ 2. Well at least not in time raskurochit.
You probably thought that since I have already described the production of two and a half points, that's all over, I calm down, and you start to read comments ?! Not so simple.
The construction of three h4> In the regular fit design I decided to repeat the first attempt and build makeshift housing made of corrugated cardboard. You could use more tech stuff, but that's at hand was not. The role of the donor agreed to play here this box:
I cut, glue:
Screwed fastening for gum tucked under the arm of a piece of tin:
As you know, having one marker, you can paint everything except the marker. And with two markers can be painted everything. So, basically, I had the opportunity to paint everything in two layers, but I limited myself to only some surface points.
Get:
Replace the crippled container freshly construction of cardboard. Change to the correct location of LEDs tracker.
Last on the current version:
Pro software probably will write a separate article. In principle, it works, but crooked. Even already been removed video , but it is necessary to finished piece of metal sane state.
And if suddenly someone will dare to repeat, quote warning Meklon :
The only thing I want to say to those who will follow - homemade is very different in terms of accuracy of the factory production. The result of the errors will be fierce spasm of accommodation and fatigue during prolonged use. Blockquote>
Source: habrahabr.ru/post/233725/