Go to Post I wonder if Radio Shacks all over should prepare for VEX robots dropping by for spare parts just like people going to a medical clinic... - Wayne C. [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
  #1   Spotlight this post!  
Unread 19-02-2011, 15:47
Tommithy Tommithy is offline
Registered User
FRC #2410
 
Join Date: Jan 2011
Location: Overland Park
Posts: 16
Tommithy is an unknown quantity at this point
zomB Dashboard

hey, about the ZomB Dashboard. We have been doin it, and this is our first year doing it. So far we have put driver station messages, DriverStationDisplay, to see if the code is working, and it displays the messages we wrote on the drive station, when we debug the robot. When we run the ZomB dashboard itself, it does absolutely nothing, with the widgets in there. We tried the bindings help, and the dbpacket workaround. We think all the widgets should be automatically functioning when running it, and that isn't happening. Are there any suggestions?
__________________
BLARG!!!

Last edited by Tommithy : 19-02-2011 at 16:08.
  #2   Spotlight this post!  
Unread 19-02-2011, 19:47
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: zomB Dashboard

Are you using the Default Dashboard? or Visual ZomB?

and make sure you have the latest cRIO and programming language updates, as well as ZomB 0.8 (http://firstforge.wpi.edu/sf/frs/do/...rs.stable.v0_8)
__________________
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
  #3   Spotlight this post!  
Unread 26-02-2011, 16:37
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: zomB Dashboard

Does ZomB support camera feed not being run though Crio, but though the DLink?

Also what Language was ZomB written in?
  #4   Spotlight this post!  
Unread 26-02-2011, 17:46
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: zomB Dashboard

yes, any MJPEG camera will do, set the source to MJPEG and the camera's ip in the box below

Visual ZomB, ZomB.dll & ZomB Eye: .Net (C# and WPF)
main bindings & C interface: C++
java interface: Java
Labview Interface: Labview

EDIT: to use the MJPEG camera, make sure you have an "frc" account on the camera with password "FRC" (w/o quotes)
__________________
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 : 26-02-2011 at 19:53.
  #5   Spotlight this post!  
Unread 27-02-2011, 13:31
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: zomB Dashboard

Thanks, i'm going to try and use this dashboard next time i have access to our practice bot.
  #6   Spotlight this post!  
Unread 28-02-2011, 20:25
MikeNimmo's Avatar
MikeNimmo MikeNimmo is offline
Software
FRC #3126 (Flashpoint)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Hollis, NH
Posts: 11
MikeNimmo is an unknown quantity at this point
Re: zomB Dashboard

Quote:
Originally Posted by byteit101 View Post
yes, any MJPEG camera will do, set the source to MJPEG and the camera's ip in the box below

Visual ZomB, ZomB.dll & ZomB Eye: .Net (C# and WPF)
main bindings & C interface: C++
java interface: Java
Labview Interface: Labview

EDIT: to use the MJPEG camera, make sure you have an "frc" account on the camera with password "FRC" (w/o quotes)
We are thinking about bypassing the cRio with the camera because we aren't planning on doing any image processing. This means that we do not need any camera code and just need to set parameters in the zomb designer for the camera, right?

We have a PC with the camera plugged in a network hub, we set "Source" to be "MJPEGStream" and "Source args" field to be 10.31.26.20 in the visual zomb and pressed F5. The camera image is not showing on the ZomB dashboard pop up. Did we do something wrong? We have the frc/FRC account and also enabled anonymous connection for the camera. The image shows up fine on IE at http://10.31.26.20/ which means there is nothing wrong with our camera connection.
  #7   Spotlight this post!  
Unread 28-02-2011, 20:44
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: zomB Dashboard

Quote:
Originally Posted by MikeNimmo View Post
We are thinking about bypassing the cRio with the camera because we aren't planning on doing any image processing. This means that we do not need any camera code and just need to set parameters in the zomb designer for the camera, right?
Correct, you don't need any code. In fact, you can just hook it up to your router and it will work.
Quote:
Originally Posted by MikeNimmo View Post
We have a PC with the camera plugged in a network hub, we set "Source" to be "MJPEGStream" and "Source args" field to be 10.31.26.20 in the visual zomb and pressed F5. The camera image is not showing on the ZomB dashboard pop up. Did we do something wrong? We have the frc/FRC account and also enabled anonymous connection for the camera. The image shows up fine on IE at http://10.31.26.20/ which means there is nothing wrong with our camera connection.
hmm, that should work fine. Using your web browser, does going to http://10.31.26.20/axis-cgi/mjpg/video.cgi using frc/FRC work? The username thing seems to be our top error. I also fixed a few bugs in the MJPEGStream class the other day that may help, i'll build it and post it as soon as I can.

Also, did you try deploying it to an exe, exiting Visual ZomB, and running that exe? Doing this sometimes helps
__________________
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
  #8   Spotlight this post!  
Unread 28-02-2011, 21:14
MikeNimmo's Avatar
MikeNimmo MikeNimmo is offline
Software
FRC #3126 (Flashpoint)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Hollis, NH
Posts: 11
MikeNimmo is an unknown quantity at this point
Re: zomB Dashboard

Quote:
Originally Posted by byteit101 View Post
does going to http://10.31.26.20/axis-cgi/mjpg/video.cgi using frc/FRC work? The username thing seems to be our top error. I also fixed a few bugs in the MJPEGStream class the other day that may help, i'll build it and post it as soon as I can.
The address automatically changed to http://10.31.26.20/view/index.shtml once http://10.31.26.20/ was inputted. We typed the address you suggested but a window appeared asking us to save the cgi file. Looking forward the update! Thank you very much.

Quote:
Originally Posted by byteit101 View Post
Also, did you try deploying it to an exe, exiting Visual ZomB, and running that exe?
Tried but did not help.
  #9   Spotlight this post!  
Unread 02-03-2011, 16:16
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: zomB Dashboard

Quote:
Originally Posted by MikeNimmo View Post
We typed the address you suggested but a window appeared asking us to save the cgi file.
Use Firefox (Chrome should also work), IE sucks.

Download v0.8.1.386
__________________
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
  #10   Spotlight this post!  
Unread 02-03-2011, 20:26
MikeNimmo's Avatar
MikeNimmo MikeNimmo is offline
Software
FRC #3126 (Flashpoint)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Hollis, NH
Posts: 11
MikeNimmo is an unknown quantity at this point
Re: zomB Dashboard

Quote:
Originally Posted by byteit101 View Post
Use Firefox (Chrome should also work), IE sucks.
Okay, it worked on Firefox with the frc/FRC account, but we still couldn't get an image on the ZomB dashboard using your latest package.

Did the camera + PC + network switch/hub setup work for you? If so, do you mind uploading a simple .zaml file that only has the video field? It could be that there are some obvious things missing from our design.
  #11   Spotlight this post!  
Unread 02-03-2011, 21:09
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: zomB Dashboard

Yes, I have been able to get it working using that setup.
pop this in testing.zaml and double click it:
Code:
<ZomB:DashboardDataCanvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:ZomB="clr-namespace:System451.Communication.Dashboard.WPF.Controls;assembly=ZomB" xmlns:ZomBDS="clr-namespace:System451.Communication.Dashboard.Net.DriverStation;assembly=ZomB.DriverStation" Height="400" Width="1024" InvalidPacketAction="Ignore" DefaultSources="zomb://10.31.26.2/DBPkt;" Team="3126"><ZomB:CameraView Name="Zdb49ae27cb754a1d" Canvas.Top="150" Canvas.Left="10" ShowReset="True" VideoSource="MJPEGStream" VideoSourceArgs="10.31.26.20" Height="240" Width="320" RenderTransformOrigin="0,0" /></ZomB:DashboardDataCanvas>
if you are really paranoid, change your router to team 451, camera to .90, and use this:
Code:
<ZomB:DashboardDataCanvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:ZomB="clr-namespace:System451.Communication.Dashboard.WPF.Controls;assembly=ZomB" xmlns:ZomBDS="clr-namespace:System451.Communication.Dashboard.Net.DriverStation;assembly=ZomB.DriverStation" Height="400" Width="1024" InvalidPacketAction="Ignore" DefaultSources="zomb://10.4.51.2/TCP;zomb://10.4.51.2/TCP2;" Team="451"><ZomB:CameraView Name="Zdb49ae27cb754a1d" Canvas.Top="150" Canvas.Left="10" ShowReset="True" VideoSource="MJPEGStream" VideoSourceArgs="10.4.51.90" Height="240" Width="320" RenderTransformOrigin="0,0" /></ZomB:DashboardDataCanvas>
(and the little squarish button in the bottom left, try clicking it. it is the refresh button)

If this does not work for you, open C:\windows\assembly and find ZomB. If there is more than 1, uninstall all but 0.8.1.0.
If you are still having troubles, make sure IE does not have a proxy set, connect the camera to the router, and the computer to the router, and try again.
You can also try installing SlimDX, and reinstalling ZomB.
final idea: download Visual Studio C# express edition, and I can use LogMeIn or VNC to see what your problem is (PM me if so)
__________________
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
  #12   Spotlight this post!  
Unread 11-03-2011, 13:57
Tommithy Tommithy is offline
Registered User
FRC #2410
 
Join Date: Jan 2011
Location: Overland Park
Posts: 16
Tommithy is an unknown quantity at this point
Re: zomB Dashboard

after working on another computer, and as we calibrate all our stuff on another computer, whenver installing your Visual ZomB eight, also having tried downloading every version 0.7 and up chronologically, it gives an error message, meaning we can't it at all any suggestions?
__________________
BLARG!!!
  #13   Spotlight this post!  
Unread 11-03-2011, 14:47
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: zomB Dashboard

Quote:
Originally Posted by Tommithy View Post
after working on another computer, and as we calibrate all our stuff on another computer, whenver installing your Visual ZomB eight, also having tried downloading every version 0.7 and up chronologically, it gives an error message, meaning we can't it at all any suggestions?
what do you mean by 'we can't it at all any suggestions'?
what's the error message? or is it the standard windows error box? if the standard box, view details and either copy it all out to a PM, or find the first part of the stack trace (should contain System451.Communication.dashboard in it)

Also note, to downgrade, uninstall your version, delete any extra files in C:\Program Files\ZomB\, open C:\Windows\Assembly, and delete all ZomB versions, then install the version you want.
__________________
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
  #14   Spotlight this post!  
Unread 12-03-2011, 00:40
Tommithy Tommithy is offline
Registered User
FRC #2410
 
Join Date: Jan 2011
Location: Overland Park
Posts: 16
Tommithy is an unknown quantity at this point
Re: zomB Dashboard

The error message: an error occured while searching for controls . This may be caused by a failure to properly load modules. If getting the error message for the first time u need to restart. Do you want to restart?

Click yes, says Visual ZomB Stopped working, otherwise it just closes
__________________
BLARG!!!
  #15   Spotlight this post!  
Unread 12-03-2011, 07:54
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: zomB Dashboard

And it does this every time it opens?
What files are in C:\Program Files\ZomB and C:\Program Files\ZomB\plugins?
Do you have the .Net framework 3.5?
__________________
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
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


All times are GMT -5. The time now is 23:46.

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