It is currently Mon Dec 09, 2019 3:05 am



 [ 12 posts ] 
 x-IMU and vireio 
Author Message
One Eyed Hopeful

Joined: Sat Aug 10, 2013 8:53 am
Posts: 9
Hello.
Has anybody tried to track rotation in vireio using x-IMU from : http://www.x-io.co.uk/products/x-imu/, mayby with freepie ors something...
Is it possible?


Tue Oct 29, 2013 4:25 pm
3D Angel Eyes (Moderator)
User avatar

Joined: Sat Apr 12, 2008 8:18 pm
Posts: 11394
It does not support it right now, but I imagine it would be pretty easy to add support.

I'd expect someone familiar with the code could spend a weekend on it and get it working good.

_________________
check my blog - cybereality.com


Tue Oct 29, 2013 10:56 pm
Vireio Perception Developer
Vireio Perception Developer
User avatar

Joined: Tue Jun 11, 2013 9:39 am
Posts: 225
Location: Graz / Austria
This is possible, for sure ! Do you have a device ? After the release of V2.0.0 on 28.11. we may find time to add additional classes. Since i do not have a device i would need a tester having one, of course.

BTW.. i also now can say that at the release of the driver it will support another new device....I'm very curious about it ;-)


Wed Oct 30, 2013 5:18 am
One Eyed Hopeful

Joined: Sat Aug 10, 2013 8:53 am
Posts: 9
Yes i have one. We use it to record some data.
It has sdk, and quite good documentation. But im not the best programmer ;)
Is there any way to simulate that its a hilcrestlab IMU, by freepie or sth? I know it could increase latency...

Theres one open source, mouse simulation app , http://www.youtube.com/watch?v=RbhqtMaiN40 but it doesn't work in games :( maybe some classes and code could be used to add vireio compatibility.


Wed Oct 30, 2013 3:14 pm
Vireio Perception Developer
Vireio Perception Developer
User avatar

Joined: Tue Jun 11, 2013 9:39 am
Posts: 225
Location: Graz / Austria
Ok... we will add this by time. But please note that this cannot be done before the driver is released since we have tons of work. (Release is on 28.11.2013)

Regards, Denis


Mon Nov 04, 2013 1:49 pm
One Eyed Hopeful

Joined: Sat Aug 10, 2013 8:53 am
Posts: 9
I understand, there's no rush. I'm glad that you even think about adding it :) Thanks!

BTW: this mouse app that i submited link to in last post- works good in realy low sensitivity set in game, but only in 2 axies, there's no Roll, Pan & tilt. Works like normal mouse (and it has a gimbal lock issue) .


Wed Nov 13, 2013 3:11 am
One Eyed Hopeful

Joined: Sat Aug 10, 2013 8:53 am
Posts: 9
I'm bumping this topic, since you already had a big realese! Great job!
Now i will need x-imu support even more. Is it possible to add x-Imu support in the near future? Can i help you with this, some way?


Wed Feb 05, 2014 7:16 am
Vireio Perception Developer
Vireio Perception Developer
User avatar

Joined: Tue Jun 11, 2013 9:39 am
Posts: 225
Location: Graz / Austria
damian3k wrote:
I'm bumping this topic, since you already had a big realese! Great job!
Now i will need x-imu support even more. Is it possible to add x-Imu support in the near future? Can i help you with this, some way?


Hi damian3k !

I already wrote a PM at your address with my private email address a month ago. Please check your Inbox.

Regards, Denis


Thu Feb 06, 2014 5:21 am
Vireio Perception Developer
Vireio Perception Developer
User avatar

Joined: Sat May 19, 2012 5:20 am
Posts: 491
Location: BB, Slovakia
Does FreePIE support x-IMU? If so you can achieve support already by using the virieoSMT.dll and the SharedMemoryTracker option.

However, one caveat, there is a bug that means the values aren't being passed to VR Boost. You will therefore have to switch mouse emulation to true in the overall setting menu for this to work.

We are hoping to fix this issue soon for full vr boost support.

let me know if you need any help getting this set up.


Thu Feb 06, 2014 6:29 am
One Eyed Hopeful

Joined: Sat Aug 10, 2013 8:53 am
Posts: 9
Quote:
let me know if you need any help getting this set up.

I do need some help. I don't even know where to start. Do i need to download the newest official release of vireio, or some unofficial build?


Thu Feb 06, 2014 7:02 am
Vireio Perception Developer
Vireio Perception Developer
User avatar

Joined: Sat May 19, 2012 5:20 am
Posts: 491
Location: BB, Slovakia
Update: Had to rar the dll as the forum wouldn't allow it. Make sure you unrar to the correct folder.

damian3k wrote:
Quote:
let me know if you need any help getting this set up.

I do need some help. I don't even know where to start. Do I need to download the newest official release of vireio, or some unofficial build?

Grab the latest Perception (2.0.0.2 I think released tail end of last year). There will be a new release soon but this will work in the meantime.

1) Download Latest Freepie
2) Download the attached DLL and put that in the FreePie/plugins directory
3) You'll need some code for freepie to link up to the two. Try something like this:
Code:
def update():
   #a value of 0 it straight ahead/no roll
   # no data is sent to Vireio Perception untill .sendData is called
   vireioSMT.yaw = ahrsImu.yaw
   vireioSMT.pitch = ahrsImu.pitch
   vireioSMT.roll = ahrsImu.roll
if starting:
   ahrsImu.update += update

Its python but quite a simple language. I haven't used IMU so you'll need to make sure that is working. You can use
Code:
Diagnostics.watch(ahrsImu.yaw)

or similar to debug.
Run the code in FreePIE with x-IMU attached. Makes sure no errors etc.
4) Start Perception (administrator mode) and Select SharedMemoryTracker as the tracking option.
5) Run the game
6) Open the brassa menu (CTRL + Q)
7) Scroll down to Overall Settings
8) Switch on emulated mouse.

If you have done everything above correctly it should now be linked up and should respond to your x-IMU input. Once we have a release with the VR Boost fix you won't need to do steps 6-8 and you will get better latency / controller support etc.

I have tested and confirm this works by using a YEI sensor. Good Luck!


You do not have the required permissions to view the files attached to this post.


Thu Feb 06, 2014 8:56 am
One Eyed Hopeful

Joined: Sat Aug 10, 2013 8:53 am
Posts: 9
Thank you very much!
I will test it out asap, and write about it here.


Sun Feb 09, 2014 8:10 am
Display posts from previous:  Sort by  
   [ 12 posts ] 

Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Powered by phpBB® Forum Software © phpBB Group
Designed by STSoftware.