FREE wireless headtracking device (Android phone)

Make your game even better
User avatar
Arayas
Site Admin
Posts: 7353
Joined: December 15th, 2018, 3:25 am
Location: Romania
Contact:

FREE wireless headtracking device (Android phone)

Post by Arayas » December 26th, 2020, 9:52 pm

Ok, so when i see something described as a working device i MUST see if its really works, i am a DIY fan. :moil:

Now, like me, you dont want to spend money on a tracking device, because most of them are expensive and, like me, maybe you are just an ocasional player.
So, let me show you a FREE and also WIRELESS device for ETS2 or any other game suited for this kind of device.

OPTION 1

This is the monster, and i just want to tell you, my phone is huge!
Even so, with a rubber band and this headsets i dont even know i have it on my head. Just don't let the family make jokes about this, like in my case. :punish:

Image

Before laughing your ass out, look at this demonstration, real time tracking, no delay, no lag. Just Perfect!



What you need, aside from a PC and a Phone with Android?
Just few tweaks and 2 pieces of software:
Opentrack
and
FREEPIEIMU
download here and unzip.
https://sharemods.com/xtk8ko42fdko/andr ... r.zip.html


Information you need: your PC IP on the network.
A router provides different IP's for every device.
On your PC, click on the taskbar on glass magnifier and write "cmd", and click on the result ( "command line").
In the opened window write "ipconfig" and discover your PC IP.
Image
keep that window open (that is MY IP not yours, don't use the one from picture!)


STEP 1
Unzip the archive wherever you want on your PC.
STEP 2
Run Open Track by running the opentrack.exe file from "opentrack_2.3_rc5" folder (no need to install, is ready to use)
STEP 3
Copy FREEPIEIMU.apk to your phone and install it (you may need to grant permission for installation from outside source)
STEP 4
Make sure your PC and Phone are in the same internet network (in my case both are connected to the same router)


Settings on your PC:
For Opentrack you have my profile saved already in the package(ETS)
choose TRACKER, PROTOCOL AND FILTER as in the image.
Image


on tracker click on the dots and insert a port number (you can use the same as mine 5555)
Image

Settings for your phone:
Open FreePIE IMU and write the IP target (the IP you discovered by using CMD earlier) and port target, than click on NO turning it in YES in green colour.
Image

Click on START on opentrack and the numbers in the right start changing while you move your phone. That's a sign its working. (if not, your PORT may be blocked or you did something wrong. In my case i had to tell my antivirus to ALLOW the connection between PC and Phone)

Place your phone on the head (using a headset or a girly headband :laugh2: ) and start the game. Enjoy your headtracking device!


NOTES about MAPPING, HOW IT WORKS:(TWEAKING)

Image

YAW=left-right
PITCH=up-down
ROLL=bend left-right
on options you can tick the "INVERT" box, if you look towards right IRL and the game looks towards left.

Now, NO matter what you edit on mappers, keep a dead line in the start (like in my photo) to get a dead spot where a small movement of your head is NOT transmited to the game (you may get dizzy :wacko2: ) In this way, JUST an obvious move will impact the game movement.
What mappers do? Simply, this lines are multipliers for your real life movement.
Explanation: in my case the final dots are at 30. So if i turn my head 30 degrees the game will turn the image to 180 degrees. If your final dot its at the end, to 180 value, that means you need to turn your head 180 degrees to get a turn of 180 degrees, off course, not seeing the monitor anymore.
My right line its set to 90 degrees in game (and 30 IRL) because in the right i only need to see 90 degree (the mirror and the traffic coming from the right side) but in the left side i need to look all 180 degrees for incoming traffic from the back or parking.

You can tweak this keeping all programs open and the game (no need to close the game for changes to take place). Just ALT-TAB the game, do your changes and go back to see the result.


Sounds complicated, but is not, it tooked me 10 minutes, never using this before.

Enjoy!

========================================
OPTION 2
NOTE: if you dont want to seat with your phone on your head, get this app with 10 bucks for IPHONE or ANDROID and you can place your phone in front of you to recognize your face movement! (6DOF)
https://smoothtrack.app/
UPDATE:
I just bought the APP and it works with the phone posted on a plastic support just with the light of the monitor (no room lights) using the frontal camera.
Of course, the settings on OpenTrack must be tweaked for this.
The procedure is the same, just for tracker use UDP SENDER not FREEPIE UDP receiver.


========================================
ImageImage Image
support@roextended.ro
www.roextended.ro
User avatar
BenganJ
Moderator
Posts: 9919
Joined: December 15th, 2018, 11:54 am
Location: Gothenburg, Sweden

Re: FREE wireless headtracking device (Android phone)

Post by BenganJ » December 26th, 2020, 10:58 pm

Yes, this scheme you could read about starting in my topic about headtracking here,
viewtopic.php?p=799#p799
and then heading over to the opentrack Wiki here,
https://github.com/opentrack/opentrack/wiki
where you would find this topic about smartphone tracking,
https://github.com/opentrack/opentrack/ ... adtracking
cool stuff!

A really nice DIY post Arayas! :good2: :victory: The biggest drawback with this way
of headtracking is that it's ONLY a 3DOF system, which means it will ONLY let you do
rotational movements, NO translational ones, so called 6DOF systems.
---------------------------------------------------------------------------------------------------------------------------------------------
System: Windows 8.1
Processor: Intel Core i7-4790@
Memory: 16GB
Graphics: ASUS GeForce GTX1660Ti
Image
User avatar
Arayas
Site Admin
Posts: 7353
Joined: December 15th, 2018, 3:25 am
Location: Romania
Contact:

Re: FREE wireless headtracking device (Android phone)

Post by Arayas » December 26th, 2020, 11:22 pm

I started with your topic but that is going nowhere, info is scarce.

I dont need DOF and MOF, i just need to look left and right.
Also, some time to get used to, after few beers, headtracking seams like a bad ideea :jester:
ImageImage Image
support@roextended.ro
www.roextended.ro
User avatar
BenganJ
Moderator
Posts: 9919
Joined: December 15th, 2018, 11:54 am
Location: Gothenburg, Sweden

Re: FREE wireless headtracking device (Android phone)

Post by BenganJ » December 26th, 2020, 11:30 pm

Nope, it's best when you have a couple of beers inside. You move in
a more natural way then! :grin: :grin: :grin:

Well, I've used headtracking for MANY years now and I must say that
the translational movements are very useful. E.g. when parking and
you want to lean forward towards the mirrors to better see what you
are doing. The Aruco pattern I use allow for 6DOF movements!

On the opentrack Wiki here,
https://github.com/opentrack/opentrack/wiki
if you look at the different choices to the right, scrolling down a bit
there's even more alternatives, among them the smartphone solutions,
so check them out!
---------------------------------------------------------------------------------------------------------------------------------------------
System: Windows 8.1
Processor: Intel Core i7-4790@
Memory: 16GB
Graphics: ASUS GeForce GTX1660Ti
Image
User avatar
Arayas
Site Admin
Posts: 7353
Joined: December 15th, 2018, 3:25 am
Location: Romania
Contact:

Re: FREE wireless headtracking device (Android phone)

Post by Arayas » December 26th, 2020, 11:39 pm

i dont have a cam on PC so no funny hat for me, that was the first option. I know those are cheap but i cannot find a functional one around. If i find one, i can do my own 3 led tracker. I will not spent 100 euro for something worthing 10.

My settings were maded on the fly, i will need to tweak them a little to avoid going under the desk dizzy. :black_eye:
ImageImage Image
support@roextended.ro
www.roextended.ro
User avatar
BenganJ
Moderator
Posts: 9919
Joined: December 15th, 2018, 11:54 am
Location: Gothenburg, Sweden

Re: FREE wireless headtracking device (Android phone)

Post by BenganJ » December 26th, 2020, 11:42 pm

Yep, a damn good job! Keep'em coming!
---------------------------------------------------------------------------------------------------------------------------------------------
System: Windows 8.1
Processor: Intel Core i7-4790@
Memory: 16GB
Graphics: ASUS GeForce GTX1660Ti
Image
User avatar
Tapir
VIP
Posts: 4216
Joined: December 15th, 2018, 3:07 pm
Location: Stratford, UK

Re: FREE wireless headtracking device (Android phone)

Post by Tapir » December 26th, 2020, 11:44 pm

Really nice made, respect!!

System: Windows 11 PRO
Processor: Intel i7-12700KF 5GHZ
Motherboard: Gigabyte B760 DS3H AX
Memory: Corsair DDR5-6000 32 GB
Storage: Samsung 990 M2 SSD + 2 Samsung 870 SSD
Graphics: Asus GeForce Dual RTX 3060 V2 12GB GDDR6
User avatar
Arayas
Site Admin
Posts: 7353
Joined: December 15th, 2018, 3:25 am
Location: Romania
Contact:

Re: FREE wireless headtracking device (Android phone)

Post by Arayas » December 27th, 2020, 12:18 am

Yes :dash1: , thank you Tapir, you should listen my daughter: "daddy had to much Walker, he's wearing his phone as a hat"
ImageImage Image
support@roextended.ro
www.roextended.ro
User avatar
BenganJ
Moderator
Posts: 9919
Joined: December 15th, 2018, 11:54 am
Location: Gothenburg, Sweden

Re: FREE wireless headtracking device (Android phone)

Post by BenganJ » December 27th, 2020, 12:26 am

😂😂😂😭😭😭
---------------------------------------------------------------------------------------------------------------------------------------------
System: Windows 8.1
Processor: Intel Core i7-4790@
Memory: 16GB
Graphics: ASUS GeForce GTX1660Ti
Image
sbym5333
PPM
Posts: 345
Joined: January 6th, 2020, 9:37 am
Location: Anyang, Republic of Korea

Re: FREE wireless headtracking device (Android phone)

Post by sbym5333 » December 27th, 2020, 1:15 am

Your idea is noice! :good2: I'll try it some day.
One of Korean Translators for TerraMaps
Post Reply