PDA

View Full Version : hd.get(hd.FORCE)


levisii
04-01-2009, 09:01 AM
Hello!

I've got 2 questions

1. " hd.get(hd.FORCE) " What kind of value is this vector from?

2. Is it possible to get (and set) the exactly newton values of a haptic divice? (phantom desktop)

I do know that there is a way by using directly the C++ GHOST SDK library.
But I would like to do it in python.

If there is no way, is it possible to implement such a library in worldViz. Maybe by a self made dll, or something like that?

Thanks,
Felix

Jeff
04-02-2009, 05:39 PM
Vizard reports what the Phantom is sending so you'll have to refer to their documentation to find out what units are used for the force.

Sorry, I don't have an answer for your second question. I'll check with the development team and get back to you.

levisii
04-04-2009, 03:04 AM
Thanks for quick reply, Jeff.

I will take a look at it. I am not in a hurry. At the end of this month I need to find a solution for the problem with the second question. It would be fine if you can help me ;)

farshizzo
04-14-2009, 09:55 AM
Our Demos download page contains examples scripts for the Sensable device. Included is a script that shows how to apply a constant force effect on the device. However, the documentation does not mention whether the specified units are in newtons or not.