WorldViz User Forum  

Go Back   WorldViz User Forum > Plug-in development

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 09-12-2008, 07:31 AM
xabbu xabbu is offline
Member
 
Join Date: Sep 2008
Posts: 8
Plugins for other haptic devices

Hello,

I am wondering if there is any tutorial or source code examples on how to implement the interface between for example a selfmade haptic device and the haptics environment in Worldviz.

I am currently developing a new haptic device for the human arm and it would be great to get some information on how to interface between the haptics device abstractionlayer/driver to the hd environment in worldviz.

Thanks allready in advance and cheers,

xabbu
Reply With Quote
  #2  
Old 09-13-2008, 08:29 AM
mspusch mspusch is offline
WorldViz Team Member
 
Join Date: Feb 2003
Posts: 211
Hi Xabbu, I have moved your post into the section "Plug-in development ".

Concerning your question, you can find the following under the section 'download' - 'Vizard' on the worldviz webpage:

"Vizard 3.0 Plug-in SDK"

"All Sensor Plugin Sources
Visual Studio projects for many hardware sensor plugins"

This might answer part of your question. I'm not one of the programmers myself and don't know how to best interface a haptics device. I have informed the programmers to get back to you about this. Have a nice weekend!
Reply With Quote
  #3  
Old 09-15-2008, 12:02 AM
tobin tobin is offline
WorldViz Team Member
 
Join Date: Feb 2003
Posts: 251
There is really no built-in haptics environment in Vizard. Vizard supports Sensable and other haptic devices but these supported products are done through the manufacturers' own SDKs.

We can certainly provide plug-in skeleton's that show how to send and receive data from Vizard and how to get access to Vizard's scene graph.

Can you supply some more details about what kind of data you would want to exchange back and forth with Vizard?
Reply With Quote
  #4  
Old 09-15-2008, 05:03 AM
xabbu xabbu is offline
Member
 
Join Date: Sep 2008
Posts: 8
First of all thanks for these quick responses.
For a little more information about the device which is being developed:

This will be a haptics device for the human arm with 3 DoF in the beginning.
Somewhat similar to allready existing solutions like the desktop devices that are out there (sensable, novint etc.).
So if I understood that right: the plugin sdk is somewhat only the abstraction layer between the driver interface/api of the developer of a hd and the python layer in vizard.

So this means you are actually giving the connected haptics device the commands for example for force presentation via the command function provided in your plugin sdk.
Now I saw in your examples regarding the openhaptics by sensable that you are actually using predefined functions of their api in order to render certain haptic effects like springforce, dampened force etc.
So by "vizard has no built in haptics functions" you actually mean that the functions for rendering the displayed forces by their fxtype is not regarded by vizard.
For haptic rendering I would then at least need information about colliding objects in the scenegraph and their positions in order to calculate the forces in my haptics device api/driver.

I hope I kind of reasoned correctly.

cheers,

xabbu
Reply With Quote
  #5  
Old 09-17-2008, 01:14 AM
tobin tobin is offline
WorldViz Team Member
 
Join Date: Feb 2003
Posts: 251
I think we're on the same page. You can leverage Vizard's physic's engine to have Vizard report collision events between mesh objects if you like. And you can certainly query objects about their 6DOF states. Do you need more help at this point to get started?
Reply With Quote
  #6  
Old 09-17-2008, 05:39 AM
xabbu xabbu is offline
Member
 
Join Date: Sep 2008
Posts: 8
Thx tobin, I think I am setup so far with the information I needed. But I will happily come back once I encounter some other issues...

Take care,
xabbu
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
two haptic devices SSophia Vizard 3 07-07-2008 02:42 PM
Collision detection with haptic pen mjabon Vizard 3 01-17-2008 06:35 PM
haptic 3d cursor asimbh Vizard 1 11-16-2006 10:22 AM


All times are GMT -7. The time now is 11:17 AM.


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