OCCRA
Go to Post See... this is what I love about my friends in FIRST. They come forward to help me whenever I need anything. - Arefin Bari [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media  
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 12-03-2018, 01:52 PM
BenjaminRowe's Avatar
BenjaminRowe BenjaminRowe is offline
Registered User
FRC #5147 (Hornets)
Team Role: Programmer
 
Join Date: Jan 2017
Rookie Year: 2016
Location: Fulton, MO, USA
Posts: 62
BenjaminRowe is a splendid one to beholdBenjaminRowe is a splendid one to beholdBenjaminRowe is a splendid one to beholdBenjaminRowe is a splendid one to beholdBenjaminRowe is a splendid one to beholdBenjaminRowe is a splendid one to beholdBenjaminRowe is a splendid one to beholdBenjaminRowe is a splendid one to behold
GamePad Tool code

Hey all, does anybody know where i may be able to find the source code for the three configurations on the FRC Gamepad tool for the MSP430? I've found some hex files for it, but those don't directly decode into anything useful and even if they did I'm not sure waht I'd do with it. Any help is appreciated!
Reply With Quote
  #2   Spotlight this post!  
Unread 12-03-2018, 02:17 PM
wt200999's Avatar
wt200999 wt200999 is offline
REV Robotics
AKA: Will Toth
FRC #3005 (Robochargers)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2004
Location: Dallas, Texas
Posts: 371
wt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud of
Re: GamePad Tool code

The code is here:

https://github.com/TI-FIRST/MSP430-Gamepad

If I remember correctly, there is a build option that defines which configuration version it will build.
__________________
Programming in LabVIEW? Try VI Snippets!

FIRST LEGO League 2004 - 2005
FRC Team 870 Student 2006 - 2009
FRC Team 3005 Mentor 2013 -
Reply With Quote
  #3   Spotlight this post!  
Unread 12-05-2018, 10:58 PM
tpc's Avatar
tpc tpc is offline
Computer Engineer
AKA: Tom Convery
FRC #0623 (Oakton Cougar Robotics)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Falls Church, VA
Posts: 10
tpc is on a distinguished road
Re: GamePad Tool code

You will also need Code Composer Studio (CCS) from http://www.ti.com/tool/CCSTUDIO. You can clone and import the project from Github within CCS. (CCS is Eclipse-based.)

@wt200999 is correct, to build the various input/output options, you need to define OPTION1, OPTION2, or OPTION3 under Project -> Properties, then Build -> MSP430 Compiler -> Advanced Options -> Predefined Symbols. After you build, the file you want to load on the gamepad is $GITROOT/MSP430-Gamepad/Debug/MSP430-Gamepad.txt, where $GITROOT is wherever you told CCS to put your git repos.

I was just working on this recently, hence it was on the tip of my tongue -- @wt200999, assuming you're the Will Toth who owns the MSP430-Gamepad repo, any chance you'll accept my pull request (https://github.com/TI-FIRST/MSP430-Gamepad/pull/3)?
Reply With Quote
  #4   Spotlight this post!  
Unread 12-06-2018, 12:48 AM
wt200999's Avatar
wt200999 wt200999 is offline
REV Robotics
AKA: Will Toth
FRC #3005 (Robochargers)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2004
Location: Dallas, Texas
Posts: 371
wt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud of
Re: GamePad Tool code

Quote:
Originally Posted by tpc View Post
I was just working on this recently, hence it was on the tip of my tongue -- @wt200999, assuming you're the Will Toth who owns the MSP430-Gamepad repo, any chance you'll accept my pull request (https://github.com/TI-FIRST/MSP430-Gamepad/pull/3)?
Yup, that's me, thanks for the pull request looks like a useful improvement! I we be re-building the gamepad tool and the three joystick variants for the upcoming season soon and will test this on hardware. Just don't have as much TI hardware lying around these days as I used to
__________________
Programming in LabVIEW? Try VI Snippets!

FIRST LEGO League 2004 - 2005
FRC Team 870 Student 2006 - 2009
FRC Team 3005 Mentor 2013 -
Reply With Quote
  #5   Spotlight this post!  
Unread 12-06-2018, 09:27 AM
tpc's Avatar
tpc tpc is offline
Computer Engineer
AKA: Tom Convery
FRC #0623 (Oakton Cougar Robotics)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Falls Church, VA
Posts: 10
tpc is on a distinguished road
Re: GamePad Tool code

Quote:
Originally Posted by wt200999 View Post
Yup, that's me, thanks for the pull request looks like a useful improvement! I we be re-building the gamepad tool and the three joystick variants for the upcoming season soon and will test this on hardware. Just don't have as much TI hardware lying around these days as I used to
Awesome, thanks! We used that modified firmware on our drive joystick for 2018 with no problems, and tested all the digital I/Os in all three configurations, so please let me know if you see any funny behavior when testing.
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


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi