Go to Post Are you confused yet? - Andy Grady [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 13-02-2010, 21:23
TheDominis TheDominis is offline
Registered User
FRC #2152
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Port Orange, Florida
Posts: 88
TheDominis has a spectacular aura aboutTheDominis has a spectacular aura about
Re: Simple Custom Video Dashboard 30+ FPS

Quote:
Originally Posted by PranavSathy View Post
He is probably using Visual Studio 2010 like me, its default configuration is to make .NET 4.0 applications, but there is an option during the Project Wizard on which .NET to use, as low as 2.0 or 1.0 I believe, but I forget .
I am using Visual Studio 2008. I used beta Visual Studio 2010 when it was extremely slow and have no interest in returning until official release.
  #17   Spotlight this post!  
Unread 15-02-2010, 00:03
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: Simple Custom Video Dashboard 30+ FPS

Thanks a lot. I choose to use Ubuntu because I do not want to have programs I make today compatible with computers that run in 40 years, m$ probably will not survive if Linux really takes off.
  #18   Spotlight this post!  
Unread 15-02-2010, 08:58
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: Simple Custom Video Dashboard 30+ FPS

Quote:
Originally Posted by Robototes2412 View Post
Thanks a lot. I choose to use Ubuntu because I do not want to have programs I make today compatible with computers that run in 40 years, m$ probably will not survive if Linux really takes off.
Don't turn this into a Microsoft v. Linux flamewar. It has nothing to do with the dashboard.
__________________
  #19   Spotlight this post!  
Unread 15-02-2010, 10:34
oddjob oddjob is offline
Registered User
no team
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Earth
Posts: 118
oddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to behold
Re: Simple Custom Video Dashboard 30+ FPS

Quote:
Originally Posted by Robototes2412 View Post
Thanks a lot. I choose to use Ubuntu because I do not want to have programs I make today compatible with computers that run in 40 years, m$ probably will not survive if Linux really takes off.

That was my first concern, making sure the 2010 Breakway Dashboard runs in year 2050 under Linux version 35.6. What?
  #20   Spotlight this post!  
Unread 15-02-2010, 14:09
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: Simple Custom Video Dashboard 30+ FPS

Quote:
Originally Posted by Robototes2412 View Post
where does your code use wpf? I would like to comment that out and see if it works then.
Unless you have anything useful to say, go dump on Microsoft somewhere else. Remember that you're representing your team here to the entire FIRST community.
__________________
  #21   Spotlight this post!  
Unread 15-02-2010, 14:23
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: Simple Custom Video Dashboard 30+ FPS

I am not trying to dump on microsoft, it is an unintended side effect. I would like to try to port this code to an open framework, such as GTK/Gstreamer. VLC would possibly be a good candidate for this too. If anyone can help me with porting this, can you please contact me? I dont mean to sound rude by saying those last few posts, but I do not use windows and dislike it b/c it crashes very often when i use it (my laptop crashed when i opened google with IE).
  #22   Spotlight this post!  
Unread 15-02-2010, 14:35
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: Simple Custom Video Dashboard 30+ FPS

This dashboard is written in C# and uses both the .NET framework and the WPF, all Windows technologies. Porting it wouldn't be far from rewriting it completely. If you'd like to write your own video dashboard, contact me or TheDominis and we'd be happy to explain how the video system works.
__________________
  #23   Spotlight this post!  
Unread 04-03-2010, 23:01
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: Simple Custom Video Dashboard 30+ FPS

For my team, this seemed to cennect unreiable. The fps was below 5, and you had to resart it several times for the video feed to come. Do you have to turn off firewalls, or do something special? We are running this off a computer connected via usb to ethernet adapter. to a windoes XP professional machine.
  #24   Spotlight this post!  
Unread 05-03-2010, 18:56
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: Simple Custom Video Dashboard 30+ FPS

thats about the bandwidth of USB, sorry, but you guys are SOL
  #25   Spotlight this post!  
Unread 05-03-2010, 20:37
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: Simple Custom Video Dashboard 30+ FPS

I ported (different front end) this to .net 2, and integrated it with our ZomB Dashboard, which you can download here: http://www.chiefdelphi.com/forums/sh...d.php?p=931845
It gets the same as the original, but easier for non WPF users (like Ubuntu users) to use.
__________________
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
  #26   Spotlight this post!  
Unread 08-03-2010, 10:21
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: Simple Custom Video Dashboard 30+ FPS

Quote:
Originally Posted by Robototes2412 View Post
thats about the bandwidth of USB, sorry, but you guys are SOL
What on earth do you mean by that?
__________________
  #27   Spotlight this post!  
Unread 08-03-2010, 11:44
Tom Line's Avatar
Tom Line Tom Line is online now
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,535
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Simple Custom Video Dashboard 30+ FPS

Quote:
Originally Posted by tutkows1 View Post
For my team, this seemed to cennect unreiable. The fps was below 5, and you had to resart it several times for the video feed to come. Do you have to turn off firewalls, or do something special? We are running this off a computer connected via usb to ethernet adapter. to a windoes XP professional machine.
I had a question for Dominis regarding that.

As far as I can tell I get around 5 FPS as well, with the stock dashboard OR his dashboard.

That makes me believe that the framerate you see on your dashboard is also affected by the framerate the crio is processing.

I wonder why that is if it's the case - couldn't we decouple the two and have new pictures sent to the dashboard as quickly as possible while doing the image processing in a parallel loop? I'm going to post the question for the NI guys because I don't see any obvious reasons it wouldn't work.
  #28   Spotlight this post!  
Unread 08-03-2010, 12:12
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: Simple Custom Video Dashboard 30+ FPS

Quote:
Originally Posted by Tom Line View Post
I had a question for Dominis regarding that.

As far as I can tell I get around 5 FPS as well, with the stock dashboard OR his dashboard.

That makes me believe that the framerate you see on your dashboard is also affected by the framerate the crio is processing.

I wonder why that is if it's the case - couldn't we decouple the two and have new pictures sent to the dashboard as quickly as possible while doing the image processing in a parallel loop? I'm going to post the question for the NI guys because I don't see any obvious reasons it wouldn't work.
I've gotten 30 fps running on TheDominis's dashboard on a laptop besides the Classmate. The entire reason the FPS is slow low is because the Classmate's processor is too slow to handle the image processing any faster. The bottleneck is not in the cRIO, but the Classmate.

I'm developing my own video display (using C++ instead of a .NET language) with some hardware acceleration (Direct3D 9). I'll let you know if there's any speed increase.
__________________
  #29   Spotlight this post!  
Unread 08-03-2010, 14:04
TheDominis TheDominis is offline
Registered User
FRC #2152
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Port Orange, Florida
Posts: 88
TheDominis has a spectacular aura aboutTheDominis has a spectacular aura about
Re: Simple Custom Video Dashboard 30+ FPS

I use my dashboard on the classmate and get 30+ FPS...
  #30   Spotlight this post!  
Unread 08-03-2010, 14:04
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: Simple Custom Video Dashboard 30+ FPS

Can you please make it wine-compatible?
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
How to set up custom dashboard for auto start Kevka Programming 11 28-01-2010 18:46
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 Executable ready for Download! archiver 2001 1 24-06-2002 01:01
Custom dashboard program available. Interest? archiver 2001 4 24-06-2002 00:45


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

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