Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   2012 Beta Testers (http://www.chiefdelphi.com/forums/showthread.php?t=107825)

Mark McLeod 16-08-2012 11:56

2013 Beta Testers
 
Who's planning on applying for one of this 2013 season's Beta Test teams?

http://www.usfirst.org/roboticsprogr...esting-process

September 7 deadline to apply.

FRC 2013 Beta Test Forums: http://forums.usfirst.org/forumdisplay.php?f=1547

Anupam Goli 16-08-2012 12:10

Re: 2012 Beta Testers
 
I did beta testing last year, and it was great. It was a great way to learn more about FRC libraries and a great way to give back to the community. However, it takes the full support of your FRC team to execute. I highly recommend teams if any calibre to sign up and participate, provided they have the resources and 6 Weeks worth of time.

rachelholladay 16-08-2012 18:05

Re: 2012 Beta Testers
 
Beta Testing was awesome last year (http://team1912.com/beta_testing.html) and we hope to do it again this year!

vinnie 16-08-2012 18:47

Re: 2012 Beta Testers
 
I had a lot of fun doing it last year and we're hoping to get accepted for Java again.

yarden.saa 17-08-2012 12:34

Re: 2012 Beta Testers
 
We applied , we were also last year but because we moved to another lab/workshop we didn't have the time for it.

Jimmy Nichols 17-08-2012 15:25

Re: 2012 Beta Testers
 
We applied for out first time this year. We are hoping to be selected.

Mk.32 18-08-2012 17:22

Re: 2012 Beta Testers
 
We are applying as well.
Just wondering what are the chances of a team to be selected?

Jon Stratis 27-08-2012 15:15

Re: 2012 Beta Testers
 
We just finished filling out the Survey... however, when we submit it, it seems to only refresh the page. Anyone else encountering this? We don't get any sort of confirmation that it went through!

Edit: Found our issue... apparently form errors don't really show up well on the site when viewed in Firefox!

JamesTerm 28-08-2012 13:51

Re: 2012 Beta Testers
 
Thanks for posting reminder... we may do this again, still thinking about it. I do want to ask a question as there is a goal I'd like to pursue. Is there anyone at all that was able to use vision through the driver-station using c++ wind-river? If so please let me know as we would like to gather information on how to do this (e.g. for Beta Exhibition). Thanks.

Greg McKaskle 29-08-2012 07:48

Re: 2012 Beta Testers
 
118 used C++ and a Beagle Bone. I don't really see an issue with doing it on the dashboard. What are your concerns?

Greg McKaskle

JamesTerm 29-08-2012 10:44

Re: 2012 Beta Testers
 
Quote:

Originally Posted by Greg McKaskle (Post 1183497)
118 used C++ and a Beagle Bone. I don't really see an issue with doing it on the dashboard. What are your concerns?

Greg McKaskle

When I was in beta last year... I was really excited about the idea of doing video processing through the driver station, and I really wanted to do that. Since this was a new presented feature, I couldn't find very much information on step by step what to do. Brad had some instructions but only for the Java platform. Jarod (341) has some good info, and source... but same scenario. I could not find the info I needed and eventually gave up. I still want to figure this out and hopefully can help others at for the task 5 exhibition who were stuck like I am now. So at this point... I just want to gather links docs info... etc on how to do this using c++ wind-river environment. Eventually have a step-by-step document on what to do... as well as example code on how to send commands from the driver station back to the robot... for things like target coordinates etc.

I've never heard of a beagle bone... thanks for info on team 118. I should hook up with them and see if they can help.

Hopefully enough teams have tested this new path... and from what I've heard it's been positive results with minimal latency.


P.S. If I can figure all of this out... it would be cool to overlay cross hairs on the video image that comes to the driver station... I'll save this research for next iteration.

Greg McKaskle 29-08-2012 18:51

Re: 2012 Beta Testers
 
You may be able to find step-by-step instructions, but perhaps you don't need them.

To get an image from the dashboard to the camera, you simply do an http get to start the mjpg stream. You can alternately request individual jpegs. You can do this in LV with the default dashboard, in Java with smart dashboard. You can also write a C/C++ dashboard, but there are no tools in the kit for doing this -- you can use Microsoft or gcc for PC development.

Once you have the image, you can use any laptop image processing library you like -- some use OpenCV, some use the NI IMAQ libraries.

To send info back to the robot, you can use UDP, TCP, or the smart dashboard. The smart dashboard is the simplest approach, and with some sample code, the UDP and TCP aren't too bad either.

As for placing marks on top of the image, the NI IMAQ vision control does this pretty easily, and I'm assuming you can modify the image or similarly overlay it in smart dashboard.

Once you start the project, you can ask additional quesitons.

Greg McKaskle

JamesTerm 29-08-2012 23:00

Re: 2012 Beta Testers
 
Quote:

Originally Posted by Greg McKaskle (Post 1183552)
You may be able to find step-by-step instructions, but perhaps you don't need them.

To get an image from the dashboard to the camera, you simply do an http get to start the mjpg stream. You can alternately request individual jpegs. You can do this in LV with the default dashboard, in Java with smart dashboard. You can also write a C/C++ dashboard, but there are no tools in the kit for doing this -- you can use Microsoft or gcc for PC development.

Greg McKaskle


Thanks for this preliminary information... I think for CD I'll just ask some high top level questions for the good of the group... and figure out the best direction to go.

What I'd like to do is have a solution that many c++ teams can use without needing to write any JAVA code. So I remember the default dashboard having callback tags or something like this, but it sounds like there is no easy way to somehow bridge the callbacks into a c++ environment. Let me know if this is not true... I know for c# it's possible to write bridge code as we do this for our products at work. If it is possible then perhaps we could offer the bridge code for others to use (since everyone gets the default dash board).

Ok so let's look at the C++ dashboard option... I presume this would be something to the effect where it becomes the replacement exe (to replace the default one), and at that point we could easily interface with it. If we went down this route, would it be something we could offer to other teams? I'd be happy to port over the default dashboard from JAVA to c++ for this exe if that sounds like the best direction.

If I can get past this first hurdle... it will help clarify the next step for us. Thanks in advance for helping us out.

JamesTerm 04-09-2012 17:52

Re: 2012 Beta Testers
 
Quote:

Originally Posted by JamesTerm (Post 1183580)
Thanks for this preliminary information... I think for CD I'll just ask some high top level questions for the good of the group... and figure out the best direction to go.

I've spoke with 118 and they went the "http get" path...using UDP packets. (Thanks 118 for this info). We'll pursue this direction as well but instead we'll use Windows and Visual Studio. I figure it will be a more feasible alternative for teams to consider using vision processing on the driver station, but it will be interesting to see how wireless latency compares against high cpu usage video processing on the cRIO. There's probably some info on this comparison else where in CD (I'm going to re-read 341's posts on their latency).

Greg McKaskle 04-09-2012 19:26

Re: 2012 Beta Testers
 
Reading between the lines, I suspect that 118 is doing an HTTP GET to init the mjpeg stream. This is inherently done over TCP. I suspect they sent data back to the cRIO using UDP. Of course the computer doing this work was mounted on their robot, not on the DS.

If you want to do this with the smart dashboard, it would involve writing some windows specific code using gcc or Visual Studio that would read the UDP packet from the DS, parse the info and display it. It would do the TCP GET to get the mjpeg stream opened, and some code to decode or display it. It could also recompile or implement the network table protocol for C++ and use that to do read/writes to the cRIO for sharing data. No need to interoperate with JAVA unless you decide to.

Similarly, the LV dashboard does the UDP and TCP work. No network table implementation was made publicly available last year.

Greg McKaskle


All times are GMT -5. The time now is 20:34.

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