|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Simple Custom Video Dashboard 30+ FPS
I've made a dashboard in C# that uses the stock camera code. I get 30 FPS with their newest code.
I've attached the executable and source code. Requirements .NET 4.0 Framework How To Use Set the drop down list to Tcp as that is currently the only supported format. Set the text box with "Robot IP Goes Here" to your robot's IP. Notes It will take about three seconds to show video. |
|
#2
|
|||
|
|||
|
Re: Simple Custom Video Dashboard 30+ FPS
Thank you very much, that code was very useful, but just a few questions, first, why would you use XAML and not a regular windows form, second what is the reason for 2 classes, you can just put the content of Reciever in TcpListener and just use the thread within TcpListener itself.
I hope you dont mind if I use your code in my own program with many modifications , I willll be sure to release it with credit . |
|
#3
|
|||
|
|||
|
Re: Simple Custom Video Dashboard 30+ FPS
I'm using Wpf which requires Xaml. Wpf is supposed to be hardware accelerated by direct 2D.
I split up the recievers because I also had a Udp receiver and I still may add that. |
|
#4
|
|||
|
|||
|
Re: Simple Custom Video Dashboard 30+ FPS
Thanks for the reply, I dont think you want to add a UDP reciever because UDP is prohibited during matches, the block the network (UDP network), or atleast I heard so. They use UDP to switch Autonomous from OperatorControl and so they dont want any UDP traffic other than their own.
|
|
#5
|
|||
|
|||
|
Re: Simple Custom Video Dashboard 30+ FPS
I know I made a UDP video server and the GDC said it was illegal.
|
|
#6
|
||||
|
||||
|
Re: Simple Custom Video Dashboard 30+ FPS
Quote:
|
|
#7
|
||||
|
||||
|
Re: Simple Custom Video Dashboard 30+ FPS
Can you please post a Ubuntu-Mono friendly version?
|
|
#8
|
||||
|
||||
|
Re: Simple Custom Video Dashboard 30+ FPS
why it is using .Net 4? I like to try to make my programs use .net 2 for greatest compatibility. You can use 3.0 for WPF
|
|
#9
|
|||
|
|||
|
Re: Simple Custom Video Dashboard 30+ FPS
I don't know what version of .NET the computer came with so I installed 4.0. I believe that the computer I tested it on only has 3.5, but I am not sure.
|
|
#10
|
|||
|
|||
|
Re: Simple Custom Video Dashboard 30+ FPS
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
. |
|
#11
|
||||
|
||||
|
Re: Simple Custom Video Dashboard 30+ FPS
can you please post a version that is compatible with mono?
|
|
#12
|
||||
|
||||
|
Re: Simple Custom Video Dashboard 30+ FPS
Quote:
|
|
#13
|
|||
|
|||
|
Re: Simple Custom Video Dashboard 30+ FPS
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.
|
|
#14
|
||||
|
||||
|
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.
|
|
#15
|
||||
|
||||
|
Re: Simple Custom Video Dashboard 30+ FPS
Seriously???
Great program! Works really well for the COMETS! |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |