![]() |
|
|
|
#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 Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Optotrak and vizard | Canucks | Vizard | 4 | 05-01-2017 11:18 PM |
| Connecting Vizard and NDI Optotrak | vserchi | Vizard | 3 | 02-06-2015 02:04 AM |
| Vizard 4 Beta Testing | farshizzo | Announcements | 0 | 02-01-2011 11:46 AM |
| Vizard 4 Beta Testing | farshizzo | Vizard | 0 | 02-01-2011 11:46 AM |
| Vizard tech tip: Using the Python Imaging Library (PIL) | Jeff | Vizard | 0 | 03-23-2009 12:13 PM |