#1
|
|||
|
|||
Placing Object with Optotrak
For our study, people will walk on a balance beam. I want to stick an Optotrak rigid body onto the beam so that we can have it exactly matched in space with our virtual environment.
I'm currently adding the beam into the scene at the origin with the following code: HTML Code:
# Add balance beam beam = viz.add('beam.osgb') beam.setPosition([0,0,0]) HTML Code:
opto = viz.add('optotrak.dle') body = opto.getBody(0) viz.link(body, viz.MainView) HTML Code:
opto = viz.add('optotrak.dle') body1 = opto.getBody(1) viz.link(body1, beam) |
#2
|
|||
|
|||
I'm not sure how adding a tracker to the beam will help. If you place the physical beam at the same location in tracking coordinates as the position of the virtual beam in virtual world coordinates then the two should line up.
|
Tags |
object on-the-fly, optotrak, tracking |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Object Collision | Mattrat3000 | Vizard | 1 | 12-15-2017 02:30 AM |
Getting an object location | chris2307 | Vizard | 4 | 01-10-2017 05:43 AM |
retrieve Object names | Geoffrey | Vizard | 11 | 12-11-2009 05:26 AM |
Placing Text onto another object??? | Elittdogg | Vizard | 4 | 04-08-2008 03:15 PM |
rotate to object | jargon | Vizard | 1 | 08-08-2005 01:20 PM |