Go to Post I can't wait to be one of those old kids who can say "Yeah, I remember the days before districts." and then watch the kid's eyes widen when I explain the days of regionals.. - rachelholladay [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
  #1   Spotlight this post!  
Unread 08-03-2010, 19:43
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

It says that the string is too long
  #2   Spotlight this post!  
Unread 08-03-2010, 20:46
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
It says that the string is too long
you only have a little more than 900 bytes, and if you have variable names that are to long and/or lots of variables, you will get this. does it work with 1 or 2 variables that have short names?


IMPORTANT UPDATE! - V0.3

This fixes a few bugs that were fixed with the Camera update, and lost with the mono fix (and adds the fixes to a few other new controls)
This also fixes the default Dashboard.
Adds configurable IP address for the camera, so you can actually see YOUR camera!
added some camera target options - send widthxheigth+x,y to target (ZomB.Add("Target","400x300+5,5")
added Restart to camera
Added virtuald's AnalogMeter (VirtualdAnalogMeter)

I will probably have some more detailed documentation and how-to's out by Friday

Features that are coming:
Soon:
TCP instead of dashboard, but fallback available
virtuald's oscilliscope

Before week 6:
message splitting
a few more controls

eventually:
re-write of data hub for many params
better designer support
VS-less design mode (like slavik262's dashboard)
Attached Files
File Type: zip ZomB v0.3.zip (4.29 MB, 90 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

Last edited by byteit101 : 08-03-2010 at 20:49. Reason: forgot attachment!
  #3   Spotlight this post!  
Unread 08-03-2010, 22:18
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

i just tried to send a motor value to the dashboard.
  #4   Spotlight this post!  
Unread 09-03-2010, 06:36
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
i just tried to send a motor value to the dashboard.
and?

also make sure you are not sending every loop, you don't want to overload the dashboard (50Hz)

assuming you are running ZB on a different laptop, go to the driverstation setup tab, click on remote dashboard and enter the other laptop's IP
__________________
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 : 09-03-2010 at 06:40.
  #5   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
  #6   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
  #7   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:	38
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.
  #8   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?
  #9   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
  #10   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
  #11   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
  #12   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
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:06.

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