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?
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/viewRelease/projects.zombdashboard/frs.stable.v0_8)
Does ZomB support camera feed not being run though Crio, but though the DLink?
Also what Language was ZomB written in?
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)
Thanks, i’m going to try and use this dashboard next time i have access to our practice bot.
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.
Correct, you don’t need any code. In fact, you can just hook it up to your router and it will work.
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
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.
Tried but did not help.
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.
Yes, I have been able to get it working using that setup.
pop this in testing.zaml and double click it:
<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:
<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)
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.
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
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?
3.5? Dang, I just finished installing 4.0! :rolleyes:
ya it still does on any other computer we download it on. I had it working on one laptop though, only works on that laptop, could I just download it to the DS from there. Anyways, in program files/ZomB/plugins there is ZomB.Driverstation.dll.
and for program files/ZomB there is the all the extracted files.
I do not have .Net framework 3.5