![]() |
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?
|
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) |
Re: zomB Dashboard
Does ZomB support camera feed not being run though Crio, but though the DLink?
Also what Language was ZomB written in? |
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) |
Re: zomB Dashboard
Thanks, i'm going to try and use this dashboard next time i have access to our practice bot.
|
Re: zomB Dashboard
Quote:
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. |
Re: zomB Dashboard
Quote:
Quote:
Also, did you try deploying it to an exe, exiting Visual ZomB, and running that exe? Doing this sometimes helps |
Re: zomB Dashboard
Quote:
Quote:
|
Re: zomB Dashboard
Quote:
Download v0.8.1.386 |
Re: zomB Dashboard
Quote:
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. |
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>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>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) |
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?
|
Re: zomB Dashboard
Quote:
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. |
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 |
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? |
| All times are GMT -5. The time now is 03:56. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi