Go to Post Yes, I'll admit it...I had a crush on Ken Leung when we all went out together for the college night in 2002. - Elgin Clock [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 Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 03-08-2015, 10:31
fovea1959's Avatar
fovea1959 fovea1959 is offline
Herder of programmers
AKA: Doug Wegscheid
FRC #3620 (The Average Joes)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: St Joseph
Posts: 336
fovea1959 will become famous soon enough
Joystick mapping changed between 2014DS and 2015DS in 2014 mode?

we've kept an old laptop around to use as the driver's station for our 2014 robot. that laptop got sick this weekend, so we fired up a 2015 ds, set it to 2014 mode, and things were mostly ok.

we see a half red/ half green comm indicator for the robot, but reading other threads indicates that normal.

it *seems* that the 2015 DS maps the axes on an XBox controller differently than the 2014 DS. Can anyone confirm or deny?
  #2   Spotlight this post!  
Unread 03-08-2015, 10:45
SenorZ's Avatar
SenorZ SenorZ is offline
Physics Teacher
AKA: Tom Zook
FRC #4276 (Surf City Vikings)
Team Role: Teacher
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Huntington Beach, California
Posts: 946
SenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond repute
Re: Joystick mapping changed between 2014DS and 2015DS in 2014 mode?

The DS should be sending through whatever the laptop is processing.
I'd be curious to know if the new computer was utilizing some sort of special xbox mapping for gaming and sending that to the DS.
__________________
2013-present: FRC Team 4276, Surf City Vikings
2011-2012: FRC Team 3677, The Don Bots
  #3   Spotlight this post!  
Unread 03-08-2015, 10:46
notmattlythgoe's Avatar
notmattlythgoe notmattlythgoe is offline
Flywheel Police
AKA: Matthew Lythgoe
FRC #2363 (Triple Helix)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Newport News, VA
Posts: 1,729
notmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond repute
Re: Joystick mapping changed between 2014DS and 2015DS in 2014 mode?

The mapping differences you might be seeing could be related to the fact that the mappings are all 0 indexed now.
  #4   Spotlight this post!  
Unread 03-08-2015, 11:41
EDesbiens's Avatar
EDesbiens EDesbiens is offline
Passionate crackpot
AKA: Étienne Desbiens
FRC #5859 (i)
Team Role: College Student
 
Join Date: Apr 2014
Rookie Year: 2013
Location: Canton de Hatley, QC, Canada
Posts: 297
EDesbiens is a glorious beacon of lightEDesbiens is a glorious beacon of lightEDesbiens is a glorious beacon of lightEDesbiens is a glorious beacon of lightEDesbiens is a glorious beacon of lightEDesbiens is a glorious beacon of light
Re: Joystick mapping changed between 2014DS and 2015DS in 2014 mode?

I'm on labview and I get a very different axis mapping... The buttons only changed to accomodate the 0 index but the axis are really weird...
__________________
Lisa: Players play and managers manage.
Ralph: Do alligators alligate?
  #5   Spotlight this post!  
Unread 03-08-2015, 11:45
Monochron's Avatar
Monochron Monochron is offline
Engineering Mentor
AKA: Brian O'Sullivan
FRC #4561 (TerrorBytes)
Team Role: Engineer
 
Join Date: Feb 2007
Rookie Year: 2002
Location: Research Triangle Park, NC
Posts: 920
Monochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond repute
Re: Joystick mapping changed between 2014DS and 2015DS in 2014 mode?

We recently did a similar thing with our 2014 robot, but didn't notice any different mappings. We had the same half red / half green status light and were able to fix it by putting the correct firmware on the cRIO. Only the correct firmware will allow a cRIO to talk to a 2015 DS, so you may want to check that it is up to date.
  #6   Spotlight this post!  
Unread 03-08-2015, 11:49
marshall's Avatar
marshall marshall is offline
My pants are louder than yours.
FRC #0900 (The Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2003
Location: North Carolina
Posts: 1,337
marshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond repute
Re: Joystick mapping changed between 2014DS and 2015DS in 2014 mode?

Quote:
Originally Posted by fovea1959 View Post
we've kept an old laptop around to use as the driver's station for our 2014 robot. that laptop got sick this weekend, so we fired up a 2015 ds, set it to 2014 mode, and things were mostly ok.

we see a half red/ half green comm indicator for the robot, but reading other threads indicates that normal.

it *seems* that the 2015 DS maps the axes on an XBox controller differently than the 2014 DS. Can anyone confirm or deny?
I can confirm we had an issue like this that we ran into with beta testing. I don't recall exactly what the cause was but it had to do with the 0 indexing and the POV hats being read as different values... at least that is what I remember.
__________________
"La mejor salsa del mundo es la hambre" - Miguel de Cervantes
"The future is unwritten" - Joe Strummer
"Simplify, then add lightness" - Colin Chapman
  #7   Spotlight this post!  
Unread 03-08-2015, 12:23
jkoritzinsky jkoritzinsky is offline
Registered User
AKA: Jeremy Koritzinsky
FRC #4786 (Nicolet F.E.A.R.)
Team Role: Mentor
 
Join Date: Apr 2014
Rookie Year: 2014
Location: Glendale, Wisconsin
Posts: 78
jkoritzinsky will become famous soon enoughjkoritzinsky will become famous soon enough
Re: Joystick mapping changed between 2014DS and 2015DS in 2014 mode?

Quote:
Originally Posted by fovea1959 View Post
we've kept an old laptop around to use as the driver's station for our 2014 robot. that laptop got sick this weekend, so we fired up a 2015 ds, set it to 2014 mode, and things were mostly ok.

we see a half red/ half green comm indicator for the robot, but reading other threads indicates that normal.

it *seems* that the 2015 DS maps the axes on an XBox controller differently than the 2014 DS. Can anyone confirm or deny?
The 2014 Driver Station used the outdated DirectInput API to get the inputs for joysticks. The 2015 DS uses XInput. This is the cause of the changes other than the switch to the 0-based axes/buttons.
__________________
Nicolet F.E.A.R. (Team 4786) - Aerial Assist - Programming Manager
Nicolet F.E.A.R. (Team 4786) - 2015+ - Junior Mentor

SuperScouter for FRC Developer
  #8   Spotlight this post!  
Unread 03-08-2015, 19:43
Jonathan L. Jonathan L. is offline
Programmer alumnus, mentor, and CSA
FRC #1094 (Channel Cats)
 
Join Date: Jan 2013
Rookie Year: 2011
Location: St. Louis MO
Posts: 82
Jonathan L. is a jewel in the roughJonathan L. is a jewel in the roughJonathan L. is a jewel in the roughJonathan L. is a jewel in the rough
Re: Joystick mapping changed between 2014DS and 2015DS in 2014 mode?

Quote:
Originally Posted by fovea1959 View Post
we see a half red/ half green comm indicator for the robot, but reading other threads indicates that normal.
One side of the Communication indicator shows the status of the TCP connection (used for sporadic data like errors, Usage Reporting and PDP Logs), the other half shows the UDP connection (for the main robot control and status). You might want to check your firewall settings.
  #9   Spotlight this post!  
Unread 04-08-2015, 13:42
fovea1959's Avatar
fovea1959 fovea1959 is offline
Herder of programmers
AKA: Doug Wegscheid
FRC #3620 (The Average Joes)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: St Joseph
Posts: 336
fovea1959 will become famous soon enough
Re: Joystick mapping changed between 2014DS and 2015DS in 2014 mode?

Quote:
Originally Posted by Monochron View Post
We recently did a similar thing with our 2014 robot, but didn't notice any different mappings. We had the same half red / half green status light and were able to fix it by putting the correct firmware on the cRIO. Only the correct firmware will allow a cRIO to talk to a 2015 DS, so you may want to check that it is up to date.
What is the correct firmware (and how do I check what's running on the cRIO)?
  #10   Spotlight this post!  
Unread 04-08-2015, 13:43
fovea1959's Avatar
fovea1959 fovea1959 is offline
Herder of programmers
AKA: Doug Wegscheid
FRC #3620 (The Average Joes)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: St Joseph
Posts: 336
fovea1959 will become famous soon enough
Re: Joystick mapping changed between 2014DS and 2015DS in 2014 mode?

Quote:
Originally Posted by Jonathan L. View Post
One side of the Communication indicator shows the status of the TCP connection (used for sporadic data like errors, Usage Reporting and PDP Logs), the other half shows the UDP connection (for the main robot control and status). You might want to check your firewall settings.
Is this the case if talking to a 2014 robot? Has anyone gotten a full green with a 2014 robot?
  #11   Spotlight this post!  
Unread 04-08-2015, 14:27
FrankJ's Avatar
FrankJ FrankJ is offline
Robot Mentor
FRC #2974 (WALT)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Marietta GA
Posts: 1,946
FrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond repute
Re: Joystick mapping changed between 2014DS and 2015DS in 2014 mode?

Quote:
Originally Posted by fovea1959 View Post
Is this the case if talking to a 2014 robot? Has anyone gotten a full green with a 2014 robot?
You will not. The half red indicates 2014 protocol.

Edit: more properly the communication status means this: ( screen step live DS direction)
Quote:
Major Status Indicators - These three indicators display major status items for the DS. The
"Communications" indicates whether the DS is currently communicating with the FRC Network
Communications Task on the roboRIO (this year it is split in half for the TCP and UDO
communication).
The 2014 protocol presumably only uses half of this hence half red / half green
__________________
If you don't know what you should hook up then you should read a data sheet

Last edited by FrankJ : 04-08-2015 at 15:03.
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 03:13.

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