How can I use kinect with Raspberry pi in a Simulink model?
Show older comments
I want to generate a model in Simulink which gets data from Kinect using Raspberry Pi 2.
Answers (2)
Walter Roberson
on 6 Oct 2016
0 votes
If you want the Kinect to connect directly to the Raspberry Pi 2, you are going to need a connector adapter and you are going to need drivers. It looks like some people have developed those; see http://raspberrypi.stackexchange.com/questions/27586/how-can-i-connect-a-kinect-to-my-raspberry-pi
If you connect the Kinect to your computer and have it collecting the data and then transmitting it to Raspberry Pi, then you can use https://www.mathworks.com/matlabcentral/fileexchange/32318-simulink-support-for-kinect, and then the easiest way to proceed might be to use a TCP block, and then have a second model with a Raspberry TCP receive block for deploying to the Pi.
Your phrasing suggests to me that you might be wanting to connect the Kinect directly to the Raspberry Pi 2, sort of like http://www.slashgear.com/raspberry-pi-2-kinect-make-for-a-handy-3d-scanner-06391772/. Because of the need to interface with the Kinect drivers, I think you will probably need to use either a MATLAB Function block or a Level 2 S Function, and use coder.ceval()
1 Comment
Tarun Mahani
on 6 Oct 2016
Ah Hou
on 4 Mar 2017
0 votes
Hi, I have similar problem here. For now I am able to get the data from Kinect and able to control the Raspberry Pi. However, I wish to combine both of them and I need to use MATLAB for the programming. In addition, I am a beginner. May I know how can I install the Kinect driver into Raspberry Pi using MATLAB?? Thank you.
2 Comments
Walter Roberson
on 4 Mar 2017
Please follow the leads from http://raspberrypi.stackexchange.com/questions/27586/how-can-i-connect-a-kinect-to-my-raspberry-pi
You will need some Linux skills.
Ah Hou
on 12 Mar 2017
I tried that and facing some problem. Thanks a lot. I am trying to solve the problem, I will ask again if I need help.
Categories
Find more on Kinect For Windows Sensor in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!