SDK won't return roll past 90, can't detect when upside down.
Vuzix Forums
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



SDK won't return roll past 90, can't detect...Expand / Collapse
Author
Message
Posted 1/2/2008 4:30:41 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderated Users
Last Login: 12/4/2008 1:36:50 PM
Posts: 539, Visits: 1,120
Hi. The SDK returns roll as a value between -90 and 90 degrees.

This is not good enough because you can't detect when the glasses are upsidedown. Euler angles require 2 of the angles to be -180 to 180, and 1 of the angles to be -90 to 90.

Also, the SDK documentation is wrong. It says pitch and roll only go up to +/-70, which is false. They go up to +/-90. Which is the correct behaviour for pitch, but the incorrect behaviour for roll.

The hardware is perfectly capable of supplying the full range of roll values without modification to the firmware. It just needs to use the atan2 function on the horizontal and vertical accelerometer values.

GlovePIE can read the full roll with VR920.StrictRoll or VR920.SmoothRoll if you use the menu to calibrate the VR920 accelerometers.

Post #1003
Posted 1/27/2008 4:39:18 PM


Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 6/26/2008 5:19:40 PM
Posts: 14, Visits: 17
A quickie .. the sensors..
Are they the accelerometers or the miniature gyros.

I think they're probably the former as the problem I'm having with tracking indicates that the one axis is not been 'filtered' out correctly.

Thanks


Post #1384
Posted 1/27/2008 10:03:57 PM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: 1/29/2009 12:33:13 AM
Posts: 136, Visits: 408
hey vanjast
there are no miniture gyro's in the vr920.
there are acceleromiters for the pitch and roll and a sort of electronic compass sort of thing (ask carl he knows the name of it iv forgoten the technical term)

also if they were gyros when u pluged ur vr920 in u would hear a winding up sound then a constant high speed spinning noise sort of like a low pitch buzz (go in a small plane with the main power on and no engine on u will know what i mean god those gyros are loud )
Post #1388
Posted 1/28/2008 12:20:52 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderated Users
Last Login: 12/4/2008 1:36:50 PM
Posts: 539, Visits: 1,120
Unlike the Z800, there are no gyros in the VR920. It has accelerometers and magnetometers. Although I usually call the magnetometers a compass. There magnetometers in the VR920 are three dimensional.

The accelerometers can only detect tilt. They can't detect rotation around the axis of gravity (yaw). On the other hand, the magnetometers can't detect rotation around the axis of magnetic north.

By the way, the magnetic north axis is not horizontal. Where I live it is almost straight up, but tilted slightly to the north. But it is enough to allow it to track yaw.

If it did contain gyros, they would not be the same as the gyroscopes in an aircraft. They would be minature, solid state, rate gyros. The SIXAXIS contains a gyro, but I can't hear it.

Gyros can only measure rotation velocity. Which means that by themselves, there is no way of knowing which way you are facing other than by keeping track of how much you have turned. It is unreliable, so it drifts. Turning 90 degrees then turning 90 degrees back won't leave you facing exactly the same way you were before. The Trimersion only uses rate gyros, but since it only emulates mouse-look it doesn't matter. The Z800 combines rate gyros with accelerometers and magnetometers, so it can get more accurate tracking.

Anyway, accelerometers are perfectly capable of detecting when the glasses are upsidedown (because the y accelerometer will go negative), but that information is not returned by the SDK anywhere.

Post #1392
Posted 1/28/2008 1:10:30 PM


Technical Support

Technical SupportTechnical SupportTechnical SupportTechnical SupportTechnical SupportTechnical SupportTechnical SupportTechnical Support

Group: Administrators
Last Login: 1/5/2011 11:16:13 AM
Posts: 176, Visits: 468
Just as a note here, thanks to your comments regarding that, Carl, the next SDK will have the ability to detect when the VR920 is upside down. Still don't have an exact release date for it, but as always, you'll be able to find it right here when it goes live: http://vuzix.com/support/downloads_drivers.html.



~~~~~~~~~~~~~~~~~~~~~~~
If it ain't broke, break it. Then you can fix it.
~~~~~~~~~~~~~~~~~~~~~~~

Todd R. Ferguson
Technical Support
Vuzix Corporation
585.359.5909
todd_ferguson@vuzix.com
Post #1405
Posted 1/28/2008 2:50:08 PM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderated Users
Last Login: 12/4/2008 1:36:50 PM
Posts: 539, Visits: 1,120
Thank you Sorry to be picky about something so unlikely to be needed, but I like to know I can track the full 3DOF.
Post #1409
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: TechSupport, Daddo, Tech_Support

PermissionsExpand / Collapse

All times are GMT -5:00, Time now is 9:29pm

Powered By InstantForum.NET v4.1.4 © 2012
Execution: 0.141. 7 queries. Compression Enabled.