<div dir="ltr">Hello Felipe,<div><br></div><div>I am trying to implement device thread to interact with main thread with timer event. I am not able to retrieve force information back to device thread.</div><div><br></div><div>Could you please share code snippet or pseudo code?</div><div><br></div><div>Regards,</div><div>Kavya</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 4, 2015 at 1:41 AM, Felipe Bordeu <span dir="ltr"><<a href="mailto:felipe.bordeu@ec-nantes.fr" target="_blank">felipe.bordeu@ec-nantes.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<br>
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
Kavya,<br>
<br>
Please reply to the list so anyone can contribute.<br>
<br>
I use only the vtk and the openHaptics libs. I wrote a simple
pipeline and use a TimerEvent to pull the data from the device at
regular intervals. I have two different threads to deal with the
visual feedback and the force feedback (the visual threads is to
slow for the force feedback). So I don't use the run time loop of
the openHaptics libs. I usethe openHaptics libs only to pull/push
the position/force state of the device.<br>
<br>
Hope this is more clear.<br>
Felipe<span class=""><br>
<br>
<br>
Le 03/09/2015 18:34, Kavya Jain a écrit :<br>
</span><span style="white-space:pre-wrap"><span class="">> Hello Felipe,<br>
><br>
> Thank you for sharing it. Could you please provide me some
details on whether you have used any additional libraries to
achieve this or partial modification of openHaptics\VTK code?<br>
><br>
> Regards,<br>
> Kavya<br>
><br></span><span class="">
> On Thu, Sep 3, 2015 at 10:23 AM, Felipe Bordeu Weldt
<<a href="mailto:felipe.bordeu@ec-nantes.fr" target="_blank">felipe.bordeu@ec-nantes.fr</a>
<a href="mailto:felipe.bordeu@ec-nantes.fr" target="_blank"><mailto:felipe.bordeu@ec-nantes.fr></a>> wrote:<br>
><br>
> Hi Kavla,<br>
><br>
> I worked on this (here is a video
<a href="https://www.youtube.com/watch?v=Wq1lgHpxb9k" target="_blank">https://www.youtube.com/watch?v=Wq1lgHpxb9k</a>).<br>
> I use only vtk and OpenHaptics toolkit for this
particular application. But also I have other interfaces
(wiimote/alsa midicontroler) you can watch my videos on youtube.<br>
><br>
> Felipe<br>
><br>
><br></span><span class="">
> Le 3 sept. 2015 à 18:11, Kavya Jain
<<a href="mailto:kavyabellur.4@gmail.com" target="_blank">kavyabellur.4@gmail.com</a>
<a href="mailto:kavyabellur.4@gmail.com" target="_blank"><mailto:kavyabellur.4@gmail.com></a>> a écrit :<br>
><br>
>> Hi Everyone,<br>
>><br>
>> I am working on interfacing Phantom Omni device with
VTK using OpenHaptics toolkit.<br>
>> If anyone working on similar topic, could you please
share some info on whether any additional library used?<br>
>><br>
>> Regards,<br>
>> Kavya<br>
>> _______________________________________________<br></span>
>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a>
<a href="http://www.kitware.com" target="_blank"><http://www.kitware.com></a><span class=""><br>
>><br>
>> Visit other Kitware open-source projects at
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>><br>
>> Please keep messages on-topic and check the VTK FAQ
at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
>><br>
>> Search the list archives at:
<a href="http://markmail.org/search/?q=vtkusers" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
>><br>
>> Follow this link to subscribe/unsubscribe:<br>
>> <a href="http://public.kitware.com/mailman/listinfo/vtkusers" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
><br>
><br>
> _______________________________________________<br></span>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a> <a href="http://www.kitware.com" target="_blank"><http://www.kitware.com></a><span class=""><br>
><br>
> Visit other Kitware open-source projects at
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the VTK FAQ at:
<a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
><br>
> Search the list archives at:
<a href="http://markmail.org/search/?q=vtkusers" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://public.kitware.com/mailman/listinfo/vtkusers" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
><br>
></span></span><br>
<br>
<br>
- -- <br>
Felipe Bordeu Weldt<br>
Ingénieur de Recherche<br>
- -------------------------------------<br>
Tél. : 33 (0)2 40 37 16 57<br>
Fax. : 33 (0)2 40 74 74 06<br>
<a href="mailto:Felipe.Bordeu@ec-nantes.fr" target="_blank">Felipe.Bordeu@ec-nantes.fr</a><br>
Institut GeM - UMR CNRS 6183<br>
École Centrale Nantes<br>
1 Rue de La Noë, 44321 Nantes, FRANCE<br>
- -------------------------------------<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v2.0.22 (GNU/Linux)<br>
<br>
iQEcBAEBAgAGBQJV6UsnAAoJEE/fMfNgU9/DoOYIAImEDxBP+ZRNpMe7m2k4+6zQ<br>
ObeZ14Mws0gLT+68JGrUAMYNJ4rm5W7tQBNmmxbEak0nw+txhUvlWt3BOkN5qgP3<br>
g82SutWQXcYbpD4I2IQOA4RMLHNi9P5zVPw8J4oiGOKnIsZ7hSgxP6ZotMCaoihr<br>
NCgahtoNhch01+US5gA8GL0StDGAN7ySpOJO4ACsbouTcoyHVr9D7yBFK5qnQUsf<br>
/imK6wev2m6QCYqUKQj9QIW4/RpXdUZd2b963RMQn4dgMVmYYeHg6DlpstKmY7Xt<br>
X76Zj8Z5W8F58OGj99VdYqQNVoMrFVlVEcYU7ZMKMPY28PDzzIQqrU0ildFB95c=<br>
=Z91E<br>
-----END PGP SIGNATURE-----<br>
<br>
</div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>