PiBoSo Official Forum

General => Custom hardware => Topic started by: h106frp on May 25, 2015, 11:04:50 PM

Title: Opensource headtracker using mems gyros
Post by: h106frp on May 25, 2015, 11:04:50 PM
Found this and thought it might be interesting to those using infra-red based tracking. The pre-built at £40 seems a good deal, buying bit locally looks like it would be about £60.
Compatible with free track so should work OK in GPB.
No more camera probs, processor overhead or LED viewing angle issues :-), might even try this myself...

http://www.edtracker.org.uk/index.php (http://www.edtracker.org.uk/index.php)

Had a quick look around and the 2 boards for home building can be had for less than £20 if you shop about  8)
Title: Re: Opensource headtracker using mems gyros
Post by: Napalm Nick on May 25, 2015, 11:15:43 PM
Very interesting I will have to look at this more in depth, thanks. ;)
Title: Re: Opensource headtracker using mems gyros
Post by: doubledragoncc on May 26, 2015, 02:42:20 AM
Brilliant link. Thanks H

DD
Title: Re: Opensource headtracker using mems gyros
Post by: HornetMaX on May 26, 2015, 07:46:53 AM
Tempted to try, but that would mean use rider POV :)

MaX.
Title: Re: Opensource headtracker using mems gyros
Post by: h106frp on May 26, 2015, 10:22:50 AM
Been mailing the guys involved in the project about suitable parts - probably the quickest and friendliest support ever  :) and they have given me a link for anyone who want to home build on the cheap, if you want the pre-made board(rather than vero) it would be another £5 from their website: this means that the cheapest build starts at £10 depending what suitable bits you have in your junk box  :)

http://hobbycomponents.com/electronics/440-diy-head-tracker-bundle (http://hobbycomponents.com/electronics/440-diy-head-tracker-bundle)

Worth building just for novelty value! As its a joystick emulator HID interface it would suggest that you could attach it to almost anything and turn it into a controller not just use it for head tracking duties. A piece of broom handle for virtual handlebars anyone?


edit: Could not help it - upgraded kit with magnetometer ordered, i will report results in the near future ;D
Title: Re: Opensource headtracker using mems gyros
Post by: Napalm Nick on May 26, 2015, 10:51:15 AM
Sweet H,

looking forward to those reports!
Title: Re: Opensource headtracker using mems gyros
Post by: doubledragoncc on May 26, 2015, 11:35:46 AM
This is great news. Thanks so much H. I can do the mechanical stuff but true electronics are still new to me. I played with gyros and accelerometers. But this is just right for head tracking.

DD
Title: Re: Opensource headtracker using mems gyros
Post by: HornetMaX on May 26, 2015, 11:42:14 AM
Quote from: h106frp on May 26, 2015, 10:22:50 AM
Worth building just for novelty value! As its a joystick emulator HID interface it would suggest that you could attach it to almost anything and turn it into a controller not just use it for head tracking duties. A piece of broom handle for virtual handlebars anyone?
Hmm interesting ... maybe it could be strapped directly to the joypad ... temptation rising (I'm a lazy ass, so pre-built for me for sure, if I decide to give it  a go).

Quote from: h106frp on May 26, 2015, 10:22:50 AM
edit: Could not help it - upgraded kit with magnetometer ordered, i will report results in the near future ;D

Magnetometer all the way ... just for the pleasure to tell your friend "Hey, stop touching my magnetometer !".

MaX.

P.S.
MEMS + magnetometer ... brings me back to the time I was working on satellites :)
Title: Re: Opensource headtracker using mems gyros
Post by: h106frp on May 26, 2015, 12:09:53 PM
Definitely think the 'Tron' lightcycle handlebar thing would be fun to do - anybody build the bike model? movie physics would be a must have though  8)

@DD the head tracking demo on you tube is very impressive, they are using it in elite:dangerous. All the stuff is opensource and tested ready to go.
Title: Re: Opensource headtracker using mems gyros
Post by: doubledragoncc on May 26, 2015, 12:10:26 PM
This is so good. I found the guys setup video so thought I would put the video here. It really shows how good this is. Its a real game changer.

https://www.youtube.com/v/VKRNNgCwgvs

DD
Title: Re: Opensource headtracker using mems gyros
Post by: doubledragoncc on May 26, 2015, 12:11:13 PM
LOL H was just watchin it. I think this is what is good for body movement. I tried just accelerometer before but not gyro yet, this is body movement dude not just head traking. Use 2 to do both!

Link with more videos
https://www.youtube.com/watch?t=21&v=VKRNNgCwgvs (https://www.youtube.com/watch?t=21&v=VKRNNgCwgvs)

DD
Title: Re: Opensource headtracker using mems gyros
Post by: h106frp on May 26, 2015, 12:45:46 PM
Basic capabilities of the sensor chip for info....

The MPU-9150 is a System in Package (SiP) that combines two chips: the MPU-6050, which contains a 3-axis gyroscope, 3-axis accelerometer, and an onboard Digital Motion Processor (DMP) capable of processing complex 9-axis MotionFusion algorithms; and the AK8975, a 3-axis digital compass.

Being opensource you will probably find that they are quite receptive to new application concepts and future developments for the device.

edit:some people have all the best toys, imagine this setup for GPB  8)
https://www.youtube.com/v/88OHrrHmbac

Main thing is his comment (in his YT caption block) as an experienced head track user.... 10 times better than the commercial optical system!! encouraging.
Title: Re: Opensource headtracker using mems gyros
Post by: h106frp on May 30, 2015, 01:27:30 PM
Got all the bits and built the device - pretty painless using the nicely manufactured pre-made circuit board. The board has a solder mask and through plated holes so soldering is easy if you follow the build sequence in the included instructions . Spent more time on cutting the enclosure than the circuit boards. The finished unit is a bit smaller than a match box 50 * 30 *20 (mm)

Few bugs found in the set up software and the most up to date set up guide is the you-tube one, the .pdf is a bit out of date for the magnetometer version.

Most annoying bug is if you click on the task bar icon the EDtracker software closes but does not close the virtual com port so need to re-boot to clear it before you can resume, but nothing that caused any real (system) issues.

Super stable head tracking and no camera issues to deal with - joy!  :) I think the 3dof is probably a lot less hassle than 6dof with a camera

Have got it working in-games using world of joysticks emulator for now which was easy to set up.
http://www.worldofjoysticks.com/ (http://www.worldofjoysticks.com/)

Just need to sort a set of headphones and a mount and i should be in business - watch this space  ;D

Main objective is to achieve that natural rider 'thing' of looking 'where you want to go' rather than always looking straight out in front of the bike. Any other features i will consider to be a bonus ;)
Title: Re: Opensource headtracker using mems gyros
Post by: Napalm Nick on May 30, 2015, 01:40:26 PM
sweet H,

really looking forward to some in-use vids!
Title: Re: Opensource headtracker using mems gyros
Post by: h106frp on May 30, 2015, 03:28:07 PM
Damn...  the woj emulator is using cumalitive movement rather than absolute so you have to look the in the opposite direction to get it to centre. Back to looking for an emulation solution  :(

Real shame because it feels like the EDtracker unit itself is going to work really well......

If only you could assign 'look' to a joystick analogue axis in the game engine it would work straight away.

edit....

In the name of science, and so i could have a little play  ;) i persevered with woj and tweaked deadzone and gain to get something workable (not ideal though). Got to say its already apparent how much more immersive it feels with the tracking, actually feels much more like 'normal' riding when your riding towards what is in your line of sight rather than the bikes direction of travel.

It will take a bit of getting used to but already sharp turns are much easier when your looking in the right direction all the time:).

It is apparent that the translation needs to be as good (accurate) as the native EDtracker output, back to surfing the web to find a solution  :(.

I can see why people want OCRift, would be very cool if the effect of this little device is anything to go by.
Title: Re: Opensource headtracker using mems gyros
Post by: HornetMaX on May 31, 2015, 09:15:25 PM
We would just need opentrack to work, but I can't make it work.

Even without talking about gpb, opentrack has a small freetracktest.exe that is supposed to check if the fretrack output works fine: well, it never works for me, it can't even detect the associated dll (so no wonder GPB does not see the opentrack output).

The opentrack dev is trying to help, but for him it works fine.

MaX.
Title: Re: Opensource headtracker using mems gyros
Post by: h106frp on May 31, 2015, 10:58:03 PM
I get the same problems you observed - opentrack just does not emulate mouse in-game. The WOJ engine works fine and completely reliable just the problem with it not being 'absolute' tracking so you have to 'twitch' in the opposite direction to centre the view which is a bit unnatural.

If it's any indication i have been doing laps with it all weekend, its quite addictive  ;D it really does change the game dynamic in first person and feels a lot more like 'real' riding. The more you forget its there the better it seems to work.

Having to get used to riding without the bike model as a point of reference though (head looking up the track to the next corner but bike still taking the corner your at) but when you get it right it looks/feels great  :) a good track surface seems to help a lot to give a sense of direction of travel. If you are a committed first person view rider its a great riding aid.

Having tried freelook with the infra-red head clip and abandoned it due to all the camera view issues (losing lock) this is just a brilliant alternative.

I wont try any videos until we sort the absolute tracking issue as its not a fair review of the EDtracker device itself at the moment.

Title: Re: Opensource headtracker using mems gyros
Post by: HornetMaX on June 01, 2015, 07:09:41 AM
Quote from: h106frp on May 31, 2015, 10:58:03 PM
I get the same problems you observed - opentrack just does not emulate mouse in-game.
Yeah mouse emulation is currently not working perfectly in opentrack, but that should not be necessary.

Opentrack can output with freetrack protocol and GPB can handle freetrack protocol: normally, using EDTracker + opentrack you can have headlook (what GPB calls freelook) without using mouse emulation (which, honestly, it's just a dirty trick). The problem is for some reason I cannot make this work.

The problem is not in GPB (as far as I can see now), it's somewhere between opentrack and windows, as the simple freetracktest.exe provided with opentrack doesn't even work (for me at least).
It seems to be some dll mumbo-jumbo, ans the test exe cannot even detect the dll as loaded.

GPB works fine with both FaceTrackNoIR and FreeTrack, so it should just work with OpenTrack using freetrack output.

MaX.
Title: Re: Opensource headtracker using mems gyros
Post by: HornetMaX on June 01, 2015, 01:00:53 PM
OpenTrack 2.3rc12 is out: it is supposed to fix the mouse emulation (and also automatically load settings and start tracking when a specific game/.exe is started, cool).

Also, one thing to check (with respect to the issue I was experiencing, using freetrack output): the registry HKEY_CURRENT_USER\Software\Freetrack\FreetrackClient should have a value "Path" with key on the right pointing to the directory where freetrackclient.dll is stored (this is normally the opentrack directory).

Not at home right now, will check tonight.

MaX.
Title: Re: Opensource headtracker using mems gyros
Post by: h106frp on June 01, 2015, 04:41:37 PM
Still not working so far, i am wondering if its the freetrack/freetrack2.0 causing probs.

Freetrack2 is a rewritten and recompiled .dll, I will raise a question in support
Title: Re: Opensource headtracker using mems gyros
Post by: HornetMaX on June 01, 2015, 05:09:05 PM
It's a mess !!

OK, mouse emulation works fine for me now (you have to click on the "..." button to assign the axes to assing to mouse X and Y).

The freetracktest works fine on my office laptop, but not on my home PC.

MaX.
Title: Re: Opensource headtracker using mems gyros
Post by: h106frp on June 01, 2015, 07:54:01 PM
Got mouse simulation working   :), need to play with the response curves now but much more responsive. A tendency for opentrack to lose centre position (need to experiment with the software as i am hoping its not due to cumulative mouse position calculation in opentrack), need freetrack or native tracking as the device itself does not drift at all. Still loving it in game!

Anyway, my tracker head set - still removable by cable ties but i will probably glue my clip in place eventually. Really do not notice it once the headphones are on.

(https://lh4.googleusercontent.com/-lGI4kNSshi8/VWy0vyVNlEI/AAAAAAAAASE/GU3uNUauUjc/w414-h737-no/WP_20150601_003.jpg)

Small switch on top will instantly reset the look ahead if required but this is only needed if you are physically moving your body position (slouching in chair) relative to the monitor centre view.
Title: Re: Opensource headtracker using mems gyros
Post by: HornetMaX on June 01, 2015, 08:11:52 PM
Yep, mouse tracking works fine now.

But I'm still trying to understand why the bloody freetrack output does not work on my home PC but works on my office laptop (at least with the provided freetracktest.exe).
It is as if the freetrackclient.dll cannot be found for some weird reason.

MaX.

P.S.
You can bind a key in the Dtracker gui to recenter (you can do the same in OpenTrack too).
Title: Re: Opensource headtracker using mems gyros
Post by: h106frp on June 02, 2015, 07:29:45 AM
Freetrack support is confusing and i really cannot find a lot of useful info  >:( This may be due to the on-going legal wrangles with NP. I don't know how Occulus are getting around the optical tracking legal dramas as the DK2 would appear to infringe in exactly the same way as all the free trackers are claimed to have.
DK1 inertial tracking 3DOF (same as EDTracker)
DK2 inertial and optical tracking 6DOF

We have the original driver by the original freetrack team and then we have the FTNoIr freetrack2.0 driver, the one used by opentrack- i cannot find the info about how compatible calls to the 2 different dll's would be, i am beginning to think they are not very compatible  >:( >:(

>:( >:(I wish people would document stuff better >:( >:(  especially when modifying existing standards.

I think the best would be to get the game to support the EDtracker directly by just being able to map head position to analogue joystick axis, the main thing is the joystick has fixed absolute co-ordinates (same as a EDtracker), a mouse (it appears) is just cumulative values for direction and will gradually lose it centre value which is more off putting in game than you might first imagine as you realize your view is starting to 'crab' sideways.

>:( >:( Finding solutions to problems that need not exist >:( >:(


Title: Re: Opensource headtracker using mems gyros
Post by: HornetMaX on June 02, 2015, 10:44:14 AM
@h106frp: but does the freetracktest.exe (provided with opentrack, under clientfiles/freetracktest) work for you ? Does it say DLL loaded = true or flase ?

It works on my laptop but not on my home pc and nobody seems to know why. It's just a mystery. The code game-side is trivial (load a dll, memory map some stuff, done).

The OpenTrack dev has pointed me to a couple of diagnostic tools (sxstrace.exe and procmon.exe) that can trace what an app does and I'll be trying to see what's wrong.
I really suspect some Side-by-Side crap to be responsible here.

rc12 of opentrack seems to be a step forward anyway.

Joystick input for headlook would be nice in GPB/WRS/KRP/MXB.

Did you try the EDTracks as input (e.g. to lean the bike) ?

MaX.

Title: Re: Opensource headtracker using mems gyros
Post by: h106frp on June 02, 2015, 11:18:55 AM
I will try the tests this evening.

Love the responsiveness of the opentrack mouse emulator but i am really beginning to think that GPB is expecting to see the old freetrack dll not the version 2 (ftnoir) dll used by opentrack. I just wish i could find the developer info for the 2 dlls and see if they would have compatibility issues.

The registry key is correct - unless GPB is expecting to see it somewhere specific (old freetrack directory maybe) and opentrack seems to think everything is working.

Could do with some input from PiBoSo as to how GPB is set up and what it expects on the client side. I have put a request in the support section.

I will also try it as a controller (been having too much fun with tracking  ;D ), i guess it will work really well as the output from the device is very stable in native joystick mode.
Title: Re: Opensource headtracker using mems gyros
Post by: HornetMaX on June 02, 2015, 02:01:00 PM
Normally the 2.0 protocol is supposed to be backward compatible as far as I know.

When it works, the freetracktest.exe reports "interface version 1.0.0.0" (not sure how reliable is that though).

MaX.
Title: Re: Opensource headtracker using mems gyros
Post by: h106frp on June 02, 2015, 09:26:51 PM
Ok, tried freetest in GPB.

Reports DLL loaded ver 1.0.0.0, when you close opentrack dll closes OK

Data values are changing in freetest when i move the tracker and GPB running so it looks like the host side of the .dll is working OK, but nothing in GPB. Tried all games options but no game animation - possible bug ?

edit, one observation - the values that are changing are the ones for 'virtual pose' the 'raw pose' values are locked at zero, is it possible that GPB is reading the raw values?

edit, how do you assign rider lean to an analogue axis?
Title: Re: Opensource headtracker using mems gyros
Post by: HornetMaX on June 02, 2015, 09:58:50 PM
I've solved the 1st part of my issues (well, kind of).
If MSI Afterburner is running, freetracktest.exe cannot load the freetrackclient.dll. Why ? No freakin' idea.

Still, doesn't work in GPB for me neither, same as h106frp.

Quote from: h106frp on June 02, 2015, 09:26:51 PM
edit, one observation - the values that are changing are the ones for 'virtual pose' the 'raw pose' values are locked at zero, is it possible that GPB is reading the raw values?
Don't see why it should, but definitely worth an investigation !

Quote from: h106frp on June 02, 2015, 09:26:51 PM
edit, how do you assign rider lean to an analogue axis?
Same way you assign throttle, lean etc to an analog axis.

MaX.
Title: Re: Opensource headtracker using mems gyros
Post by: doubledragoncc on June 02, 2015, 11:59:58 PM
@MAX, MSI Afterburner causes conflicts with many programs. I dont know why either but have found that many newer programs have major problems with MSI AB. Its a shame as it is a good program in many ways, and only in the last 6 months have I had this problem? If you figure it out, please tell.

DD
Title: Re: Opensource headtracker using mems gyros
Post by: HornetMaX on June 03, 2015, 06:56:10 AM
Quote from: doubledragoncc on June 02, 2015, 11:59:58 PM
@MAX, MSI Afterburner causes conflicts with many programs. I dont know why either but have found that many newer programs have major problems with MSI AB. Its a shame as it is a good program in many ways, and only in the last 6 months have I had this problem? If you figure it out, please tell.
Interesting. Which programs ?

Because for me OpenTrack is really the one and only that has a problem with AB (and the OpenTrack dev uses AfterBurner too and has no issue with it).

MaX.
Title: Re: Opensource headtracker using mems gyros
Post by: doubledragoncc on June 03, 2015, 11:36:01 AM
Its mainly to do with overclocking issues in a lot of games. I used to have no problems  then updated MSI AF and it causes flimmering when overclocking the GPU in for gaming. I need to install an older version and test but too busy right now to worry. Will do it some time this week with luck. Fighting the 3D printer right now lol. ABS is a bitch to print in a small area lol.

DD
Title: Re: Opensource headtracker using mems gyros
Post by: teeds on June 23, 2015, 07:46:16 AM
@H, did you buy this? https://edtracker.org.uk/index.php/shop/edtracker-diy-pcb-enclosure (https://edtracker.org.uk/index.php/shop/edtracker-diy-pcb-enclosure) and if so did it take long to get he payment email?
Title: Re: Opensource headtracker using mems gyros
Post by: h106frp on June 23, 2015, 07:55:52 AM
Yes, i ordered the exact same one and it was in the post the same day. It was paid by paypal and all correspondence was with/to the paypal account holder via that contact e-mail.

I bough the 2 electronic boards from Hobby components as a pack - linked from EDtracker site, already had a micro USB cable.

I was very impressed by the service, but i do believe they have 2 or 3 different people processing orders. If you need help, the on line 'contact us' was answered very quickly.
Title: Re: Opensource headtracker using mems gyros
Post by: Napalm Nick on June 23, 2015, 08:26:18 AM
Beware this bit if you are missing Hotmail/live/outlook emails:
http://www.edtracker.org.uk/index.php/2-uncategorised/59-hotmail-users-not-receiving-emails
Title: Re: Opensource headtracker using mems gyros
Post by: teeds on June 23, 2015, 10:21:03 AM
Quote from: h106frp on June 23, 2015, 07:55:52 AM
Yes, i ordered the exact same one and it was in the post the same day. It was paid by paypal and all correspondence was with/to the paypal account holder via that contact e-mail.

I bough the 2 electronic boards from Hobby components as a pack - linked from EDtracker site, already had a micro USB cable.

I was very impressed by the service, but i do believe they have 2 or 3 different people processing orders. If you need help, the on line 'contact us' was answered very quickly.

That's odd then as I have already tried the contact sheet to see if their out of stock or something but still nothing (and I've checked my junk folder).

Thanks for the link Nick, I'll try that as I have used a hotmail address.

Had all other components sitting here for 2 weeks, they look great! lol   ;)

Cheers guys
Title: Re: Opensource headtracker using mems gyros
Post by: h106frp on June 23, 2015, 10:57:02 AM
Website shows 465 unit available so i do not think its a stock issue.

As you will have not made any payment yet have you considered trying to order again? You can always explain it if the original order suddenly becomes active


For my order confirmation/email;

my order confirmation came through admin@edtracker.org.uk

and the contact was quoted as becky@edtracker.org.uk
Title: Re: Opensource headtracker using mems gyros
Post by: Napalm Nick on June 23, 2015, 01:07:34 PM
Teeds that link does say that emails to Hotmail aren't even getting to the junk folder.

If you paid by PayPal then best to just check the transaction at PayPal website or whatever you used then you will know hope it helps  ;)
Title: Re: Opensource headtracker using mems gyros
Post by: h106frp on June 23, 2015, 01:28:40 PM
The system they use for ordering you do not paypal until you receive the order confirmation email so you need a working mail link.
Could just open a temporary gmail as this works OK.
Title: Re: Opensource headtracker using mems gyros
Post by: Napalm Nick on June 23, 2015, 01:36:43 PM
Ah I see bugga  ;)
Title: Re: Opensource headtracker using mems gyros
Post by: teeds on June 23, 2015, 04:28:08 PM
Order now all paid for and on the way  :)
Title: Re: Opensource headtracker using mems gyros
Post by: h106frp on June 23, 2015, 05:02:45 PM
Cool, it will be nice to see what someone else makes of it.

Just one tip, read through the included assembly instructions, they detail the easiest assembly sequence using the PCB. It is very easy to make it a little more awkward than necessary (yes, i found out the hard way  ;) )

Height wise the assembly is very tight in the included enclosure (i scraped the raised logo off the inside for a perfect fit) so check you have everything right before soldering. It is also easier to mark out the hole in the top of the case for drilling before you assemble the PCB as you can use it for a guide (yes, i found out the hard way - again ;) ) Pack out the length and width with foam if you do not have any tiny self tapping screws.

Originally i used a velcro strap to hold it to my headphone band then i found an old elasticated cable clamp that worked really well - really need to add (glue) a 'clip' of some sort to the case if using elastic bands.

Really need to get a few of these printed up - 3D print design/files are on the website. You can see the designer added band clips and sized the interior to be a custom snug fit to the board.

@DD any idea of the cost for printing?

(http://www.edtracker.org.uk/images/edtracker/edv2track.png)

The included firmware setup procedure is out of date, follow the you-tube video. Its pretty much automatic once the host program is installed to the PC and downloads the latest firmware directly to the device. You will want openlook and the updated .dll that MaX linked to get it working in GPB until  b7.

Some axis mapping selections to do for openlook i will post them to save you the confusion of trial and error  :)

Maximum head rotation with openlook seems to be about +-100 degrees, i guess this is because anything more would not be possible with optical tracking, hopefully we will be able to do 'over the shoulder' with native support  8)
Title: Re: Opensource headtracker using mems gyros
Post by: teeds on June 24, 2015, 08:31:40 AM
Cheers H - noted, I'll come back and read again once I've got my mitts on the bits.
Title: Re: Opensource headtracker using mems gyros
Post by: HornetMaX on June 24, 2015, 08:34:32 AM
Quote from: h106frp on June 23, 2015, 05:02:45 PM
Maximum head rotation with openlook seems to be about +-100 degrees, i guess this is because anything more would not be possible with optical tracking, hopefully we will be able to do 'over the shoulder' with native support  8)

Hmm weird, I seem to recall being able to look almost all the way back ... I'll have a look.

MaX.
Title: Re: Opensource headtracker using mems gyros
Post by: doubledragoncc on June 24, 2015, 09:03:19 AM
Hi H I downloaded the stl files and will do a test print soon but I want to redo the model as the design is not perfect to print as it comes. I will let you know as soon as I print one up, wont be much.

DD
Title: Re: Opensource headtracker using mems gyros
Post by: h106frp on June 24, 2015, 09:39:43 AM
Quote from: HornetMaX on June 24, 2015, 08:34:32 AM
Quote from: h106frp on June 23, 2015, 05:02:45 PM
Maximum head rotation with openlook seems to be about +-100 degrees, i guess this is because anything more would not be possible with optical tracking, hopefully we will be able to do 'over the shoulder' with native support  8)

Hmm weird, I seem to recall being able to look almost all the way back ... I'll have a look.

MaX.

I tried adjusting the curves in openlook but i could not increase the rotation in game past +-100 degrees. You can cause the curve to arc over above 100% but this seems to give unstable values in game. I guessed its because the input mapping is generic joystick rather than customized to edtracker and the output mapping is ranged to emulated values of freetrack which has no rear look.

@DD that's great, look forward to seeing the results.
Title: Re: Opensource headtracker using mems gyros
Post by: doubledragoncc on June 24, 2015, 11:46:40 AM
Im having a 3D printing design day lol so will try later if I dont start riding in GTA again, its a blast with bars lol

DD
Title: Re: Opensource headtracker using mems gyros
Post by: HornetMaX on June 24, 2015, 11:53:43 AM
Quote from: h106frp on June 24, 2015, 09:39:43 AM
Quote from: HornetMaX on June 24, 2015, 08:34:32 AM
Quote from: h106frp on June 23, 2015, 05:02:45 PM
Maximum head rotation with openlook seems to be about +-100 degrees, i guess this is because anything more would not be possible with optical tracking, hopefully we will be able to do 'over the shoulder' with native support  8)

Hmm weird, I seem to recall being able to look almost all the way back ... I'll have a look.

MaX.

I tried adjusting the curves in openlook but i could not increase the rotation in game past +-100 degrees. You can cause the curve to arc over above 100% but this seems to give unstable values in game. I guessed its because the input mapping is generic joystick rather than customized to edtracker and the output mapping is ranged to emulated values of freetrack which has no rear look.

Works for me in opentrack (using tracking via webcam): if I tweak the curves I can look behind me simply rotating my head.
Actually the virtual head rotates exactly as opentracks says (so you can reach unnatural postures).

In the "mapping" section you have to have (for example, on yaw axis for look left/right) the points(in X-Y coords: (0,0), (30,180), (180,180).

GPB + Opentrack for the win :)

MaX.
Title: Re: Opensource headtracker using mems gyros
Post by: h106frp on June 24, 2015, 12:58:53 PM
I will have another look at my config, maybe i have not fully understood the opentrack mapping options.

Thanks  :)
Title: Re: Opensource headtracker using mems gyros
Post by: doubledragoncc on June 24, 2015, 07:06:10 PM
Ok,I tried the direct stl no edit and used supports. Heres a few pics. It took about 2 hours to print both bits but I use a slow speed to keep quality of builds better. I dont have the parts to try in it, so cant tell you if they fit, sorry. Will have to send you it H to test, its free lol.

(http://iasystems.tk/pics/3dprinting/20150624_193433.jpg)

(http://iasystems.tk/pics/3dprinting/20150624_193513.jpg)

(http://iasystems.tk/pics/3dprinting/20150624_193644.jpg)

Heres a pic of the MTE body and gears and the rear brake gears, thought you might like to see how the come off the printer no clean up.

(http://iasystems.tk/pics/3dprinting/20150624_193859.jpg)

The Edtraker box is about 50p in ABS but costs electric too and clean up and me making sure its okay lol. My electric bill tripled since I got into 3D printing!!!So £1.00 for my troubles is fair I think plus postage lol

DD



Title: Re: Opensource headtracker using mems gyros
Post by: h106frp on June 24, 2015, 08:29:56 PM
That is utterly brilliant  8)

The surface finish is exceptional looks very 'race component'; that's a quality set up you have there and it will be a pleasure to upgrade my tracker with a bit of custom GPB kit.

I can send an SAE if you PM me a contact and i will slip in a few beer tokens as well as the costs  :)

Thanks for taking the trouble to try this out.
Title: Re: Opensource headtracker using mems gyros
Post by: h106frp on July 06, 2015, 10:27:10 PM
Got back from my trip to find a package with DD's EDtracker 3D print housings contained inside. The printed quality is exceptional and it is hard to believe they are not produced using more conventional machining methods. Board fit is great and mounting is very much simplified with the band clips.

Thanks DD great piece of kit  :)


Board is a much better (tighter) fit than with the standard Hammond box enclosure. The 3D print has all the internal board supports and does not need any screws to retain the circuit boards.
(https://lh4.googleusercontent.com/-sncDNdRBsM4/VZr9T9yyTwI/AAAAAAAAAXc/_GhjGEwpUvI/w1342-h754-no/WP_20150706_001.jpg)

Easier mounting option with rubber bands and the printed clips.
(https://lh4.googleusercontent.com/-cEAGC159fVE/VZr9Y6pDs_I/AAAAAAAAAXs/5Kl27q8qfOo/w1342-h754-no/WP_20150706_003.jpg)
Title: Re: Opensource headtracker using mems gyros
Post by: HornetMaX on July 14, 2015, 10:57:36 AM
Pro version shipping now !

http://www.edtracker.org.uk/index.php/11-news/64-edtracker-pro-released (http://www.edtracker.org.uk/index.php/11-news/64-edtracker-pro-released)

MaX.
Title: Re: Opensource headtracker using mems gyros
Post by: h106frp on July 15, 2015, 06:25:38 AM
Looks neat, i think the wireless version planed for later in the year might be going on my Christmas prezzie list  :)
Title: Re: Opensource headtracker using mems gyros
Post by: HornetMaX on July 15, 2015, 06:43:08 AM
Ordered the Pro yesterday: unusual purchase process (I was aware), but worked sfitly: confirmation mail after purchase from the site, 1h later new mail requesting payment (paypal), 1h after notification of shipment being prepared.

Notice: the PRO version is NOT open source. Not a biggie for me.

MaX.
Title: Re: Opensource headtracker using mems gyros
Post by: h106frp on July 15, 2015, 07:49:31 AM
I think you will like using it.  I suppose the loss of opensource was inevitable at some point but when a hobby develops into a business you have to ensure it is at least self funding and balances the time you invest in it. Still sensibly priced though for a device that performs so well.

Currently have mine fitted to a baseball cap peak as its too hot to be wearing headphones but i switched back to 'normal' look to corner for a couple of evenings while i was finding a suitable cap and really missed the head tracking.

I have found that i am much quicker with the tracking especially hairpins and slow corners which feel much more natural when your looking up the track towards the turn exit rather than being focused on the apex. It really works best when you forget your using it and let your view and riding line flow in a real life natural style.

Takes a while (couple of evenings) to shift into a normal real life riding style where you look up the track to whats coming next on the horizon rather than game style of looking down over the fairing, you might find you turn in too much on the apex of sweeping turns at first while you make the switch  ;).
Title: Re: Opensource headtracker using mems gyros
Post by: HornetMaX on July 15, 2015, 09:45:01 AM
Did you try it as input device ? I.e. do control something like rider lean or even bike lean ?

MaX.
Title: Re: Opensource headtracker using mems gyros
Post by: h106frp on July 15, 2015, 10:20:07 AM
No, not yet. I think DD has plans to use it for body movement capture.

It should work perfectly as i have had no issues with tracking during hours of gameplay. Only thing to watch for is magnetometer bias, if the output seems to have got a bit 'jumpy' it is this bias value that is calculated each time it is powered up. Just need to keep it fixed for about 20 seconds during initial power up (plug in) or use the bias cal routine from the host program. Normally expect the tracking to be super smooth.
Title: Re: Opensource headtracker using mems gyros
Post by: h106frp on October 28, 2015, 11:41:25 PM
Just had a couple of hours with B7 and head tracking.

With the improved turn rate of the bike head tracking without any bike reference point i.e. when looking across low speed corners is now excellent  :) the bike just naturally seems to go where you expect it to be during the turn.

Looking forward to B7 update with horizon tilt and head tracking 8)
Title: Re: Opensource headtracker using mems gyros
Post by: Jokerman on October 29, 2015, 03:21:53 PM
I've been a TrackIR user ever since my freetrack got replaced one Christmas .....
The edTracker will soon become my GP-Bikes solution ......

thanks for the info

S!
Title: Re: Opensource headtracker using mems gyros
Post by: Stout Johnson on December 18, 2015, 02:18:15 PM
I am thinking about getting this nice item. In fact I am even thinking about getting 2 of them. My plans would be to use 1 for head movements and 1 for rider lean inputs. In addition with my plans for a neatly working steering system, I would then have the possibility to go DST.

Does anyone have experience of using 2 of these headtrackers at the same time? Does anyone have experience of using one for rider lean inputs?

Quote from: HornetMaX on July 15, 2015, 09:45:01 AM
Did you try it as input device ? I.e. do control something like rider lean or even bike lean ?

MaX.
Have you had some experience on this in the meantime MaX?
Title: Re: Opensource headtracker using mems gyros
Post by: HornetMaX on December 18, 2015, 03:08:24 PM
@Stout: no, haven't tried that yet (my GPB motivation is low at the moment, I'm in passive wait mode :) ).

In order to use one EDTracker for rider lean or bike lean you'll surely need something like Joystick Gremlin (see http://forum.piboso.com/index.php?topic=2865.0 (http://forum.piboso.com/index.php?topic=2865.0)), because you will need to tweak the response curves precisely (GPB features in that area are a bit too light).

Using it for bike lean may be a bit problematic if you don't have a mechanical lock: once I had a gyrometer based wheel (just to give an idea, imagine steering holding your smartphone between your hands) and one of the problems with that is that you don't know when you're at max angle (as there's no mechanical lock).

For rider lean the only potential problem I can see is that having to lean a joypad may impact the precision you can achieve with your fingers on the sticks, but this has to be confirmed (and maybe you won't be using a joypad at all).

I'm officially on holiday in 1.5hrs so I won't touch all this stuff for 2 weeks at least: won't be able to test it until mid Jan.

EDtracker per se is a great device and even used "only" for head tracking is definitely worth the price. Keep in mind that in 2016 they are supposed to have a wireless version.
Title: Re: Opensource headtracker using mems gyros
Post by: Stout Johnson on December 18, 2015, 04:26:29 PM
Ok thanks for your feedback MaX. Especially thanks for the link concerning the Gremlin link, precision will probably be the deciding factor in this. Concerning the max lean angle, I hope to manage to define sth via the in-game calibration (maybe in connection with the "gain" setting in controls).

Quote from: HornetMaX on December 18, 2015, 03:08:24 PM
For rider lean the only potential problem I can see is that having to lean a joypad may impact the precision you can achieve with your fingers on the sticks, but this has to be confirmed (and maybe you won't be using a joypad at all).
Not completely sure what you mean by that? I do not plan to use any joypad at all, if I can set up everything to my plans.

Quote from: HornetMaX on December 18, 2015, 03:08:24 PM
Keep in mind that in 2016 they are supposed to have a wireless version.
Thanks for the heads-up. But I think I will go with the wired thingy, I do have headphones cables dangling around anyhow, I'll just wrap the additional around them.

Again, thanks for your feedback. I will buy this nice item and see how it works.
Nice holidays to you and your family MaX!
Title: Re: Opensource headtracker using mems gyros
Post by: HornetMaX on December 18, 2015, 09:26:54 PM
Ah OK, if you're building a custom device then likely you will not have the issue that is there on a joypad (moving the stick and leaning the pad at the same time may be not ideal).

Cheers !