![]() |
|
#1
|
|||
|
|||
The following code allows you to specify the speed in meters per second:
Code:
# Speed in meters per second SPEED = 1 def updateGroup(): # Get the elapsed time since the previous frame and multiply that against the speed in m/s groupTracker.setPosition([0,0,SPEED * viz.getFrameElapsed()],viz.REL_LOCAL) vizact.onupdate(0,updateGroup) |
![]() |
Tags |
coordinate system, optotrak, treadmill, vizard |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Optotrak and vizard | Canucks | Vizard | 4 | 05-01-2017 10:18 PM |
Connecting Vizard and NDI Optotrak | vserchi | Vizard | 3 | 02-06-2015 01:04 AM |
Vizard 4 Beta Testing | farshizzo | Announcements | 0 | 02-01-2011 10:46 AM |
Vizard 4 Beta Testing | farshizzo | Vizard | 0 | 02-01-2011 10:46 AM |
Vizard tech tip: Using the Python Imaging Library (PIL) | Jeff | Vizard | 0 | 03-23-2009 11:13 AM |