WorldViz User Forum  

Go Back   WorldViz User Forum > Search Forums

Showing results 1 to 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: Jeff
Forum: Vizard 02-04-2018, 10:48 PM
Replies: 7
Views: 10,439
Posted By Jeff
Here's an example that prints out the viewpoint...

Here's an example that prints out the viewpoint velocity each frame:

import viz
viz.go()

viz.addChild('piazza.osgb')

lastPos = [0,0,0]
def calculateVelocity():
global lastPos
Forum: Vizard 06-02-2016, 11:37 PM
Replies: 7
Views: 10,439
Posted By Jeff
You could calculate the velocity from one frame...

You could calculate the velocity from one frame to the next using the following:

lastPos = [0,0,0]
def calculateVelocity():
global lastPos
pos = device.getPosition()
distance =...
Forum: Vizard 05-31-2016, 05:00 AM
Replies: 7
Views: 10,439
Posted By Jeff
It does not look like there is a velocity...

It does not look like there is a velocity command. The available commands can be found in the Sensable (http://docs.worldviz.com/vizard/#SensAble_Haptic_Devices.htm) and standard sensor...
Forum: Vizard 05-30-2016, 06:39 AM
Replies: 7
Views: 10,439
Posted By Jeff
Do you mean the velocity of the stylus as the...

Do you mean the velocity of the stylus as the operator moves it or something else?
Showing results 1 to 4 of 4

 
Forum Jump

All times are GMT -7. The time now is 09:31 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC