Go to Post Don't take things too seriously; It's supposed to be fun. :) - ScoutingNerd175 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 26-02-2010, 22:07
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
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.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #17   Spotlight this post!  
Unread 26-02-2010, 22:29
jspatz1's Avatar
jspatz1 jspatz1 is offline
Registered User
AKA: Jeff
FRC #1986 (Team Titanium)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Lee's Summit, MO
Posts: 836
jspatz1 has a reputation beyond reputejspatz1 has a reputation beyond reputejspatz1 has a reputation beyond reputejspatz1 has a reputation beyond reputejspatz1 has a reputation beyond reputejspatz1 has a reputation beyond reputejspatz1 has a reputation beyond reputejspatz1 has a reputation beyond reputejspatz1 has a reputation beyond reputejspatz1 has a reputation beyond reputejspatz1 has a reputation beyond repute
Send a message via AIM to jspatz1
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.
__________________
  #18   Spotlight this post!  
Unread 26-02-2010, 22:51
Brandon_L Brandon_L is offline
Back @ it again with the white vans
AKA: Brandon Liatys
FRC #2180 (Zero Gravity)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Newark, NJ
Posts: 1,207
Brandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond repute
Re: So, who has a custom dashboard?

Quote:
Originally Posted by apalrd View Post
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?
__________________
FRC 2495 - Hamilton West Robotics [2007-2014] - whats a..."hive mind"?
FRC 3929 - Atomic Dragons [2012-2013]
FRC 2180 - Zero Gravity [2017-]

Just trying to collect all the possible team colors
  #19   Spotlight this post!  
Unread 26-02-2010, 23:12
Radical Pi Radical Pi is offline
Putting the Jumper in the Bumper
AKA: Ian Thompson
FRC #0639 (Code Red Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York
Posts: 655
Radical Pi has a spectacular aura aboutRadical Pi has a spectacular aura aboutRadical Pi has a spectacular aura about
Re: So, who has a custom dashboard?

Quote:
Originally Posted by Brandon_L View Post
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.
__________________

"To have no errors would be life without meaning. No strugle, no joy"
"A network is only as strong as it's weakest linksys"
  #20   Spotlight this post!  
Unread 27-02-2010, 08:19
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: So, who has a custom dashboard?

Quote:
Originally Posted by Radical Pi View Post
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!)
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
  #21   Spotlight this post!  
Unread 02-03-2010, 22:51
slavik262's Avatar
slavik262 slavik262 is offline
We do what we must because we can.
AKA: Matt Kline
FRC #0537 (Charger Robotics)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Sussex, WI
Posts: 310
slavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to behold
Send a message via AIM to slavik262
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.
__________________
  #22   Spotlight this post!  
Unread 02-03-2010, 23:16
spartango spartango is offline
Registered User
FRC #0192 (GRT)
Team Role: Alumni
 
Join Date: Nov 2009
Rookie Year: 2008
Location: Palo Alto, CA
Posts: 43
spartango is an unknown quantity at this point
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
  #23   Spotlight this post!  
Unread 04-03-2010, 22:44
tutkows1's Avatar
tutkows1 tutkows1 is offline
Registered User
FRC #2077
 
Join Date: Jan 2010
Location: wisconsin
Posts: 44
tutkows1 is an unknown quantity at this point
Re: So, who has a custom dashboard?

How do you make the custom dashboard look for the camera feed?
  #24   Spotlight this post!  
Unread 05-03-2010, 18:58
Robototes2412's Avatar
Robototes2412 Robototes2412 is offline
1 * 4 != 14
FRC #2412 (Robototes)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2007
Location: Bellevue
Posts: 312
Robototes2412 is on a distinguished road
Re: So, who has a custom dashboard?

should you be able to get the camera feed with just a specialized java swing image container?
  #25   Spotlight this post!  
Unread 05-03-2010, 23:19
Joshuaal2000 Joshuaal2000 is offline
Registered User
FRC #0131
 
Join Date: Mar 2010
Location: Manchester
Posts: 4
Joshuaal2000 is an unknown quantity at this point
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 View Post
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.
  #26   Spotlight this post!  
Unread 08-03-2010, 02:25
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: So, who has a custom dashboard?

Quote:
Originally Posted by slavik262 View Post
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.
  #27   Spotlight this post!  
Unread 08-03-2010, 06:54
slavik262's Avatar
slavik262 slavik262 is offline
We do what we must because we can.
AKA: Matt Kline
FRC #0537 (Charger Robotics)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Sussex, WI
Posts: 310
slavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to behold
Send a message via AIM to slavik262
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.
__________________
  #28   Spotlight this post!  
Unread 15-03-2010, 14:31
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: So, who has a custom dashboard?

Quote:
Originally Posted by slavik262 View Post
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
  #29   Spotlight this post!  
Unread 15-03-2010, 16:36
bladetech932's Avatar
bladetech932 bladetech932 is offline
Programmer of awesome
AKA: Jon
FRC #0932 (Circuit Chargers)
Team Role: College Student
 
Join Date: May 2009
Rookie Year: 2009
Location: Tulsa
Posts: 242
bladetech932 is on a distinguished road
Talking 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
__________________
Expect the best, Prepare for the worst
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Dashboard Yppiz FRC Control System 1 17-02-2010 22:45
Custom Dashboard Yppiz Java 1 17-02-2010 12:27
Custom Dashboard writchie FRC Control System 7 02-03-2009 20:21
Custom Dashboard - Visual Basic Mike Lat Programming 3 23-01-2005 14:26
Custom dashboard program available. Interest? archiver 2001 4 24-06-2002 00:45


All times are GMT -5. The time now is 03:46.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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