PDA

View Full Version : Direct access to phantom omni data


vsully
03-13-2006, 05:26 PM
Hi,

I'm trying to "re-wire" the links between data obtained from the phantom omni device and the object it controls in a virtual world. Currently there's a one-to-one mapping between the phantom's pen's position and oriention and the 3D marker object attached to the hd.

More specifically, I need the pen's pitch yaw roll to control the movement of one object and the orientation of the first arm, second arm, and "base" to control the position of a second object. I imagine I'll need to direct access to the phantom's data -- is there a simpler solution?

Thanks.

farshizzo
03-14-2006, 09:44 AM
Hi,

The hd plugin does not provide access to that low level of data. All Vizard provides is the position/rotation of the pen. You can probably calculate the rotation of the base from the x position of the pen. But determining the rotation of the first/second arm would be difficult to calculate.