|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#16
|
||||
|
||||
|
Re: Virtual Driver Station
Cool! this will be nice if we blow another ds!
Could I have the source? this would be really useful. Also, can you plug in a flashdrive, and update firmware? THAT, would be Awesome! |
|
#17
|
||||
|
||||
|
Re: Virtual Driver Station
This is a great tool, I can't wait till the joysticks selection feature is released.
I'm very surprised that FIRST did not release a softDS instead of giving them out to 1500 teams. It would have been allot cheaper for them, they could have just had driver stations with the field and had USB breakout that uses HID. EDIT: Having played with this a for about 2 hours tonight I would like to upgrade this from great to AWESOME! The only thing it needs is the Joystick Selection and Feedback for DS Outputs. Last edited by Kingofl337 : 09-03-2009 at 20:44. |
|
#18
|
|||
|
|||
|
Re: Virtual Driver Station
This sounds like just what we need. We have two cRIOs and only one driver station. We are planning on using the second cRIO for demonstrations at our upcoming regional and the DS will be occupied.
Can a Labview front panel be running and displaying data in another window while the virtual driver station is running? |
|
#19
|
||||
|
||||
|
Re: Virtual Driver Station
OK, I've got the next version ready for anyone who wants to try it out. It's a pretty big change over the previous one. Here's the features I've added:
- 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 (previous value remembered) - Map real joysticks to DS USB ports - Labels for DS inputs/outputs that are saved It's available here: http://www.pier13.com/projects/frc/virtualds/ Check it out and let me know what you think. I added another safety feature which is that the mouse must remain on top of the window or the robot will be disabled. This may be a bit too paranoid (and can be annoying), but without that feature it's possible to click in another window and give it focus, and then the spacebar and/or ESC key no longer works to quickly disable the robot. Additionally, I had to change the key to change LCD screens from TAB to F1, and the reboot command is temporarily disabled. There are labels for each of the digital inputs and outpus which can be edited. These will be saved when the program exits. Additionally, the team # that you are prompted for at startup will be saved as well. Attached is a screenshot that shows the new version. Quote:
|
|
#20
|
|||
|
|||
|
Re: Virtual Driver Station
The front panel is like a user interface; you can both view data from the cRIO as well as provide input. Others can describe it better. For our purposes, the virtual driver station would have to lose focus, so we'll try using two laptops.
|
|
#21
|
||||
|
||||
|
Re: Virtual Driver Station
I might add a menu option to turn that focus 'feature' off for things like that too.
|
|
#22
|
||||
|
||||
|
Re: Virtual Driver Station
nice update!
could you add clicking the select button switches between modes and clicking the teleop auto button switches that? also, could you send me the code? |
|
#23
|
||||
|
||||
|
Re: Virtual Driver Station
I haven't tried the new version on my robot yet, but after load and team number entry the display shows Team 0000. I also noticed the "feature" about having another application create no responce to the space bar. As, much as having the mouse over the application to allow it to enable is bothersome its much safer. I do not think you should allow for a bypass of this feature.
Virtual DS 2010! Last edited by Kingofl337 : 12-03-2009 at 22:11. |
|
#24
|
||||
|
||||
|
Re: Virtual Driver Station
Quote:
For anyone who's using the program, I posted a new version to fix a small bug with the analog values that I discovered when I was able to test with our robot tonight. |
|
#25
|
|||
|
|||
|
Re: Virtual Driver Station
Last night I tried out the original version of the virtual driver station, which doesn’t have the mouse over feature, with an open front panel. Everything worked great. This is exactly what we needed. The demos we’ll be running with it are not on a robot, and are inactive except while a button is pressed, so a disable is more or less built into them.
Thanks. |
|
#26
|
||||
|
||||
|
Re: Virtual Driver Station
I found two bugs in the .5 version of the Virtual DS software. After detecting my robot it displayed the team number as 0111!? When I plugged in a Logitech Dual Action GamePad and started the software it gave an error and would not detect the game pad.
I was running the software from My Desktop on Vista Premium |
|
#27
|
||||
|
||||
|
Re: Virtual Driver Station
Quote:
. Good catch.Quote:
Additionally, I reworked the application focus safety feature. Now, it can detect the spacebar or ESC key even when the VirtualDS does not have focus. So, it no longer disables the robot when you move the mouse out of the window. This is quite an improvement I think. Now, if you go to another window, as soon as you hit space or ESC it will still disable the robot. The downside is it disables any time spacebar is hit - even if you're filling in one of the label fields in the DS. This is a good thing I think, but a little quirky. New version here: http://www.pier13.com/projects/frc/virtualds/ |
|
#28
|
|||
|
|||
|
Re: Virtual Driver Station
This tool has been super useful to us. We killed our DS at the regional and still haven't gotten a replacement. Thanks.
We've put a bunch of software dev and drive hours on the vDS, and everything seems to run smoothly. There is one issue where after a while of use, the robot will switch between enabled and disabled mode (at least on the UI) at about 5Hz. We have to reboot the cRIO to fix it. |
|
#29
|
||||
|
||||
|
Re: Virtual Driver Station
Quote:
![]() Quote:
|
|
#30
|
|||
|
|||
|
Re: Virtual Driver Station
Would it be possible for this to talk to FMS Light? We are doing some tricky things with some hard timed loop, and I want to make sure our code will run in a competition environment. I am 99% sure it will be fine, but Murphy can always find that 1%.
If not, would it be possible to add controls to the GUI select alliance color? We pull that data from the DS object in WPILib. Right now the vDS returns kRed. Last edited by Tom Bottiglieri : 26-03-2009 at 00:08. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Driver Station S.O.S. | M. Gildner | Electrical | 15 | 28-11-2009 19:35 |
| Driver Station | dnrobotics11 | Control System | 2 | 18-02-2009 21:35 |
| Inputs on Driver Station | z2daj | C/C++ | 8 | 16-02-2009 04:12 |
| Dead Driver Station? | tdeprince | FRC Control System | 3 | 12-02-2009 12:14 |
| Need Driver Station | dekker120 | FRC Control System | 2 | 02-02-2009 12:59 |