|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#16
|
||||
|
||||
|
Re: ZomB: a C# Drag and Drop Dashboard
I have put this on WPI FIRST Forge: http://firstforge.wpi.edu/sf/projects/zombdashboard
the next version will be coming soon (need to test one feature and finish another) |
|
#17
|
||||
|
||||
|
Re: ZomB: a C# Drag and Drop Dashboard
Version 0.4 has been released on FIRST Forge: http://firstforge.wpi.edu/sf/go/page1029
|
|
#18
|
||||
|
||||
|
Re: ZomB: a C# Drag and Drop Dashboard
ZomB Version 0.5 Released!
http://firstforge.wpi.edu/sf/sfmain/....zombdashboard This version contains numerous new features and bug fixes Notable new features
Multiple bugs were fixed, you can read the release notes at http://firstforge.wpi.edu/sf/wiki/do...eleaseNotes0.5 Download Everything - http://firstforge.wpi.edu/sf/frs/do/...able.v0_5?dl=1 Just ZomB Dashboard - http://firstforge.wpi.edu/sf/frs/do/...5/frs1115?dl=1 C++ Bindings - http://firstforge.wpi.edu/sf/frs/do/...5/frs1117?dl=1 Java Bindings - http://firstforge.wpi.edu/sf/frs/do/...5/frs1116?dl=1 Need Help? Post on First Forge or here if you need help setting ZomB up, or you are having troubles with it. I will try to answer all questions as soon as possible http://firstforge.wpi.edu/sf/discuss...iscussion.help Last edited by byteit101 : 04-04-2010 at 12:41. |
|
#19
|
||||
|
||||
|
Re: ZomB: a C# Drag and Drop Dashboard
just to check, you can use ZomB with just m$ C# express 2008?
|
|
#20
|
||||
|
||||
|
Re: ZomB: a C# Drag and Drop Dashboard
Posting from a teammate's account here...
Anyway, I'm trying to use zomB, but I can't get the default zomB dashboard to update at all. For testing purposes I'm just trying to feed a value of 0.5 to grph and -0.5 to grph2 and nothing is coming up. I'm using Java. Yes, I've declared and instantiated a ZDashboard object (named zomB), and the zomB.Add()s and .Send() are in the teleop loop method. The dashboard is set to our team number and the driverstation is of course properly configured for our team. |
|
#21
|
||||
|
||||
|
Re: ZomB: a C# Drag and Drop Dashboard
Quote:
Quote:
the team number box on the dashboard is for the camera (so it shouldn't have any affect) are you running ZomB on the classmate (if so what account) or on a remote computer? your code looks like this correct? Code:
void operatorControl()
{
//code
while (istelop)
{
//code
zomB.Add("grph", 0.55);//0.5 is on a line, 0.55 is above a line
zomB.Add("grph2", -0.5);
zomB.Send();
//code
}//end of while
}//end of operatorControl
|
|
#22
|
||||
|
||||
|
Re: ZomB: a C# Drag and Drop Dashboard
Well, rather than being a while loop for teleop, it's a method named teleperiodic that is looped while the DS is in teleop mode. Should be the same, right? Other than that the code does look the same.
And yes, it's on the Classmate. As for the 0.5 value being on a line, I also tried feeding the left joystick's Y value to the graph, and nothing showed up either when I tested that. |
|
#23
|
||||
|
||||
|
Re: ZomB: a C# Drag and Drop Dashboard
Quote:
In the DS, do you have the local Dashboard button checked? (under setup) |
|
#24
|
||||
|
||||
|
Re: ZomB: a C# Drag and Drop Dashboard
Yes, local dashboard is checked.
|
|
#25
|
||||
|
||||
|
Re: ZomB: a C# Drag and Drop Dashboard
Hmm, try the attached (put it all in C:\Program files\FRC Dashboard), and hit the start button near the bottom right.
also, try sending the string value (zomB.Add("grph", "0.5") if that does not work, download and install Visual Studio C# express 2008 from (http://www.microsoft.com/express/Dow...2008-Visual-CS) |
|
#26
|
||||
|
||||
|
Re: ZomB: a C# Drag and Drop Dashboard
Still nothing on the graphs. I also tried using sw1 and sw2 and they aren't responding either. Visual Studio is installing right now.
|
|
#27
|
||||
|
||||
|
Re: ZomB: a C# Drag and Drop Dashboard
Ok, while you're at it, install wireshark (http://www.wireshark.org/download.html), and make sure that the packets have the right data:
(do this while the robot is running, and sending "data") open wireshark go to Capture>Interfaces... select your interface (wait to see the one that has incoming packets) by hitting the start next to it in the Filter text box enter udp.dstport == 1165 and click apply after some packets have come in, click one, and make sure it contains (look at the bottom box) @@@451:|grph=0.5|... (or something similar) if you see this, you are good, and can close wireshark. if not, report back (and you can close wireshark for the moment) |
|
#28
|
||||
|
||||
|
Re: ZomB: a C# Drag and Drop Dashboard
I'll see what I can do, but we had to pack up everything we could today for the trip down to Atlanta. I might be able to unbox the electrical board on Monday and work on it for a while though. Otherwise I'll have to try this in the pits on Wednesday...
|
|
#29
|
||||
|
||||
|
Re: ZomB: a C# Drag and Drop Dashboard
actually, I might have just found the problem.
the first thing I want you to do is open ZDashboard.java, and find the line (near the bottom) that says dash.addString(prints + ":451@@@"); add dash.commit(); just after that. the end of the file will look like this: Code:
...
public void var(String name, double value) {
AddDebugVariable(name, String.valueOf(value));
}
public void Send() {
dash.addString(prints + ":451@@@");
dash.commit();//Add this line
prints = "@@@451:|";
}
}
|
|
#30
|
||||
|
||||
|
Re: ZomB: a C# Drag and Drop Dashboard
@Azores: did you try it? did it work?
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Drag and drop (labview) | kamocat | NI LabVIEW | 7 | 28-10-2008 08:05 |
| Labview Dashboard and updated IFI dashboard spec | Joe Ross | LabView and Data Acquisition | 1 | 04-04-2006 02:04 |
| White Paper Discuss: 2003 Drag-Drop Scoring Program (Flash, HTML version) *UPDATE* | Suneet | Extra Discussion | 0 | 12-01-2006 16:50 |
| Visual Basic - Drag and Drop | Gope | Programming | 11 | 06-01-2003 09:42 |
| Sensing current and/or voltage drop??? | archiver | 2001 | 3 | 23-06-2002 23:21 |