Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Vision on separate board (http://www.chiefdelphi.com/forums/showthread.php?t=119947)

Chadfrom308 15-10-2013 13:20

Re: Vision on separate board
 
Quote:

Originally Posted by Hjelstrom (Post 1296577)
Our Kinect co-processor in 2012 was a TCP listen server. We used the information on this site to learn enough to write the necessary networking code: http://beej.us/guide/bgnet/ The cRio connected as a client to our pandaboard "server" and you could also connect to the pandaboard from the driver station. We used simple strings for our commands so you could interact with it through a telnet prompt from the driver station. To do this, all you need is the code to open a connection and then send strings back and forth.

Your vision system was amazing. What else die you do to implement it? Like sensor wise

Hjelstrom 15-10-2013 14:36

Re: Vision on separate board
 
Thanks! In case you haven't seen this paper, it has a lot of details:

http://www.chiefdelphi.com/media/papers/2698?

Other sensors involved were a gear-tooth sensor for measuring the shooter wheel speed and an frc gyro mounted on the turret which was used to guide the turret to the angle requested by the aiming system.

yash101 15-10-2013 16:58

Re: Vision on separate board
 
That article was actually the first article that I read after I started getting set up for vision processing. BTW, Greg, how's it going? Are you going to the Las Vegas regional?

Also, was your vision processing last season onboard or on the driver station?

Hjelstrom 16-10-2013 16:58

Re: Vision on separate board
 
Quote:

Originally Posted by yash101 (Post 1296644)
That article was actually the first article that I read after I started getting set up for vision processing. BTW, Greg, how's it going? Are you going to the Las Vegas regional?

Also, was your vision processing last season onboard or on the driver station?

Hi! Yes I'll be at the Las Vegas regional.

In 2013 we used something similar to 341's vision system which they presented in 2012. It ran on the driver station which was extremely useful because it allows you to 'see' what the system is doing all of the time. Also having a co-processor on your robot turns out to be a big hassle. In 2012, the depth data provided by the Kinect allowed us to make shots from a wide variety of locations. However, in 2013 aiming really did not require depth so a more traditional vision system worked great.

Here is the vision paper by 341:
http://www.chiefdelphi.com/media/papers/2676?

magnets 16-10-2013 17:14

Re: Vision on separate board
 
Unless you're using kinect, you don't need a board on the robot. The driver station laptop works perfectly for vision. Our robot could line up with the target in less than 1 second every time with this method.

The lag from the driver station is minimal, as it's very easy for a dark/compressed 320x240 20 fps image to use less than 3 mbit/s, and usually the trip times for packets are under 50 ms. 341 in 2012 had a great vision setup, and they didn't need the super lightning-fast image processing response from an onboard processor.

Unless somebody can show me a specific example of the driver station link not being fast enough, I maintain that using a separate board for vision is not a good use of your time.

yash101 19-10-2013 01:28

Re: Vision on separate board
 
Quote:

Originally Posted by Hjelstrom (Post 1296847)
Hi! Yes I'll be at the Las Vegas regional.

In 2013 we used something similar to 341's vision system which they presented in 2012. It ran on the driver station which was extremely useful because it allows you to 'see' what the system is doing all of the time. Also having a co-processor on your robot turns out to be a big hassle. In 2012, the depth data provided by the Kinect allowed us to make shots from a wide variety of locations. However, in 2013 aiming really did not require depth so a more traditional vision system worked great.

Here is the vision paper by 341:
http://www.chiefdelphi.com/media/papers/2676?

This was exactly what I was looking for. Our team wants to do the processing on the laptop. Anyways, have you tried RoboRealm, or just OpenCV?

Hjelstrom 19-10-2013 16:24

Re: Vision on separate board
 
Quote:

Originally Posted by yash101 (Post 1297307)
This was exactly what I was looking for. Our team wants to do the processing on the laptop. Anyways, have you tried RoboRealm, or just OpenCV?

I have not tried RoboRealm.

alxg833 21-10-2013 15:29

Re: Vision on separate board
 
Just wanted to say that I owe a lot of thanks to you guys. Your advice has been incredibly helpful and easy to understand, especially to someone who's trying to learn new material. Thank you all so much!


All times are GMT -5. The time now is 22:41.

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