Go to Post I can't get anyone on the team to leave warm South Florida to go to Manchester in January. Go figure. - Warren Boudreau [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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
  #1   Spotlight this post!  
Unread 04-01-2013, 18:48
Radical Pi Radical Pi is offline
Putting the Jumper in the Bumper
AKA: Ian Thompson
FRC #0639 (Code Red Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York
Posts: 655
Radical Pi has a spectacular aura aboutRadical Pi has a spectacular aura aboutRadical Pi has a spectacular aura about
Re: Axis Cam transport layer?

We had the Kinect on our robot last year, and tried to do something similar. We did all of the vision processing on the coprocessor though, so the Axis emulation wasn't as important. We just included it so that the dashboard could get the image for debugging. We never did get it to be 100% reliable though, and the dashboard stream often fail as soon as the cRIO enabled (we sent results over a second channel to the cRIO which didn't fail), but I think that may have been a result of our choice of HTTP libraries.

If you need a starting place and are working in C(++), you can find our primary code for the coprocessor here. That's the file with most of the kinect interface stuff and parts of the vision algorithm, the rest are mainly for other parts of the vision processing. You can also see beagleSender.cpp for the code that sent the results to the cRIO. Our axis implementation isn't in there yet, but I'll see about getting it up.

With our system, we used a BeagleBoard-xM with Angstrom Linux, but that choice shouldn't matter too much. You'll need to install OpenCV if you want to do processing on the board, and libfreenect (which requires libusb) to get images from the Kinect. We didn't use the depth stream from the Kinect (it drops in accuracy significantly after ~2 meters), but you can see how we grab the raw IR images (which work wonders with the retroreflective tape). Note that you can't have both IR and color video enabled simultaneously. You can also get a hi-res (1208x1024) image from one of the two cameras if you disable the depth data.

Good luck, and feel free to ask if you have any more questions.
__________________

"To have no errors would be life without meaning. No strugle, no joy"
"A network is only as strong as it's weakest linksys"
  #2   Spotlight this post!  
Unread 05-01-2013, 15:05
adciv adciv is offline
One Eyed Man
FRC #0836 (RoboBees)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Southern Maryland
Posts: 478
adciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to all
Re: Axis Cam transport layer?

Please see my post over here. The code is already written & released.
http://www.chiefdelphi.com/forums/sh...d.php?t=110241
__________________
Quote:
Originally Posted by texarkana View Post
I would not want the task of devising a system that 50,000 very smart people try to outwit.
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 00:15.

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