|
|
|
![]() |
|
|||||||
|
||||||||
This paper describes how team 987 integrated the Kinect into their robot.
This paper describes how team 987 integrated the Kinect into their robot.
How987UsedTheKinect.pdf
24-05-2012 12:10
HjelstromHere is a paper describing how we used the Kinect in our FRC robot. Feel free to ask questions!
24-05-2012 12:45
Tom BottiglieriThanks for sharing this. It's great you were able to get this all working with fairly little Linux experience.
24-05-2012 13:25
stundt1Awesome will read a little later. Here is some questions I have.
By when in build season did you decide that you were going to use the kinect to aid in vision tracking?
By when did you have the vision code working fully functional by?
-Steve
24-05-2012 13:52
Jared Russell
Thanks for sharing! I know that we thought about doing something similar this year, but were scared off by the added complexity of having to power and interface with a second computing device. If it's a viable and strategically valuable option next year, we will definitely put some of the lessons learned in this whitepaper to good use!
24-05-2012 15:09
Hjelstrom|
Awesome will read a little later. Here is some questions I have.
By when in build season did you decide that you were going to use the kinect to aid in vision tracking? By when did you have the vision code working fully functional by? -Steve |
24-05-2012 16:00
JesseKDid you have any issues with the O/S not booting in a reasonable amount of time?
24-05-2012 16:10
stundt1We didn't have enough time to get our vision shooting working fully. If only we had a few more days with the robot 
Great job 987 was a fan of your robot and its accurate shooter.
24-05-2012 16:58
Hjelstrom|
Thanks for sharing! I know that we thought about doing something similar this year, but were scared off by the added complexity of having to power and interface with a second computing device. If it's a viable and strategically valuable option next year, we will definitely put some of the lessons learned in this whitepaper to good use!
|
24-05-2012 17:11
JesseK|
If anyone can point us in the direction of a way to stream video (stream the frames that the kinect code renders) from the Pandaboard/Ubuntu to the SmartDashboard, that would be a huge improvement for this kind of control system. That would be a good offseason project.
|
24-05-2012 18:24
Hjelstrom|
Did you have any issues with the O/S not booting in a reasonable amount of time?
|
24-05-2012 18:34
connor.worley
Have you thought of using a ramdisk to solve the shutdown problem? This article looks like it could be useful.
24-05-2012 19:14
Hjelstrom|
If the stream is a true stream, then this may be of help ... if you can't write code/scripting to make a stream of your own, then see below. ffmpeg (on linux) may help create a stream; it's pretty versatile, but I've only used it to convert youtube videos into local files.
www.videolan.org Otherwise, you may wind up wrapping the images and then coming up with a simple Java display that displays the latest image from the socket. We did this in 2009 & 2012. It's another layer of complexity, so I'd recommend trying to get a video stream going first. |
24-05-2012 19:35
Joe Ross
You could show the kinect display through SSH X11 forwarding. You'd have to play with port numbers to get something that will work on the field, however.
24-05-2012 21:26
slijinOne of the things that I recall very vividly during Curie finals was that your turret was constantly in motion, and would turn to remain aimed at the region around the center backboard (although if you drove around long enough, it would eventually drift away).
Were you constantly auto-aiming your turret in the main control loop with the Pandaboard-processed data, or was that something else entirely? I ask because in your paper you say
| during tele-op the driver has a button he can hold to auto-aim |
25-05-2012 08:54
JesseK|
We put a surprising amount of work into just coming up with a way to safely and quickly shut the pandaboard down.
|
25-05-2012 10:32
Hjelstrom|
One of the things that I recall very vividly during Curie finals was that your turret was constantly in motion, and would turn to remain aimed at the region around the center backboard (although if you drove around long enough, it would eventually drift away).
Were you constantly auto-aiming your turret in the main control loop with the Pandaboard-processed data, or was that something else entirely? I ask because in your paper you say |
25-05-2012 11:58
sebflippersThanks for the read. Some things that I am considering for next year (with the pandaboard):
1. Use Arch linux instead of Ubuntu. It is officially supported for omap chips. Also, you don't need to install any X server, so you get fast boot times (but only command line).
Obviosly programming in the command line isn't very fun, so...
2.install cloud9 ide. You can program over the network, so there is no need connect to a pandaboard.
well, anyway... just my 2 cents.
25-05-2012 12:09
JesseK|
Also, you don't need to install any X server, so you get fast boot times (but only command line).
|
25-05-2012 13:04
Hjelstrom|
Thanks for the read. Some things that I am considering for next year (with the pandaboard):
1. Use Arch linux instead of Ubuntu. It is officially supported for omap chips. Also, you don't need to install any X server, so you get fast boot times (but only command line). Obviosly programming in the command line isn't very fun, so... 2.install cloud9 ide. You can program over the network, so there is no need connect to a pandaboard. well, anyway... just my 2 cents. |
25-05-2012 16:21
connor.worley
|
As for using RAMDISK, that's not as straightforward as one might think. For one, most default Linux installs take 1Gb-2GB of total disk space, which would then be put into RAM (unsure of this Ubuntu image though). Then, any changes that are made to the O/S or program settings would have to be re-compressed and re-deployed as the O/S image for RAMDISK to open up at runtime. Usually the data directories (such as /home) and in this case FRC-related application directories (such as /opt) are NFS (network file system) mounted and are actually located on another computer -- yet I wouldn't recommend it for a live FRC field environment. Ergo, the data directories would then have to go somewhere -- presumably still on the SD card that's potentially causing the root issue anyways.
|
25-05-2012 17:48
sebflippersTo get an idea what cloud9 can do once you set it up, check this out:
http://youtu.be/z6b4zlh0IrE?t=9m30s
03-09-2013 23:44
Chadfrom308How hard is it to do the autoaiming? Also, what sensors and calculations do you use for holding a target? I visited the las Vegas competition and I saw you guys aim while hanging and I also heard you can aim while moving. How hard is it to do this and well.... How? They are great features to put in! Anyways, I also wanted to say that I am very impressed with your robot and especially your vision! 