Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Simple Custom Video Dashboard 30+ FPS (http://www.chiefdelphi.com/forums/showthread.php?t=82422)

TheDominis 13-02-2010 21:23

Re: Simple Custom Video Dashboard 30+ FPS
 
Quote:

Originally Posted by PranavSathy (Post 919511)
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 :D.

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.

Robototes2412 15-02-2010 00:03

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.

slavik262 15-02-2010 08:58

Re: Simple Custom Video Dashboard 30+ FPS
 
Quote:

Originally Posted by Robototes2412 (Post 920264)
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.

oddjob 15-02-2010 10:34

Re: Simple Custom Video Dashboard 30+ FPS
 
Quote:

Originally Posted by Robototes2412 (Post 920264)
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?

slavik262 15-02-2010 14:09

Re: Simple Custom Video Dashboard 30+ FPS
 
Quote:

Originally Posted by Robototes2412 (Post 920510)
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.

Robototes2412 15-02-2010 14:23

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).

slavik262 15-02-2010 14:35

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.

tutkows1 04-03-2010 23:01

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.

Robototes2412 05-03-2010 18:56

Re: Simple Custom Video Dashboard 30+ FPS
 
thats about the bandwidth of USB, sorry, but you guys are SOL

byteit101 05-03-2010 20:37

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.

slavik262 08-03-2010 10:21

Re: Simple Custom Video Dashboard 30+ FPS
 
Quote:

Originally Posted by Robototes2412 (Post 931810)
thats about the bandwidth of USB, sorry, but you guys are SOL

What on earth do you mean by that?

Tom Line 08-03-2010 11:44

Re: Simple Custom Video Dashboard 30+ FPS
 
Quote:

Originally Posted by tutkows1 (Post 931606)
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.

slavik262 08-03-2010 12:12

Re: Simple Custom Video Dashboard 30+ FPS
 
Quote:

Originally Posted by Tom Line (Post 933575)
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.

TheDominis 08-03-2010 14:04

Re: Simple Custom Video Dashboard 30+ FPS
 
I use my dashboard on the classmate and get 30+ FPS...

Robototes2412 08-03-2010 14:04

Re: Simple Custom Video Dashboard 30+ FPS
 
Can you please make it wine-compatible?


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

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