Go to Post It doesn't take money, just desire. - BillP [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Spotlight this post!  
Unread 12-12-2012, 22:58
joelg236 joelg236 is offline
4334 Retired Mentor & Alumni
AKA: Joel Gallant
no team
Team Role: Mentor
 
Join Date: Dec 2011
Rookie Year: 2012
Location: Calgary
Posts: 733
joelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond repute
Re: Implementing a switchable control scheme

If you want that sort of functionality (on-the-fly) there are three options I can think of.

1. Update scheme periodically (lots of bandwidth - we did this last year and it was a bad idea)

2. Making a dashboard static widget that sends data through NetworkTable to the code and have your code adjust only when that data is sent. (I wouldn't know where to start on this kind of implementation - if you figure it out, PM me. We're looking at doing this)

3. Have a button on the joystick change schemes (ex. back button on xbox controller). No extra bandwidth required. (well, minute compared to smartdashboard)

My recommendation for less work though it to have it update every time teleop starts. It may cause some frustrations testing, but during competition I would hope you don't switch schemes mid-match.
__________________
All opinions are my own.
 


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


All times are GMT -5. The time now is 21:41.

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