Go to Post This should go without saying, but for some reason it always needs saying. - GaryVoshol [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

 
Closed Thread
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 03-04-2014, 00:44
DjParaNoize-'s Avatar
DjParaNoize- DjParaNoize- is offline
Registered User
no team
Team Role: Leadership
 
Join Date: Mar 2013
Rookie Year: 2012
Location: California
Posts: 55
DjParaNoize- is an unknown quantity at this point
Programming Custom Controller.

I was wondering how can I possibly program a custom controller( Button Board )
to use on the Driver station for the Co-Driver.
Currently, I've tried connecting the controller via USB and Opening "Joystick Explorer" and I don't get any results. This controller has a 64 Button Grid and 16 Additional Buttons. Feel free to ask for more information or any questions.
Attached Thumbnails
Click image for larger version

Name:	phpDWp2LlPM.jpg
Views:	108
Size:	136.2 KB
ID:	16761  
  #2   Spotlight this post!  
Unread 03-04-2014, 01:01
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Programming Custom Controller.

What is that button board? Part number, manufacturer, source? Does it require a custom driver?

Note: the Driver Station protocol will send to the robot the state of no more than 12 buttons on each "joystick".
  #3   Spotlight this post!  
Unread 03-04-2014, 01:06
Danny Diaz's Avatar
Danny Diaz Danny Diaz is offline
Smooth Operator
AKA: FrankenMentor
None #0418
Team Role: Alumni
 
Join Date: Apr 2005
Rookie Year: 2003
Location: Manchester, NH
Posts: 545
Danny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond repute
Send a message via AIM to Danny Diaz
Re: Programming Custom Controller.

Quote:
Originally Posted by DjParaNoize- View Post
I was wondering how can I possibly program a custom controller( Button Board ).
Your board looks a LOT like this one:
http://www.coolthings.com/sexy-novat...shiny-buttons/

If the device doesn't adhere to the standard USB HID device class specifications (or doesn't report the adherence via the USB info), you will need hardware-specific drivers in order to communicate with the device.

-Danny
__________________
Danny Diaz
Former Lead Technical Mentor, FRC 418
  #4   Spotlight this post!  
Unread 03-04-2014, 01:07
DjParaNoize-'s Avatar
DjParaNoize- DjParaNoize- is offline
Registered User
no team
Team Role: Leadership
 
Join Date: Mar 2013
Rookie Year: 2012
Location: California
Posts: 55
DjParaNoize- is an unknown quantity at this point
Re: Programming Custom Controller.

The Board is a Novation Launchpad. It requires a driver and I've installed it and still does not respond.
Drivers:
http://us.novationmusic.com/support/...duct=Launchpad

I'm Familiar with the Driver Station Protocol only being able to use 12 buttons per "Joystick". Only concern is too how I will be able to program it to be able to use it.
  #5   Spotlight this post!  
Unread 03-04-2014, 01:13
DjParaNoize-'s Avatar
DjParaNoize- DjParaNoize- is offline
Registered User
no team
Team Role: Leadership
 
Join Date: Mar 2013
Rookie Year: 2012
Location: California
Posts: 55
DjParaNoize- is an unknown quantity at this point
Re: Programming Custom Controller.

The Controller appears as a "Launchpad" on my Sound, video and game controllers category of the Device Manager. Drivers have been installed properly. Just no Detection with Joystick explorer.

I'm Assuming that the controller needs to be "Modified" in some type of way to be able to function with the robot
  #6   Spotlight this post!  
Unread 03-04-2014, 01:25
Danny Diaz's Avatar
Danny Diaz Danny Diaz is offline
Smooth Operator
AKA: FrankenMentor
None #0418
Team Role: Alumni
 
Join Date: Apr 2005
Rookie Year: 2003
Location: Manchester, NH
Posts: 545
Danny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond repute
Send a message via AIM to Danny Diaz
Re: Programming Custom Controller.

Quote:
Originally Posted by DjParaNoize- View Post
I'm Assuming that the controller needs to be "Modified" in some type of way to be able to function with the robot
Nope, it seems like so far everything is working correctly.

See, the "problem" is that the device is ABSOLUTELY NOT a joystick, nor do the drivers even attempt to make the device look like a joystick. The device is a MIDI device, and the programming API for the device specifically says you have to access the device as a MIDI device.

Communicating with a MIDI device from LabVIEW isn't impossible, but it does require some community-written libraries in order to do it - here's a white paper that describes how to communicate with MIDI devices in LabVIEW.

Good luck.
-Danny
__________________
Danny Diaz
Former Lead Technical Mentor, FRC 418
  #7   Spotlight this post!  
Unread 03-04-2014, 01:34
DjParaNoize-'s Avatar
DjParaNoize- DjParaNoize- is offline
Registered User
no team
Team Role: Leadership
 
Join Date: Mar 2013
Rookie Year: 2012
Location: California
Posts: 55
DjParaNoize- is an unknown quantity at this point
Re: Programming Custom Controller.

Ah, there must have been some misinterpretation with "Controller/DJ Controlelr" and "MIDI Controller".
So therefore now I know it is a MIDI device not a joystick haha.

I really appreciate the Help Danny, Thank you.
Closed Thread


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 02:36.

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