Page 1 of 1

Connect kinect to V-REP

Posted: 19 May 2017, 21:06
by jesdefer
Hi!

I would like to move Asti robot example with my kinect sensor.

I have connected properly my kinect sensor to my pc and I have executed all examples which are in OpenNi directory and they work ok.
In V-REP, I have followed all steps indicated in the window which appears when you add a new interfacte to kinect.ttm to the scene. Nevertheless, when I start my simulation, it appears a command window and it disappears really quickly. I can't see what it is written. Then, it doesn't happen anything. I don't know if I have modify the files I have copied in my V-REP installation directory properly. I enclose then to check if they are correct:

https://mega.nz/#F!JpUnxI4Y!gNR1pL4hNWCFpbXTjDyZnA

By the way, I have read in other topics of this forum that it is necessary to rewrite KinectServer.exe code to include the new drivers. Can it be the error? Does anyone have this code?

Thanks!

Jesus

Re: Connect kinect to V-REP

Posted: 20 May 2017, 05:46
by coppelia
Hello Jesus,

yes, you will very probably have to rewrite the kinectServer.exe to work with the newer Kinect/driver versions. Unfortunately.

Cheers

Re: Connect kinect to V-REP

Posted: 20 May 2017, 12:15
by jesdefer
Hi Coppelia,

Thanks for answering so quickly!
I have found this tutorial in which you can find the old kinect drivers so you don't need to modify kinect_server file:
https://fivedots.coe.psu.ac.th/~ad/kine ... ation.html
It works perfect!

Jesus.

Re: Connect kinect to V-REP

Posted: 22 May 2017, 13:26
by coppelia
Great, thanks!