View Single Post
  #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