Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   So, who has a custom dashboard? (http://www.chiefdelphi.com/forums/showthread.php?t=83522)

apalrd 26-02-2010 22:07

Re: So, who has a custom dashboard?
 
There is a VI to save the images at a predetermined rate, to JPG files. Seems to work well.

jspatz1 26-02-2010 22:29

Re: So, who has a custom dashboard?
 
We've done quite a bit of customizing. Bigger vision window, orientation compass, kicker strength indicator, status lights. Simplified the overall look for easy viewing. Pretty easy when using Labview to program.

Brandon_L 26-02-2010 22:51

Re: So, who has a custom dashboard?
 
Quote:

Originally Posted by apalrd (Post 929208)
There is a VI to save the images at a predetermined rate, to JPG files. Seems to work well.

Ill look at it, but theres no way to do a video?

Radical Pi 26-02-2010 23:12

Re: So, who has a custom dashboard?
 
Quote:

Originally Posted by Brandon_L (Post 929238)
Ill look at it, but theres no way to do a video?

There are quite a few programs that can convert a series of images into a video (ffmpeg comes to mind)

On that topic, I looked where the dashboard should be saving camera images and found only a single image back from when I was getting the camera to work. I checked the Dashboard and the code seems to be intact.

byteit101 27-02-2010 08:19

Re: So, who has a custom dashboard?
 
Quote:

Originally Posted by Radical Pi (Post 929246)
There are quite a few programs that can convert a series of images into a video (ffmpeg comes to mind)

On that topic, I looked where the dashboard should be saving camera images and found only a single image back from when I was getting the camera to work. I checked the Dashboard and the code seems to be intact.

ah, ffmpeg! my favorite video editing program. I used images with timestamps to make it timed correctly, and got a nice video: http://thecatattack.org/media/Vid/#AsixM409 (Match 4 (from robot camera) is the best, at the end of auto, we are staring at our team, and you can watch the seconds count down, then we jump forward). we even had a "Cat-o-Vison" sign and played four of these in the pits (one got scrambled up later)

we are using our ZomB dashbaord (http://www.chiefdelphi.com/forums/sh...ad.php?t=82612) and right now I am adding the smashTCP video to it so we can stream video: http://www.chiefdelphi.com/forums/sh...ad.php?t=82422 (and my version doesn't need .net 4, It uses .net 2!)

slavik262 02-03-2010 22:51

Re: So, who has a custom dashboard?
 
As many of you know, I'm currently in the process of making one. I've ran into a roadblock though. After working with the UI for several weeks, I went today to test the networking only to find that FIRST had completely changed the protocol around. If anybody could get me up-to-date documentation on the dashboard protocol, I would be extremely grateful.

spartango 02-03-2010 23:16

Re: So, who has a custom dashboard?
 
While for competition we have a stable custom labview Dashboard(robot-side code is all Java), we've been experimenting with a java swing dashboard:

http://code.google.com/p/grtframewor...CDashboard.jar

tutkows1 04-03-2010 22:44

Re: So, who has a custom dashboard?
 
How do you make the custom dashboard look for the camera feed?

Robototes2412 05-03-2010 18:58

Re: So, who has a custom dashboard?
 
should you be able to get the camera feed with just a specialized java swing image container?

Joshuaal2000 05-03-2010 23:19

Re: So, who has a custom dashboard?
 
For my team, I am Using the Demo Dashboard as a base, but I have completely modified it to only contain info that our drivers want during the match, such as two bars to compare our what our drivers set for our kicking distance, to that of what the robot is currently set to kick at. This makes it simple for the drivers to see when the Kicker is in the correct position. We have Booleans for certain necessary features. We also display What state our Autonomous and Kicker state machines are currently in, Using enumerations from our C code.

Quote:

Originally Posted by Alan Anderson (Post 927702)
Our custom Dashboard works great. We're using LabVIEW on the robot, so it was easy to make the data match up.

One wrinkle we added was to split the display into two tabs. One is for use during a match and the other has a lot of diagnostic information (like raw encoder counts and other sensor input).

I have also done this to my dashboard, but in a different fashion. Using Data sent from the robot, we have made an autonomous and a teleop tabs plus a developer tab for debugging. During the match, the tabs switch from auto to teleop instantaneously when the state of the game changes with no manual control needed. This allows us to display different data during each part of the match, and allows us to keep our auto tab uncluttered so we can have larger text and inidcators, so that the driving team can view it from their starting position. The developer page requires manual opening to view.

jhersh 08-03-2010 02:25

Re: So, who has a custom dashboard?
 
Quote:

Originally Posted by slavik262 (Post 930754)
As many of you know, I'm currently in the process of making one. I've ran into a roadblock though. After working with the UI for several weeks, I went today to test the networking only to find that FIRST had completely changed the protocol around. If anybody could get me up-to-date documentation on the dashboard protocol, I would be extremely grateful.

I don't believe it changed much... what are you thinking changed? I know we added in the error data that shows up on the dashboard and the made a distinction between high- and low-priority dashboard data. If you have any more direct questions about it, just PM me.

slavik262 08-03-2010 06:54

Re: So, who has a custom dashboard?
 
They didn't completely change it around - that was me being a bit reactionary and frustrated that it changed when I went to test it. The user data used to be in the following order: User string (as in a string of text you could add), Error string, and then the rest of the user data. This is in contrast to the current setup with high-priority data, then the error string, then the low-priority data. I have it working (to my knowledge anyways - I still need to do some more testing with the robot) thanks to Eric Haskins and his documentation. You can check out my first release at the bottom of this page. There's a few bugs in the initial release that I noted on page 4 -they're already fixed and I'll have the next release out in a day or so.

jhersh 15-03-2010 14:31

Re: So, who has a custom dashboard?
 
Quote:

Originally Posted by slavik262 (Post 933457)
They didn't completely change it around - that was me being a bit reactionary and frustrated that it changed when I went to test it. The user data used to be in the following order: User string (as in a string of text you could add), Error string, and then the rest of the user data. This is in contrast to the current setup with high-priority data, then the error string, then the low-priority data.

The primary change was to rename the fields. Because user strings and user data are both just variable size data fields, we didn't think they should be named as though they would only work in those ways. Since the real difference was the priority of each field wrt to the error strings, we decided to name it as such. Then on the robot, we made it easier to send either strings or packed data to either field. Make sense?

What was the practical difference that impacted your code?

-Joe

bladetech932 15-03-2010 16:36

Re: So, who has a custom dashboard?
 
We have a custom dashboard of which the main purpose is to reduce lag and increase the size of the vision


All times are GMT -5. The time now is 23:21.

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