Go to Post We owe a lot to Bob (Hammond), he is a true gentleman. - Covey41 [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
  #16   Spotlight this post!  
Unread 20-03-2010, 08:33
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: 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)
__________________
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
  #17   Spotlight this post!  
Unread 20-03-2010, 19:58
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: a C# Drag and Drop Dashboard

Version 0.4 has been released on FIRST Forge: http://firstforge.wpi.edu/sf/go/page1029
__________________
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
  #18   Spotlight this post!  
Unread 04-04-2010, 12:37
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: 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
  • BluFinger - Bluetooth file transfer
  • DashboardDataHubForm - Manages everything automatically (even Driver mode)
  • Added a Exit/Restart/Restart DS button to avoid having to log out and in again to clear FMS Locked
  • Added PercentBar
  • Added AlertBar
  • Updated Default Dashboard
    • Video recording support (right click on Camera View) (WARNING: Large files may result)
    • Updated "See Names" button to show some help
  • Updated ZomB Eye - Video Viewer

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
Attached Thumbnails
Click image for larger version

Name:	ZomB 0.5.png
Views:	39
Size:	81.3 KB
ID:	8969  
__________________
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 : 04-04-2010 at 12:41.
  #19   Spotlight this post!  
Unread 08-04-2010, 23:01
Robototes2412's Avatar
Robototes2412 Robototes2412 is offline
1 * 4 != 14
FRC #2412 (Robototes)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2007
Location: Bellevue
Posts: 312
Robototes2412 is on a distinguished road
Re: ZomB: a C# Drag and Drop Dashboard

just to check, you can use ZomB with just m$ C# express 2008?
  #20   Spotlight this post!  
Unread 09-04-2010, 15:56
Damaku250's Avatar
Damaku250 Damaku250 is offline
Electromechaneumatics guy
AKA: Craig Hoo
FRC #3161 (H.T. Tronic Titans)
Team Role: Electrical
 
Join Date: Jan 2010
Rookie Year: 2010
Location: ON, Canada
Posts: 38
Damaku250 is an unknown quantity at this point
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.
__________________

-Rookie All Star Award [WAT Regional 2010]
Electrical/Control systems, Mechanical and Pneumatics teams, Human player
  #21   Spotlight this post!  
Unread 09-04-2010, 20:18
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: a C# Drag and Drop Dashboard

Quote:
Originally Posted by Robototes2412 View Post
just to check, you can use ZomB with just m$ C# express 2008?
currently 2008 (Express and Pro) it is the only supported dev Enviroment (2010 should work though, as well as MonoDevelop. it DOES NOT work on Mac or linux though)

Quote:
Originally Posted by Damaku250 View Post
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.
I won't have access to a robot for a while, so this could be hard.
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
__________________
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
  #22   Spotlight this post!  
Unread 09-04-2010, 22:21
Azores's Avatar
Azores Azores is offline
Registered User
AKA: Andrew
FRC #3161 (Tronic Titans)
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2010
Location: Toronto, Ontario
Posts: 40
Azores has a spectacular aura aboutAzores has a spectacular aura aboutAzores has a spectacular aura about
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.
__________________
3161 Software Mentor + Photographer
  #23   Spotlight this post!  
Unread 10-04-2010, 10: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: a C# Drag and Drop Dashboard

Quote:
Originally Posted by Azores View Post
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.
should work
Quote:
Originally Posted by Azores View Post
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.
In the DS, do you have the local Dashboard button checked? (under setup)
__________________
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
  #24   Spotlight this post!  
Unread 10-04-2010, 12:28
Azores's Avatar
Azores Azores is offline
Registered User
AKA: Andrew
FRC #3161 (Tronic Titans)
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2010
Location: Toronto, Ontario
Posts: 40
Azores has a spectacular aura aboutAzores has a spectacular aura aboutAzores has a spectacular aura about
Re: ZomB: a C# Drag and Drop Dashboard

Yes, local dashboard is checked.
__________________
3161 Software Mentor + Photographer
  #25   Spotlight this post!  
Unread 10-04-2010, 13:28
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: 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)
Attached Files
File Type: zip Release.zip (577.3 KB, 23 views)
__________________
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
  #26   Spotlight this post!  
Unread 10-04-2010, 16:49
Azores's Avatar
Azores Azores is offline
Registered User
AKA: Andrew
FRC #3161 (Tronic Titans)
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2010
Location: Toronto, Ontario
Posts: 40
Azores has a spectacular aura aboutAzores has a spectacular aura aboutAzores has a spectacular aura about
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.
__________________
3161 Software Mentor + Photographer
  #27   Spotlight this post!  
Unread 10-04-2010, 17: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: 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)
__________________
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
  #28   Spotlight this post!  
Unread 10-04-2010, 18:50
Azores's Avatar
Azores Azores is offline
Registered User
AKA: Andrew
FRC #3161 (Tronic Titans)
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2010
Location: Toronto, Ontario
Posts: 40
Azores has a spectacular aura aboutAzores has a spectacular aura aboutAzores has a spectacular aura about
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...
__________________
3161 Software Mentor + Photographer
  #29   Spotlight this post!  
Unread 13-04-2010, 17:33
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: 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:|";
    }
}
once you add this, recompile, redownload, and re-test. If it does not work, do what I said above (with wireshark)
__________________
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
  #30   Spotlight this post!  
Unread 18-04-2010, 15:34
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: a C# Drag and Drop Dashboard

@Azores: did you try it? did it work?
__________________
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

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


All times are GMT -5. The time now is 02:20.

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