Go to Post Well... as ready as we can be 30 days before build season... We definitely do not have a robot yet though... :) - pandamonium [more]
Home
Go Back   Chief Delphi > Technical > Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 14-03-2009, 13:23
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,366
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
Re: Virtual Driver Station

Quote:
Originally Posted by Kingofl337 View Post
I found two bugs in the .5 version of the Virtual DS software. After detecting my robot it displayed the team number as 0111!?
Yup, oops, sorry about that. Fixed. Incidentally, I created a cRIO simulator and I did test it with different team numbers, but now realized that my simulator didn't verify the correct team number was being received . Good catch.
Quote:
When I plugged in a Logitech Dual Action GamePad and started the software it gave an error and would not detect the game pad.
Yeah, I saw this on Thursday night when another mentor fired it up on his Vista laptop (I only have XP machines and it doesn't happen on those). It's not a defect in my code - it's in the wxWidgets library that's used. I'll need to look into how to fix it. However, it doesn't prevent it from working. It actually detects the joystick just fine, it just can't read the name of the stick. So, in the joysticks dropdown you'll see a blank line, which is your joystick. Not ideal but at least it works. I also need to confirm if this happens with all joystick types or just Logitech.

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/
Reply With Quote
  #2   Spotlight this post!  
Unread 25-03-2009, 16:18
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,186
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
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.
Reply With Quote
  #3   Spotlight this post!  
Unread 25-03-2009, 17:30
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,366
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
Re: Virtual Driver Station

Quote:
Originally Posted by Tom Bottiglieri View Post
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.
I'm really glad to hear that it has been working for you. I have been curious if anyone was actually using it
Quote:
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.
Interesting. I'll have to see if I can get some extended time with our robot to attempt to reproduce this.
Reply With Quote
  #4   Spotlight this post!  
Unread 25-03-2009, 21:18
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,186
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
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.
Reply With Quote
  #5   Spotlight this post!  
Unread 25-03-2009, 23:06
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
Re: Virtual Driver Station

Good Call Tom, I think toggle would be better then having to use FMSLight.
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni
Reply With Quote
  #6   Spotlight this post!  
Unread 26-03-2009, 10:21
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,366
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
Re: Virtual Driver Station

Quote:
Originally Posted by Tom Bottiglieri View Post
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.
Yes, interoperability with FMS is something I had planned. I had actually decoded the FMS protocol first to produce an FMS-like program that would link up with any DSes it found rather than having to type in team numbers, so adding support should be straightforward.

In the meantime, however, I'll look into adding a toggle to select alliance color and position (though I'm guessing position isn't that useful to anyone since it has no bearing on where your robot is on the field).
Reply With Quote
  #7   Spotlight this post!  
Unread 26-03-2009, 10:50
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,186
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: Virtual Driver Station

Quote:
Originally Posted by Dave Flowerday View Post
Yes, interoperability with FMS is something I had planned. I had actually decoded the FMS protocol first to produce an FMS-like program that would link up with any DSes it found rather than having to type in team numbers, so adding support should be straightforward.

In the meantime, however, I'll look into adding a toggle to select alliance color and position (though I'm guessing position isn't that useful to anyone since it has no bearing on where your robot is on the field).
Thank you. This tool is quickly becoming more valuable to me than the real hardware. I know I'll still be using it once our new DS comes in.
Reply With Quote
  #8   Spotlight this post!  
Unread 26-03-2009, 11:28
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,366
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
Re: Virtual Driver Station

Quote:
Originally Posted by Dave Flowerday View Post
In the meantime, however, I'll look into adding a toggle to select alliance color and position (though I'm guessing position isn't that useful to anyone since it has no bearing on where your robot is on the field).
OK, I posted a new version that lets you use Ctrl-C to toggle the alliance color. It's not the best implementation but it was something that I could do quickly to try to meet your needs. One problem is that there's no feedback on the GUI of which color you had selected, and the color choice is not saved between restarts (it always starts up as Red). I'll work on making it more user-friendly eventually but hopefully this lets you do some of your testing at least.

Let me know if it works for you guys. Thanks!

New version here, as usual:
http://www.pier13.com/projects/frc/virtualds/
Reply With Quote
Reply


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
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


All times are GMT -5. The time now is 20:35.

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