scarabcoder
Posts: 37
Joined: Sat Apr 20, 2013 5:38 pm

Is it possible...

Thu Nov 20, 2014 7:00 pm

I have a large request, and that is, is it possible to connect to the pi wirelessly (over LAN) from a computer, and read data coming from a USB cord connected to a Pi. Then, detect that data as though it was plugged into the computer itself.
And when I mean computer, I mean a mac or windows laptop.
I've been able to scan areas using Microsoft's Xbox Kinect, but would it be possible to connect the Kinect to the Raspberry Pi, (since it is small) and read data from the Kinect like it was plugged into the computer. I will be hopefully putting the Raspberry Pi on a drone, along with the kinect, to scan areas from the top. I can't very well send a computer in a drone, for two reasons. The first, is that obviously a computer would be either too heavy or would just fall and break. The second reason, is that I need to be able to see what is being scanned.

Tl;dr I want to connect a kinect to a Raspberry Pi (USB), then, wirelessly, get data from that Kinect. Is it possible?

User avatar
DougieLawson
Posts: 36515
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Is it possible...

Thu Nov 20, 2014 7:18 pm

Yes.

You can run Samba on the RPi and mount the RPi filesystem on Windows as a shared drive.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

scarabcoder
Posts: 37
Joined: Sat Apr 20, 2013 5:38 pm

Re: Is it possible...

Thu Nov 20, 2014 8:28 pm

I've never used Samba before.
What does it do?
Are there any part-way tutorials to what I want to do?

User avatar
joan
Posts: 14469
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: Is it possible...

Thu Nov 20, 2014 8:38 pm

scarabcoder wrote:I've never used Samba before.
What does it do?
Are there any part-way tutorials to what I want to do?
Google?

scarabcoder
Posts: 37
Joined: Sat Apr 20, 2013 5:38 pm

Re: Is it possible...

Thu Nov 20, 2014 8:51 pm

Duh.
Google, the source of all knowledge.
Also, since I doubt there is gonna be anyone attempting this, can Samba read data from a USB port on a different device over wireless, as though it was coming from the computer itself??
As in, it would have the same input/output as if the Kinect was plugged into the computer not the Pi.

W. H. Heydt
Posts: 11062
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: Is it possible...

Thu Nov 20, 2014 11:25 pm

Might be a bit of a Rube Goldberg, but....

Have the Pi read the Kinect data and write to a file. Using an SSH session logged into the Pi, copy all output to a file (e.g. a PuTTY logfile) on the PC using a tail command on the file the Pi is writing. A program on the PC could then read the log file. With the possible exception of the last step, one could certainly do all the rest concurrently.

Since you're planning to scan the ground below the drone, why don't you just use a Pi camera instead of the Kinect? Not only is it lighter, but a lot of people have done various setups using the camera attached to a Pi.

Better advice might be possible if the whole project is described in more depth. (Of course, there *is* the risk that you'll be told that what you want to do is unethical or illegal....)

marked
Posts: 218
Joined: Fri Jul 29, 2011 4:25 pm

Re: Is it possible...

Thu Nov 20, 2014 11:34 pm

Do you mean something like virtualhere which presents the pis usb ports to a networked pc as if they were on the pc itself? http://store.raspberrypi.com/projects/virtualhere

scarabcoder
Posts: 37
Joined: Sat Apr 20, 2013 5:38 pm

Re: Is it possible...

Thu Nov 20, 2014 11:49 pm

Exactly! I don't think other people really understood what I wanted.

scarabcoder
Posts: 37
Joined: Sat Apr 20, 2013 5:38 pm

Re: Is it possible...

Thu Nov 20, 2014 11:53 pm

I just checked it out, and it is EXACTLY WHAT I WANTED!
Thanks so much! Now, I just need to get a battery powered portable plug.

Return to “General discussion”