
05-03-2009, 10:46
|
 |
Mad Scientist
AKA: Me
 FRC #2040 (DERT)
Team Role: Engineer
|
|
Join Date: Apr 2005
Rookie Year: 2003
Location: Peoria, IL
Posts: 1,957
|
|
|
Re: Virtual Driver Station
Quote:
Originally Posted by Dave Flowerday
C++. One of my goals was to have a stand-alone, small .exe that didn't need any extra DLLs or other junk with it, so that it can easily be run from a USB stick or whatever. I considered Python but honestly all the bit-manipulation is easier done in C anyway.
For those interested, here's some of the things I'm working on to improve it:
- GUI to set DS digital inputs
- GUI sliders to set value of DS analog inputs
- Display of DS digital outputs
- Prompt for team # at startup so you don't need to provide it as a program argument
- Map real joysticks to DS USB ports
- Virtual joystick support (a joystick widget that can be manipulated on-screen via mouse)
- Ability to run without needing to change your Ethernet IP address settings (I prefer to just leave my Ethernet port on DHCP)
- Adding an RC simulator (already have a basic version of this since it's hard to find time to test with the actual robot)
- Properly emulate DS's ability to randomly stop working when it detects static charge in the air (just kidding)
|
Could you add a virtual e-stop (just in case) and a watchdog (in case windows decides to not talk to the virtual DS)?
__________________
___________________
"We are not now that strength which in old days moved earth and heaven; that which we are, we are;
One equal temper of heroic hearts, Made weak by time and fate, but strong in will
To strive, to seek, to find, and not to yield. "- Tennyson, Ulysses

|