Go to Post Let's not speak without knowing the "facts." If you say something please have valid reasonings behind it. =) - Arefin Bari [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 23-01-2016, 20:05
tkdberger's Avatar
tkdberger tkdberger is offline
SPAAACE
AKA: Hugh Mungous
FRC #3494 (Quadrangles)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2016
Location: Bloomington, IN
Posts: 23
tkdberger is an unknown quantity at this point
Angry C++ GetPOV() not working?

After following all the instructions set out (all of them), I cannot for the life of me make GetPOV() work.
Here is my code. Please forgive the typo in the repository name.

We are using an XBox controller if that makes any difference. The driver station seems to recognize the XBox POV changing, but our code does not.

Help appreciated. :D
  #2   Spotlight this post!  
Unread 23-01-2016, 20:10
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 542
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: C++ GetPOV() not working?

I dug through the code very briefly and I see no usage of GetPOV in the code (though I didn't look very hard... can you show what code / add some debug messages and post the output?

(also, theres a C++ subforum)
__________________
FRC Team 1684 - Head Programmer (2013-2016)
FRC Team 5460 - Programming Mentor (2015-2016)

FIRST in Michigan - Technical Crew (2015-continuing)
  #3   Spotlight this post!  
Unread 23-01-2016, 21:12
tkdberger's Avatar
tkdberger tkdberger is offline
SPAAACE
AKA: Hugh Mungous
FRC #3494 (Quadrangles)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2016
Location: Bloomington, IN
Posts: 23
tkdberger is an unknown quantity at this point
Unhappy Re: C++ GetPOV() not working?

Well, this is embarrassing.

It appears our robot is suffering from an issue in hardware, making it appear as though GetPOV() wasn't working. (one of our talons went on the fritz.)

I'll update this thread if it still doesn't work once we get the Talon back up and going.
  #4   Spotlight this post!  
Unread 25-01-2016, 19:53
tkdberger's Avatar
tkdberger tkdberger is offline
SPAAACE
AKA: Hugh Mungous
FRC #3494 (Quadrangles)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2016
Location: Bloomington, IN
Posts: 23
tkdberger is an unknown quantity at this point
Re: C++ GetPOV() not working?

Okay, got GetPOV() going.

Now the Left and right triggers are gone. >:[
  #5   Spotlight this post!  
Unread 28-01-2016, 16:59
spat's Avatar
spat spat is offline
QDriverStation Developer
AKA: Alex Spataru
FRC #3794 (WinT)
Team Role: College Student
 
Join Date: Sep 2015
Rookie Year: 2013
Location: Mexico
Posts: 44
spat is on a distinguished road
Re: C++ GetPOV() not working?

Quote:
Originally Posted by tkdberger View Post
Okay, got GetPOV() going.

Now the Left and right triggers are gone. >:[
Murphy's law
__________________
When Henry Ford made cheap, reliable cars people said, 'Nah, what's wrong with a horse?' That was a huge bet he made, and it worked. - Elon Musk
  #6   Spotlight this post!  
Unread 30-01-2016, 13:28
tkdberger's Avatar
tkdberger tkdberger is offline
SPAAACE
AKA: Hugh Mungous
FRC #3494 (Quadrangles)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2016
Location: Bloomington, IN
Posts: 23
tkdberger is an unknown quantity at this point
Smile Re: C++ GetPOV() not working?

Quote:
Originally Posted by spat View Post
Murphy's law
Yeah, well, we got it fixed.
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 12:46.

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