![]() |
Simple Custom Video Dashboard 30+ FPS
2 Attachment(s)
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. |
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 :D. |
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. |
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.
|
Re: Simple Custom Video Dashboard 30+ FPS
I know I made a UDP video server and the GDC said it was illegal.
|
Re: Simple Custom Video Dashboard 30+ FPS
Quote:
|
Re: Simple Custom Video Dashboard 30+ FPS
Can you please post a Ubuntu-Mono friendly version?
|
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
|
Re: Simple Custom Video Dashboard 30+ FPS
Quote:
Great program! Works really well for the COMETS! |
Re: Simple Custom Video Dashboard 30+ FPS
deleted
|
Re: Simple Custom Video Dashboard 30+ FPS
Quote:
|
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 :D.
|
Re: Simple Custom Video Dashboard 30+ FPS
can you please post a version that is compatible with mono?
|
Re: Simple Custom Video Dashboard 30+ FPS
Quote:
|
Re: Simple Custom Video Dashboard 30+ FPS
2 Attachment(s)
I've commented the code. I'm just slightly confused as to why you want to run it on Ubuntu especially since we all got tiny little 2Go computers with XP.
|
| All times are GMT -5. The time now is 02:18. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi