Thread: zomB Dashboard
View Single Post
  #8   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