Go to Post My favorite is always "The Next One!" - Bill Moore [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #61   Spotlight this post!  
Unread 23-01-2012, 19:29
catacon catacon is offline
Registered User
FRC #1444 (Lightning Lancers)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2006
Location: St. Louis
Posts: 154
catacon is a splendid one to beholdcatacon is a splendid one to beholdcatacon is a splendid one to beholdcatacon is a splendid one to beholdcatacon is a splendid one to beholdcatacon is a splendid one to beholdcatacon is a splendid one to behold
Re: Running the Kinect on the Robot.

Quote:
Originally Posted by RufflesRidge View Post
Looks more like Libfreenect, my guess would be hooked up to OpenCV.
At the time I was using the CodeLabratories NUI drivers with OpenCV. I have since switched to OpenKinect (libfreenect). Seems to be working very well. The Kinect is able to track the target and I am working on getting the depth to the target.
  #62   Spotlight this post!  
Unread 23-01-2012, 20:03
shuhao shuhao is offline
Registered User
FRC #4069 (Lo-Ellen Robotics)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2012
Location: Sudbury
Posts: 138
shuhao is an unknown quantity at this point
Re: Running the Kinect on the Robot.

How are you doing the tracking/recognition?

What's your algorithm? It seems to be fairly fast..

My knowledge of CV is rather limited (the basics of edge, corner detection, the high level understanding of stereo vision, scrolling window.. machine learning based pattern matching etc..), and I haven't had much experiences with OpenCV.

A basic flow of your algorithm would be nice if you're willing to share
  #63   Spotlight this post!  
Unread 24-01-2012, 01:39
catacon catacon is offline
Registered User
FRC #1444 (Lightning Lancers)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2006
Location: St. Louis
Posts: 154
catacon is a splendid one to beholdcatacon is a splendid one to beholdcatacon is a splendid one to beholdcatacon is a splendid one to beholdcatacon is a splendid one to beholdcatacon is a splendid one to beholdcatacon is a splendid one to behold
Re: Running the Kinect on the Robot.

Quote:
Originally Posted by shuhao View Post
How are you doing the tracking/recognition?

What's your algorithm? It seems to be fairly fast..

My knowledge of CV is rather limited (the basics of edge, corner detection, the high level understanding of stereo vision, scrolling window.. machine learning based pattern matching etc..), and I haven't had much experiences with OpenCV.

A basic flow of your algorithm would be nice if you're willing to share

I will post a general outline of my algorithm once I get something more solid down. I have improved it greatly since those videos.

Depth measurements and angle based tracking have been locked in.
  #64   Spotlight this post!  
Unread 24-01-2012, 14:48
catacon catacon is offline
Registered User
FRC #1444 (Lightning Lancers)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2006
Location: St. Louis
Posts: 154
catacon is a splendid one to beholdcatacon is a splendid one to beholdcatacon is a splendid one to beholdcatacon is a splendid one to beholdcatacon is a splendid one to beholdcatacon is a splendid one to beholdcatacon is a splendid one to behold
Re: Running the Kinect on the Robot.

Another video. Yaaaaaaay....


http://www.youtube.com/watch?v=6M3MpksczlY
  #65   Spotlight this post!  
Unread 28-01-2012, 00:13
shuhao shuhao is offline
Registered User
FRC #4069 (Lo-Ellen Robotics)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2012
Location: Sudbury
Posts: 138
shuhao is an unknown quantity at this point
Re: Running the Kinect on the Robot.

Quote:
Originally Posted by catacon View Post
Another video. Yaaaaaaay....


http://www.youtube.com/watch?v=6M3MpksczlY

Any explanations soon?
  #66   Spotlight this post!  
Unread 30-01-2012, 16:21
catacon catacon is offline
Registered User
FRC #1444 (Lightning Lancers)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2006
Location: St. Louis
Posts: 154
catacon is a splendid one to beholdcatacon is a splendid one to beholdcatacon is a splendid one to beholdcatacon is a splendid one to beholdcatacon is a splendid one to beholdcatacon is a splendid one to beholdcatacon is a splendid one to behold
Re: Running the Kinect on the Robot.

Yeah...maybe this week. I kind of want to get things perfected first.

I got out Pandaboard and will be working on getting things running on that this week.
  #67   Spotlight this post!  
Unread 31-01-2012, 11:36
spying189 spying189 is offline
I will get back to you on that.
FRC #2523 (Hilltoppers)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2010
Location: St. Johnsbury Academy
Posts: 5
spying189 is an unknown quantity at this point
Re: Running the Kinect on the Robot.

Quote:
Originally Posted by realslimschadey View Post
are there any drivers that we need to use the kinect with the driver station. it says i need a server. does the new driver station come with it. when i plug the kinect into the classmate it doesnt recognize it????????
Quote:
Originally Posted by RoboMaster View Post
realslimschadey, please look at some other threads, resources from FIRST, or start your own question thread. This thread is about using the Kinect on the robot, like a camera.

To use the Kinect on the robot, you would need either a computer ON the robot, or have the Kinect USB somehow streamed wirelessly to the Classmate/FIRST laptop for translation, then sent back to the bot for angle determination. FIRST provides all the resources through their "Technical Resources" webpage.
http://www.usfirst.org/roboticsprograms/frc/2012-kit-of-parts-driver-station/ This webpage provides you with all the links that you will need. First, you need to download the NI Labview Update in order to have the Classmate up to date, along with a update for FIRST utilities, and the Driver Station Update. These MUST be installed **IN LISTED ORDER** to run the supported version of the Driver Station. To give your Classmate/FIRST laptop the ability to support Kinect use, you must first ensure the computer meets the following system requirements.
It must have:
Microsoft Windows 7 Starter Edition and up
2.0 GHZ Processor or higher
1 GB of RAM or higher
3 GB or more of FREE HARD DRIVE space

To get the Kinect running after the Driver Station is installed, download & install the Microsoft Kinect SDK. After doing this, download/install the FRC Kinect Server software. This will allow FIRST software cross-compatibility between the Kinect SDK and the FIRST software.
Finally, download the Kinect Kiosk software to enable viewing of what the Kinect sees on the Driver Station. (Skeleton or not.) If you would like it to act just as a camera on the robot, then you will have to somehow program that into the FRC Dashboard (Editing the Driver Station code isn't allowed).

Hopefully this will help those who needed it working!
  #68   Spotlight this post!  
Unread 31-01-2012, 13:27
shuhao shuhao is offline
Registered User
FRC #4069 (Lo-Ellen Robotics)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2012
Location: Sudbury
Posts: 138
shuhao is an unknown quantity at this point
First of all, you don't need windows for the kinect oon the robot. In fact, it is probably a bad idea, because libfreenect is just better than Microsoft's sdk
  #69   Spotlight this post!  
Unread 31-01-2012, 17:25
azula369's Avatar
azula369 azula369 is offline
Registered User
AKA: Jess
FRC #3555 (Aluminati)
Team Role: Leadership
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Connecticut
Posts: 3
azula369 is an unknown quantity at this point
Re: Running the Kinect on the Robot.

We're a beginning team considering using a USB wireless extender (http://www.usbfirewire.com/Parts/rr-47-2022.html) to transfer the data collected by the Kinect to the Classmate, process it there, and then transfer it back through the radio. Does this sound feasible, and also legal, to the more experienced teams?
  #70   Spotlight this post!  
Unread 31-01-2012, 17:49
mwtidd's Avatar
mwtidd mwtidd is offline
Registered User
AKA: mike
FRC #0319 (Big Bad Bob)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2003
Location: Boston, MA
Posts: 714
mwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond repute
Re: Running the Kinect on the Robot.

Quote:
Originally Posted by shuhao View Post
First of all, you don't need windows for the kinect oon the robot. In fact, it is probably a bad idea, because libfreenect is just better than Microsoft's sdk
Your first statement is definitely correct.

However I'd be curious as to what makes libfreenect better.

For me I think it would save money and weight, but the library itself isn't necessarily better.

The key function I utilize in the MS SDK that makes the vision processing for this game quite a bit easier is the GetColorPixelCoordinatesFromDepthPixel function. This makes finding the intersection of the RGB and depth images much easier.

As far as I know achieving this in labfreenect takes a good deal of work and calibration. Also, I've found OpenKinect to be a pain to install, and watched it kill my machine the last two times I've tried to install it on windows.

I don't believe one solution is "better" than the other, it all depends on the approach and the application.
__________________
"Never let your schooling interfere with your education" -Mark Twain
  #71   Spotlight this post!  
Unread 31-01-2012, 18:40
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,089
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Re: Running the Kinect on the Robot.

Quote:
Originally Posted by azula369 View Post
We're a beginning team considering using a USB wireless extender (http://www.usbfirewire.com/Parts/rr-47-2022.html) to transfer the data collected by the Kinect to the Classmate, process it there, and then transfer it back through the radio. Does this sound feasible, and also legal, to the more experienced teams?
Feasible depending on range, but not legal. The only wireless communication allowed is the robot radio.
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

  #72   Spotlight this post!  
Unread 31-01-2012, 19:04
azula369's Avatar
azula369 azula369 is offline
Registered User
AKA: Jess
FRC #3555 (Aluminati)
Team Role: Leadership
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Connecticut
Posts: 3
azula369 is an unknown quantity at this point
Re: Running the Kinect on the Robot.

OK, but buying and connecting a Pandaboard is legal, right? So that's plan B. Are there any legality issues we should be aware of with that?
  #73   Spotlight this post!  
Unread 31-01-2012, 21:18
catacon catacon is offline
Registered User
FRC #1444 (Lightning Lancers)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2006
Location: St. Louis
Posts: 154
catacon is a splendid one to beholdcatacon is a splendid one to beholdcatacon is a splendid one to beholdcatacon is a splendid one to beholdcatacon is a splendid one to beholdcatacon is a splendid one to beholdcatacon is a splendid one to behold
Re: Running the Kinect on the Robot.

Quote:
Originally Posted by lineskier View Post
The key function I utilize in the MS SDK that makes the vision processing for this game quite a bit easier is the GetColorPixelCoordinatesFromDepthPixel function. This makes finding the intersection of the RGB and depth images much easier.

As far as I know achieving this in labfreenect takes a good deal of work and calibration. Also, I've found OpenKinect to be a pain to install, and watched it kill my machine the last two times I've tried to install it on windows.
That sure is a mouthful haha. This is not that difficult with libfreenect, especially with OpenCV (for me, anyways). Besides, not real need for the RGB feed anyway. ;-)

libfreenect is a pain to install on Windows. It's cake on Linux, though.
  #74   Spotlight this post!  
Unread 31-01-2012, 21:58
catacon catacon is offline
Registered User
FRC #1444 (Lightning Lancers)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2006
Location: St. Louis
Posts: 154
catacon is a splendid one to beholdcatacon is a splendid one to beholdcatacon is a splendid one to beholdcatacon is a splendid one to beholdcatacon is a splendid one to beholdcatacon is a splendid one to beholdcatacon is a splendid one to behold
Re: Running the Kinect on the Robot.

Got the Kinect running on our Pandaboard tonight. It's a little slow, but I have a few ideas on how to speed it up.
  #75   Spotlight this post!  
Unread 31-01-2012, 22:16
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 992
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Running the Kinect on the Robot.

Quote:
Originally Posted by catacon View Post
Got the Kinect running on our Pandaboard tonight. It's a little slow, but I have a few ideas on how to speed it up.
I'd love to know what framerate you're seeing and what kind of processing you're doing. Are you using both feeds or just opening the depth stream?
Closed Thread


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 11:53.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi