Go to Post I love the smell of burning silicon in the morning. - Al Skierkiewicz [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
  #31   Spotlight this post!  
Unread 08-03-2010, 14:07
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

Sure...

It'll take me about 30 minutes or less...

or maybe longer... not much though

Last edited by TheDominis : 08-03-2010 at 14:23.
  #32   Spotlight this post!  
Unread 08-03-2010, 14:16
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
  #33   Spotlight this post!  
Unread 08-03-2010, 16:02
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

Quote:
Originally Posted by Robototes2412 View Post
thanks
my ZomB .net 2 port *SHOULD* be mono AND wine friendly (have not tested however)
http://www.chiefdelphi.com/forums/sh...ad.php?t=82612

EDIT: Mono migration tool says one error, but it is easily fixed, I'll post a mono-friendly version in about 3 minutes. void Receiver_OnImageUpdate () Image Image.FromStream (Stream, bool, bool) useEmbeddedColorManagement and validateImageData aren't supported.
EDIT2: posted at above url
__________________
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

Last edited by byteit101 : 08-03-2010 at 16:39. Reason: mono error, mono version
  #34   Spotlight this post!  
Unread 08-03-2010, 16:17
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 have ported the video dashboard to 2.0 .NET as well as made it (most likely) Wine friendly. I also made the program more robust -- probably.

Please report any issues.
Attached Files
File Type: zip SmashWineDashboard.zip (7.9 KB, 20 views)
  #35   Spotlight this post!  
Unread 10-03-2010, 12:50
buchanan buchanan is offline
Registered User
FRC #2077 (Laser Robotics)
Team Role: Mentor
 
Join Date: Mar 2009
Rookie Year: 2007
Location: Wales, WI
Posts: 68
buchanan is just really nicebuchanan is just really nicebuchanan is just really nicebuchanan is just really nice
Re: Simple Custom Video Dashboard 30+ FPS

I read with some surprise the following thread:
http://www.chiefdelphi.com/forums/sh...ad.php?t=84087

I'll ask here: for the developers and users of this video dashboard, what networking setup are you using between the classmate and the machine displaying the video? Is it known to work under a real FMS?
  #36   Spotlight this post!  
Unread 10-03-2010, 14:13
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 buchanan View Post
I read with some surprise the following thread:
http://www.chiefdelphi.com/forums/sh...ad.php?t=84087

I'll ask here: for the developers and users of this video dashboard, what networking setup are you using between the classmate and the machine displaying the video? Is it known to work under a real FMS?
The classmate displays my video. I get 30+ FPS.
  #37   Spotlight this post!  
Unread 10-03-2010, 14:49
hamosad1657 hamosad1657 is offline
Registered User
FRC #1657
 
Join Date: Jan 2010
Rookie Year: 2005
Location: Israel
Posts: 23
hamosad1657 is an unknown quantity at this point
Re: Simple Custom Video Dashboard 30+ FPS

How you get the screen on the "Driver" Account?
I opened it on the "Developer" account, and I got 5fps....
  #38   Spotlight this post!  
Unread 10-03-2010, 14:55
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 hamosad1657 View Post
How you get the screen on the "Driver" Account?
I opened it on the "Developer" account, and I got 5fps....
Are you running the right executable on the developer account? If so, 5 fps makes no sense as we all have the same computer...
  #39   Spotlight this post!  
Unread 10-03-2010, 14:59
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: Simple Custom Video Dashboard 30+ FPS

Quote:
Originally Posted by TheDominis View Post
Are you running the right executable on the developer account? If so, 5 fps makes no sense as we all have the same computer...
What resolution are you getting the 30FPS at? That may be one possible difference between your setup and theirs.

EDIT: Also how tough would it be to implement command line parameters for robot IP, and starting size and location of the window? I am looking at calling this from a Labview dashboard and while we could position it and enter the IP every time that seems a bit cumbersome. I would try it myself if I knew C#...
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)

Last edited by Vikesrock : 10-03-2010 at 15:26.
  #40   Spotlight this post!  
Unread 10-03-2010, 20:42
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 Vikesrock View Post
What resolution are you getting the 30FPS at? That may be one possible difference between your setup and theirs.

EDIT: Also how tough would it be to implement command line parameters for robot IP, and starting size and location of the window? I am looking at calling this from a Labview dashboard and while we could position it and enter the IP every time that seems a bit cumbersome. I would try it myself if I knew C#...
I can make it take an IP from a file. I'll have a new binary posted in a few minutes.

Just create a file called smash-ip.txt in the start up directory and the first line will be the IP.
Attached Files
File Type: zip SmashWineDashboard.zip (8.0 KB, 12 views)

Last edited by TheDominis : 10-03-2010 at 20:55. Reason: New Binary
  #41   Spotlight this post!  
Unread 11-03-2010, 07:27
hamosad1657 hamosad1657 is offline
Registered User
FRC #1657
 
Join Date: Jan 2010
Rookie Year: 2005
Location: Israel
Posts: 23
hamosad1657 is an unknown quantity at this point
Re: Simple Custom Video Dashboard 30+ FPS

Quote:
Originally Posted by TheDominis View Post
Are you running the right executable on the developer account? If so, 5 fps makes no sense as we all have the same computer...
I have an Edimax router, maby it impressive the communication?

And how can I get it running on the Driver account?
  #42   Spotlight this post!  
Unread 11-03-2010, 08:59
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 hamosad1657 View Post
I have an Edimax router, maby it impressive the communication?

And how can I get it running on the Driver account?
You'll have to set it as a start up program with Windows. As far as the router, I wouldn't have any idea.

All I can report is that I get 30+ FPS on our team's classmate. Perhaps you can change power saving options so that they are on performance.
  #43   Spotlight this post!  
Unread 11-03-2010, 21:27
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
Re: Simple Custom Video Dashboard 30+ FPS

What settings are you running on the crio? 320x240? Any compression?

Thank your for making this, the LV dashboard kills the poor classmate cpu.
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni
  #44   Spotlight this post!  
Unread 11-03-2010, 21:52
buchanan buchanan is offline
Registered User
FRC #2077 (Laser Robotics)
Team Role: Mentor
 
Join Date: Mar 2009
Rookie Year: 2007
Location: Wales, WI
Posts: 68
buchanan is just really nicebuchanan is just really nicebuchanan is just really nicebuchanan is just really nice
Re: Simple Custom Video Dashboard 30+ FPS

For those getting mysteriously low frame rates one thing to check is the camera configuration. The Axis camera's video server has an option to limit the frame rate, and there may be (or have been) software floating around that reconfigures it without your direct intent..

Connect the camera directly to a computer that's configured with a 192.168.0.X IP address, and open the camera IP (192.168.0.90) in a web browser. Go to the video configuration page and see if the frame rate limiting is set.

This happened to us. When we first tried the camera, running direct to a web browser, it was real-time video fast. Later in the build season, running through the cRIO/classmate/video dashboard we were stuck at 2 FPS no matter what we did. Looking at the config page, guess what we found? We have no idea how it got that way.
  #45   Spotlight this post!  
Unread 12-03-2010, 07:15
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 only the following code :

Code:
AxisCamera &camera = AxisCamera::GetInstance();
camera.WriteResolution(AxisCameraParams::kResolution_320x240);
camera.WriteBrightness(50);
As you can tell I used 320x240 at default compression (0 - I believe).
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