Go to Post Yes, good job being calm and asking about the validity of a rumor before fanning the flames and assuming the conspiracy must be true. - Greg McKaskle [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 03-08-2010, 21: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: custom dashboard questions

my ZomB dashboard is nice if you are using Java or C++ (You can use LabVIEW too, its just a little more complex because I don't have bindings yet)
http://firstforge.wpi.edu/sf/sfmain/....zombdashboard
go to file releases, Nightly Unstable, 0.6b1 to download
(partial) documentation available under documents, complete guide to the ZomB Dashboard (not complete yet, but enough that you should be able to get it working)
__________________
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
  #2   Spotlight this post!  
Unread 03-08-2010, 22:00
randalcr's Avatar
randalcr randalcr is offline
Programming Mentor
AKA: Chance Randall
FRC #0476 (Wildcats)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Ponca City
Posts: 82
randalcr is an unknown quantity at this point
Re: custom dashboard questions

Quote:
Originally Posted by byteit101 View Post
my ZomB dashboard is nice if you are using Java or C++ (You can use LabVIEW too, its just a little more complex because I don't have bindings yet)
http://firstforge.wpi.edu/sf/sfmain/....zombdashboard
go to file releases, Nightly Unstable, 0.6b1 to download
(partial) documentation available under documents, complete guide to the ZomB Dashboard (not complete yet, but enough that you should be able to get it working)
Thanks, I have been looking at a thread about this and looks like it'd be something to look at. so we'll try it.
__________________
-Time is the best teacher...unfortunately it kills all of its students. --Robin Williams
  #3   Spotlight this post!  
Unread 03-08-2010, 23:02
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: custom dashboard questions

Put a control on the VI and run it. Whenever you hit the RUN button in Robot Main, you can adjust the params. in real time (and use the cool graphs and such) with almost no work at all. Just place the control, and connect it on the block diagram. LabVIEW will take care of the rest. When you get it where you want it, right-click and select Data Operations -> Set Data as Default to keep it there. When you build and flash the robot, all of your params. will still be accessible from the code, so you can leave them there and use them for PID tuning and whatnot.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #4   Spotlight this post!  
Unread 04-08-2010, 15:49
demosthenes2k8's Avatar
demosthenes2k8 demosthenes2k8 is offline
Graduated but not gone
AKA: Matt Soucy
FRC #0166 (Chop Shop 166)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Merrimack, NH
Posts: 589
demosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to behold
Send a message via AIM to demosthenes2k8 Send a message via Yahoo to demosthenes2k8
Re: custom dashboard questions

To expand on what bot190 said, in order for the throttle value to be in the proper range, you'd have to do (throttle+1)/2, as the throttle is from -1 to 1
__________________


GSR Dean's List Finalist 2011
  #5   Spotlight this post!  
Unread 05-08-2010, 14:49
randalcr's Avatar
randalcr randalcr is offline
Programming Mentor
AKA: Chance Randall
FRC #0476 (Wildcats)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Ponca City
Posts: 82
randalcr is an unknown quantity at this point
Re: custom dashboard questions

thanks for all the great tips guys! and does anyone know how to change the background color of the decorations, like the ones on the dashboard?
__________________
-Time is the best teacher...unfortunately it kills all of its students. --Robin Williams

Last edited by randalcr : 05-08-2010 at 14:52.
  #6   Spotlight this post!  
Unread 05-08-2010, 15:00
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,801
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: custom dashboard questions

View -> Tools Palette
Attached Thumbnails
Click image for larger version

Name:	ChangeColor.gif
Views:	63
Size:	58.3 KB
ID:	9248  
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 05-08-2010 at 15:03.
  #7   Spotlight this post!  
Unread 05-08-2010, 15:20
randalcr's Avatar
randalcr randalcr is offline
Programming Mentor
AKA: Chance Randall
FRC #0476 (Wildcats)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Ponca City
Posts: 82
randalcr is an unknown quantity at this point
Re: custom dashboard questions

Thanks
__________________
-Time is the best teacher...unfortunately it kills all of its students. --Robin Williams
  #8   Spotlight this post!  
Unread 28-08-2010, 21:57
randalcr's Avatar
randalcr randalcr is offline
Programming Mentor
AKA: Chance Randall
FRC #0476 (Wildcats)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Ponca City
Posts: 82
randalcr is an unknown quantity at this point
Question Re: custom dashboard questions

I have gotten a custom dashboard made and it opens with the FRC driver station too. Though i haven't gotten to test it with the robot yet, I do have a question, and that is how can i get it to automatically adjust to fit the screen like the default one did?
__________________
-Time is the best teacher...unfortunately it kills all of its students. --Robin Williams
  #9   Spotlight this post!  
Unread 28-08-2010, 22:40
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,801
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: custom dashboard questions

From the front panel choose File -> VI Properties
then Category -> Window Run-Time Position
and maybe Window Size depending on what you want to do.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #10   Spotlight this post!  
Unread 28-08-2010, 22:58
randalcr's Avatar
randalcr randalcr is offline
Programming Mentor
AKA: Chance Randall
FRC #0476 (Wildcats)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Ponca City
Posts: 82
randalcr is an unknown quantity at this point
Smile Re: custom dashboard questions

Thanks Mark, your a great help!
__________________
-Time is the best teacher...unfortunately it kills all of its students. --Robin Williams
  #11   Spotlight this post!  
Unread 30-08-2010, 00:07
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: custom dashboard questions

How easy would it be to hack a python version of the zomb protocol?
  #12   Spotlight this post!  
Unread 30-08-2010, 13:35
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: custom dashboard questions

Quote:
Originally Posted by Robototes2412 View Post
How easy would it be to hack a python version of the zomb protocol?
I don't know python, but it should be fairly easy, just write something that can parse the Dashboard packets
protocol documentation here: http://firstforge.wpi.edu/sf/wiki/do...i/ZomBProtocol under Native Source - DBPkt

basically (there are a few escape characters), listen on UDP port 1165, extract the ZomB Data from it (ex. @@ZomB:|name=value|name2=value2|:ZomB@@), and make it give a control its associated value (ex. give control 'name' the value 'value' and control 'name2' the value 'value2')

If you find any typos, please tell me

EDIT: and it wouldn't be a hack, it would be an alternate implementation
__________________
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
Custom Dashboard? Azores Programming 6 08-04-2010 13:04
So, who has a custom dashboard? Radical Pi Programming 28 15-03-2010 16:36
Custom Dashboard Yppiz FRC Control System 1 17-02-2010 22:45
Custom Dashboard Yppiz Java 1 17-02-2010 12:27
Custom Dashboard writchie FRC Control System 7 02-03-2009 20:21


All times are GMT -5. The time now is 03:38.

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