Go to Post FIRST - Breaking stereotypes everywhere - Sparks333 [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
  #31   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
  #32   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
  #33   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,189
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
  #34   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
  #35   Spotlight this post!  
Unread 26-03-2009, 11:56
JesseK's Avatar
JesseK JesseK is offline
Expert Flybot Crasher
FRC #1885 (ILITE)
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2005
Location: Reston, VA
Posts: 3,735
JesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond repute
Re: Virtual Driver Station

Oh snap!!! I just thought of a HUGE advantage to having this virtual DS.

Some times in the rush to get out of the pits and into the queue, we forget to charge our pneumatic system to full capacity. Since don't have power to the real DS in the queue area, having a virtual DS on the laptop we already bring to the field would allow us to charge our pneumatics in queue.

Quick question -- how does the virtual DS handle the data returning from the cRIO -- i.e. the small customizable packets received during a match?
__________________

Drive Coach, 1885 (2007-present)
2017 Scoring Model
CAD Library | GitHub
Reply With Quote
  #36   Spotlight this post!  
Unread 26-03-2009, 12:09
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 JesseK View Post
Quick question -- how does the virtual DS handle the data returning from the cRIO -- i.e. the small customizable packets received during a match?
To the best of my knowledge it handles it just like the real DS. If you have stuff that shows up on your DS LCD, you can see that in the Virtual DS as well (you can use F1 to toggle between the main DS screen and the secondary, custom screen). DS digital outputs that are controlled by the robot show up on the GUI, and anything else is dashboard data, which the Virtual DS sends to the Dashboard IP, so if you have your Dashboard connected you should see that work.

Right now the IPs that it uses are fixed (it expects the computer the DS is running on to be 10.x.y.5 and the Dashboard to be 10.x.y.6), but it is possible to assign BOTH of those IP addresses to the same laptop which means you can run the Virtual DS and your Dashboard on the same computer. See this page for some instructions on how to do this.
Reply With Quote
  #37   Spotlight this post!  
Unread 26-03-2009, 12:11
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,189
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

Right now the IPs that it uses are fixed (it expects the computer the DS is running on to be 10.x.y.5 and the Dashboard to be 10.x.y.6),
Really? I have been running both on 10.1.25.6, no problem.
Reply With Quote
  #38   Spotlight this post!  
Unread 26-03-2009, 12:13
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
Really? I have been running both on 10.1.25.6, no problem.
Well, actually my software doesn't care, but I thought the CRIO would only send packets back to the 10.x.y.5 address. I could have sworn I saw this when testing, but maybe something else was goofed up. I guess I'll have to try it again with it set to some other IP.
Reply With Quote
  #39   Spotlight this post!  
Unread 09-04-2009, 18:06
Joe Hershberger Joe Hershberger is offline
National Instruments
AKA: jhersh
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 1997
Location: Austin, TX
Posts: 148
Joe Hershberger is a name known to allJoe Hershberger is a name known to allJoe Hershberger is a name known to allJoe Hershberger is a name known to allJoe Hershberger is a name known to allJoe Hershberger is a name known to all
Re: Virtual Driver Station

The cRIO will always reply to the first IP address it receives a DS packet from (until reboot). Perhaps when you tried it you didn't reboot the cRIO after changing the laptop IP.

-Joe
Reply With Quote
  #40   Spotlight this post!  
Unread 09-04-2009, 18:37
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 Joe Hershberger View Post
The cRIO will always reply to the first IP address it receives a DS packet from (until reboot). Perhaps when you tried it you didn't reboot the cRIO after changing the laptop IP.
Yeah, that's probably it. I'm sure I had the robot connected up to the real DS before trying the virtual DS.
Reply With Quote
  #41   Spotlight this post!  
Unread 13-04-2009, 11:09
GeorgeMitsuoka GeorgeMitsuoka is offline
Mentor, Robot Mag Technical Editor
FRC #3200 (Raptacon)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Centennial, Colorado
Posts: 2
GeorgeMitsuoka has a spectacular aura aboutGeorgeMitsuoka has a spectacular aura aboutGeorgeMitsuoka has a spectacular aura about
Re: Virtual Driver Station

This looks very cool. Can anyone answer this question: Is there any way to use the cRIO w/o the driver station (or virtual driver station)? I'm assuming the answer is 'no' as this could create a safety issue. The reason I'm asking is that we'd like to use the cRIO as a controller during the off season for an autonomous robot project and it would be better if we didn't have to tether it to a driver station or PC.
Reply With Quote
  #42   Spotlight this post!  
Unread 13-04-2009, 11:28
Russ Beavis Russ Beavis is offline
Registered User
no team
 
Join Date: Nov 2005
Location: Manchester, NH - DEKA R&D Corp.
Posts: 341
Russ Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond repute
Re: Virtual Driver Station

I'm fairly certain that you aren't limited to using the basic and advanced software frameworks. You should be able to use a "clean sheet" and design the software to do whatever you'd like. The benefits of the frameworks are obvious - easy DS communications, "functions" for teleop vs. autonomous, watchdog "petting", etc. - and you really should use them as a starting point but you can use a "clean sheet". You'll definitely want to borrow the "watchdog petting" software otherwise the FPGA will disable your outputs.

Speaking of the FPGA, it is probably completely locked down. But you should be able to generate your own TCP/IP or UDP packets of info when you're operating outside of a FIRST event, link to other networks, go fully autonomous...

Have fun!
Russ
Reply With Quote
  #43   Spotlight this post!  
Unread 13-04-2009, 11:29
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Virtual Driver Station

Quote:
Originally Posted by GeorgeMitsuoka View Post
This looks very cool. Can anyone answer this question: Is there any way to use the cRIO w/o the driver station (or virtual driver station)? I'm assuming the answer is 'no' as this could create a safety issue. The reason I'm asking is that we'd like to use the cRIO as a controller during the off season for an autonomous robot project and it would be better if we didn't have to tether it to a driver station or PC.
You hit it on the head. With an FRC image loaded, you can not run the cRIO independent of a DS of some sort.

You could load a non-FRC image, but this would be considered an advanced (and possibly unsupported) use case.
Reply With Quote
  #44   Spotlight this post!  
Unread 13-04-2009, 11:52
Russ Beavis Russ Beavis is offline
Registered User
no team
 
Join Date: Nov 2005
Location: Manchester, NH - DEKA R&D Corp.
Posts: 341
Russ Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond repute
Re: Virtual Driver Station

I probably should have added the same comments from Eric to my response. Basically -

Try whatever you want but if you try to shove more data through WiFi, the field will stop you (during FIRST competitions). And don't try to fool with the safety features in the FPGA and Ethernet communications packets since the field will stop that as well (also only during FIRST competitions).

Russ
Reply With Quote
  #45   Spotlight this post!  
Unread 13-04-2009, 23:42
Burmeister #279's Avatar
Burmeister #279 Burmeister #279 is offline
What Time Is It?
AKA: Nick Burmeister
FRC #0279 (TechFusion)
Team Role: Programmer
 
Join Date: Nov 2008
Rookie Year: 2007
Location: Toledo
Posts: 207
Burmeister #279 is a glorious beacon of lightBurmeister #279 is a glorious beacon of lightBurmeister #279 is a glorious beacon of lightBurmeister #279 is a glorious beacon of lightBurmeister #279 is a glorious beacon of lightBurmeister #279 is a glorious beacon of light
Send a message via AIM to Burmeister #279
Re: Virtual Driver Station

Dave,
[note: didn't dl your program, not on my team machine] Have you thought about allowing the hotkeys such as stop and change color to be changed?

~Burmeister.
__________________
WHAT TIME IS IT? TWO SEVEN NINE!!! [Team B =) ] Awards: 4 Safety, 2 Ind. Design, 2 Xerox, 1 Nat. Champs
2009 Buckeye Semi-Finalists (1014 & 695) || 2008 GLR Safety Award || 2006 GLR Safety Award
2005 Buckeye Regional Champs (67 & 274) & GM Industrial Design Award & Safety Award GLR Quarter Finalist & Xerox Creativity Award & Safety Award National Xerox Creativity Award & Curie Quarter Finalist (1126 & 180)
2004 Buckeye Delphi Driving Tomorrows Technology Award & Quarter Finalist GLR Champs Nationals Curie Division Finalist
2003 GLR GM Industrial Design Award || 2001 National Newton Division Winner & National Champions
2000 MI DaimlerChrysler Team Spirit Award
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 19:26.

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