Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Autonomous and kinect doubt (http://www.chiefdelphi.com/forums/showthread.php?t=124928)

rhp3794 19-01-2014 19:46

Autonomous and kinect doubt
 
hello teams, we have a question we have to shoot before moving during the autonomus or we can move first and shoot after that?
On the other side i have a big question, we can use kinect in this season and which program i have tho download?
Thanks:)

bvisness 19-01-2014 19:48

Re: Autonomous and kinect doubt
 
You can do whatever you want during autonomous, as long as it doesn't break any of the rules in the manual. (e.g.Don't interfere with the other alliance, etc.)

How were you thinking of using the Kinect? On the robot or for driver control?

Sparkyshires 19-01-2014 19:51

Re: Autonomous and kinect doubt
 
In autonomous they honestly don't care :P you could spin around in seven circles, drop the ball, pick it up, give it to a friend, drive back and forth, get the ball back and shoot it so long as you stay on your side of the field and it's in ten seconds.

As to the kinect thing, I'm gonna say yes because there is still an option for it on the driver station, but I'm not 100% sure so don't quote me on it.

rhp3794 19-01-2014 19:52

Re: Autonomous and kinect doubt
 
but if i move before shooting i can get the extra points?
i want to control the robot with kinect and maybe put it in the robot for ball and obstacle detection.

faust1706 19-01-2014 21:27

Re: Autonomous and kinect doubt
 
Quote:

Originally Posted by rhp3794 (Post 1329464)
I want to control the robot with kinect and maybe put it in the robot for ball and obstacle detection.

You can still use skeleton tracking to control the robot (even in autonomous! but you have to stay behind that line), but I personally feel that a human would be better at driving with joysticks or a controller than moving their body, but that's my opinion.

The kinect has a depth camera, an ir emitter for the depth camera, an rgb camera, and an not so well known ir light. The lighting on the field proved for my team to be too much for the depth camera. If you want to still use it, be my guest, but you have been warned.

That leaves you with the ir and rgb camera for tracking stuff. IR will work with thing either emmitting IR light, or reflect light well, a ball is not in either of those categories and a robot might not be as reflective as you'd like.

That leaves you with the RGB camera, which at this point you are getting no benefit from using the kinect except for show. The kinect is heavy compared to a webcam or the playstation eye and it needs to be powered somehow. Don't get me wrong, though, I love the kinect. I've used it for vision the past 2 years in IR for the reflective tape.

Tracking a ball in rgb isn't too big of a challenge, but it is still a challenge nonetheless. An fundamental problem in computer vision is having your program work in different lighting environments. You'll find that your values now will be become invalid in a half an hour. And the values you have at school will not work on the field with all those spotlights. So keep that in mind.

These are some things to keep in mind. You also have to consider how you want to do vision: cRIO, send it to driverstation, or have a computer on your robot that will relay the info to the cRIO. All of which are possible and all of which are used by top level teams.

You need to decide how you want to do vision before you can do anything else really.

Something simple would be to put a camera (a kinect or otherwise) looking at the floor where a ball needs to be to be picked up, and just send that stream to your drivers station, or point it where you shoot and send that stream over to help your drivers line up.

Reiteration: decide how you want to do computer vision before anything else.

Sparkyshires 19-01-2014 21:42

Re: Autonomous and kinect doubt
 
Quote:

Originally Posted by rhp3794 (Post 1329464)
but if i move before shooting i can get the extra points?
i want to control the robot with kinect and maybe put it in the robot for ball and obstacle detection.

So long as you shoot in the 10 seconds, you get the 5 point bonus. And if you can't shoot in the first 10 seconds, then I wouldn't recommend taking a ball in auto at all. That way you can start cycles faster.


All times are GMT -5. The time now is 02:31.

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