It is currently Tue Apr 23, 2019 6:13 am



Reply to topic  [ 5 posts ] 
 Hillcrest FSM-6 250hz firmware and Carmacks Sensor fusion 
Author Message
Certif-Eyable!
User avatar

Joined: Thu Aug 02, 2012 8:49 am
Posts: 957
Location: Norway
Reply with quote
Hi!

I was searching around to find any threads that describe how to utilize Carmacks sensor fusion from the Doom3 BFG open source files.
Hillcrest provided me with a link to the 250hz software, but explained that Carmack took raw data from the IMU and
did the sensor fusion in software rather than on-chip fusion.

My question is if anyone has the exact code that carmack used for sensor fusion, or know about a thread I failed to find that details how to do it.

Also, does FreePie add any latency if I use that as the main interface to my game? Wider input support would be good, since each input device does not have to be manually added.

CyberVillain, we are located in Norway. I was wondering, given your expertise on FreePie - maybe we could hire you as an advisor to get ready before GDC?
If you are interested we can talk more in PM, and I can tell you more about our projects.

_________________
Riftoholic

My precious 6 month project the Oculus Virtual Lounge:
Image
If you help me in any way I will be forever grateful.


Sun Mar 03, 2013 8:55 am
Profile WWW
Petrif-Eyed
User avatar

Joined: Sat Jan 09, 2010 2:06 pm
Posts: 2255
Location: Perpignan, France
Reply with quote
I don't know the specific algorithm John Carmack used for sensor fusion in Doom 3, but you may have a try with this algorithm :
http://www.x-io.co.uk/open-source-imu-a ... lgorithms/

It's been used in the PS Move API and by several people here also.


Sun Mar 03, 2013 12:06 pm
Profile WWW
Certif-Eyable!
User avatar

Joined: Thu Aug 02, 2012 8:49 am
Posts: 957
Location: Norway
Reply with quote
Thanks fredz, I am going to take a look at the ps move API also, loved your video.

_________________
Riftoholic

My precious 6 month project the Oculus Virtual Lounge:
Image
If you help me in any way I will be forever grateful.


Sun Mar 03, 2013 12:28 pm
Profile WWW
Petrif-Eyed

Joined: Mon Jun 22, 2009 8:36 am
Posts: 2160
Location: Stockholm, Sweden
Reply with quote
Carmacks fusion is not included in the Doom 3 BFG source so I do not know what fusion he is doing.
The current FreePIE implementation uses the built in fusion of the Hillcrest lib. I havent looked at the Freespace lib (Brantlew did that plugin for FreePIE) but if it exposes the raw data of the sensors then you can use the Mahony fusion that we have in FreePIE to fuse the raw data, I dont know if this gives any better results then just using the fusion code provided by the freespace lib.

FreePIE always output at around 60hz, this is not as bad as it sounds, for example, my Android plugin samples raw data at about 200-250 hz and then processed that using the Mahony fusion, the higher sample rate increases the accuracy and produces a much better result even when you just output at 60hz

Other than limiting to 60hz output FreePIE does not add any lag.

I would gladly help you, just PM me the details and I'll get back to you

_________________
FreePIE
My blog


Last edited by CyberVillain on Tue Mar 12, 2013 11:07 am, edited 1 time in total.



Sun Mar 03, 2013 12:48 pm
Profile
Certif-Eyed!

Joined: Sun Mar 25, 2012 12:33 pm
Posts: 660
Reply with quote
I think Carmack mentioned he was using algorithms from Armadillo Aerospace.

I'm not sure if he's at liberty to release stuff like that.


Sun Mar 03, 2013 3:35 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 3 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

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by STSoftware.