Go to Post Communication is what keeps a good team on track. - CMBrandon [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 09-01-2013, 12:02
normaldude8825 normaldude8825 is offline
Registered User
FRC #1872
 
Join Date: Jan 2012
Location: Puerto Rico
Posts: 8
normaldude8825 is an unknown quantity at this point
Kinect as robot camera and some other questions

I am this year's programmer of the team I am part of, and I am interested if the team were to implement the Kinect as the robot's camera if there is some already existing files for FRC that can be use just like the one for controlling the robot. Also if the Kinect part has to be with C++ (which I highly think so) or if it is possible with Java.The third question related to this would be if the part of the Kinect is in C++ and the rest in Java. To conclude I am new with programming (at the moment learning Java, and took a class of introduction to C++) and I was told there was a pre-built robot source code I could use and then modify, if there is where could I find it?
Reply With Quote
  #2   Spotlight this post!  
Unread 09-01-2013, 12:25
F22Rapture's Avatar
F22Rapture F22Rapture is offline
College Student, Mentor
AKA: Daniel A
FRC #3737 (4H Rotoraptors)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Goldsboro, NC
Posts: 476
F22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant future
Re: Kinect as robot camera and some other questions

Quote:
Originally Posted by normaldude8825 View Post
I am this year's programmer of the team I am part of, and I am interested if the team were to implement the Kinect as the robot's camera if there is some already existing files for FRC that can be use just like the one for controlling the robot. Also if the Kinect part has to be with C++ (which I highly think so) or if it is possible with Java.The third question related to this would be if the part of the Kinect is in C++ and the rest in Java. To conclude I am new with programming (at the moment learning Java, and took a class of introduction to C++) and I was told there was a pre-built robot source code I could use and then modify, if there is where could I find it?
Since the Kinect is USB-only, your team would have to buy a secondary processing board such as the Ras. Pi or Pandaboard to pick up the images and send them over ethernet. It's doable, but it requires a lot more work and probably isn't worth it if you're only using the Kinect's camera.
__________________
Research is what I’m doing when I don’t know what I’m doing.
- Wernher von Braun
Attending: Raleigh NC Regional
Reply With Quote
  #3   Spotlight this post!  
Unread 09-01-2013, 12:32
normaldude8825 normaldude8825 is offline
Registered User
FRC #1872
 
Join Date: Jan 2012
Location: Puerto Rico
Posts: 8
normaldude8825 is an unknown quantity at this point
Re: Kinect as robot camera and some other questions

Thank you with the replay, could you tell me if there is a pre-existing code for the robot, and if so, where could I find it?
Reply With Quote
  #4   Spotlight this post!  
Unread 11-01-2013, 21:34
Johnbot's Avatar
Johnbot Johnbot is offline
Es Brokein!
AKA: John Westhoff
FRC #4791 (Pandroids)
Team Role: Mentor
 
Join Date: Feb 2012
Rookie Year: 2010
Location: Horsham, PA
Posts: 92
Johnbot is just really niceJohnbot is just really niceJohnbot is just really niceJohnbot is just really niceJohnbot is just really nice
Re: Kinect as robot camera and some other questions

This should help, its a very nice paper courtesy of 987.

www.chiefdelphi.com/media/papers/download/3456
__________________

2011-2014 - FRC 2607 - Student
2012-2012 - FLL 2249 - Coach
2015- ???? - FRC 4791 - Mentor
Reply With Quote
  #5   Spotlight this post!  
Unread 11-01-2013, 22:38
smclean1969 smclean1969 is offline
Registered User
FRC #3512
 
Join Date: Oct 2010
Location: Orcutt, CA
Posts: 37
smclean1969 is an unknown quantity at this point
Re: Kinect as robot camera and some other questions

We used the Kinect as our camera last year and it took a lot of extra work to make it happen. As mentioned, we needed an on board processor that preprocessed the imagery and then sent it to the driver's station. There was a lot of custom code but when it was done, it worked well. The kit of parts camera, though, was used by three of the top five teams on the Newton field in St Louis last year. If it worked for them, then it's probably good enough for almost everyone.
__________________
Scott McLean
FIRST Team 3512, the Spartatroniks
Team role: mentor


2011: Highest Rookie Seed and Rookie Inspiration Award Long Beach Competition
2012: Winner Los Angeles Regional -- w/ Team 987 and Team 1717
2013: Finalist Los Angeles Regional -- w/ Team 599 and Team 981; Engineering Excellence
2015: Entrepreneurship Award - Ventura Regional
Reply With Quote
  #6   Spotlight this post!  
Unread 12-01-2013, 16:45
Sanchez_Man Sanchez_Man is offline
Registered User
FRC #3019
 
Join Date: Jan 2013
Location: Arizona
Posts: 4
Sanchez_Man is an unknown quantity at this point
Re: Kinect as robot camera and some other questions

We tried to do Kinect on the robot using java last year. We found that it could be done using the OpenKinect Libraries as well as Processing. Unfortunately, it only works on Mac OSX (We tried for a week to get it to work on linux). We eventually tried to run Macintosh on a cheap netbook, but despite that fact that the netbook was touted as being "Hackintosh" compatible, it wasn't.

I know of one team that got it to work. They used Microsoft's Kinect SDK and used UDP to send packets between an onboard computer and the cRIO via an ethernet cable.
__________________
Why are they called urinal cakes if people yell at you for eating them?
Reply With Quote
Reply


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 09:33.

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