How to get real time position of a object which is connected to a haptic device
How to get real time position of a object which is connected to a haptic device?
My haptic device is phantom omni I tried to print it out, it shows [0,0,0] all the time. I need to read the real time position and then apply different functions based on different positions. |
Do you get changing positions with the following code?
Code:
import viz |
Thanks Jeff.
May I ask how can I get the real-time spring force I applied? I tried ,magnitude=None ,position=None ,referenceFrame=None ) Position here represents the effect position, right? And what is the relationship between magnitude and spring force? In F = k(P-X), magnitude is the max spring force? |
Quote:
Code:
import vizmat Quote:
Quote:
|
Thank you so much!!!
|
All times are GMT -7. The time now is 08:40 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC