Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   C++ GetPOV() not working? (http://www.chiefdelphi.com/forums/showthread.php?t=142428)

tkdberger 23-01-2016 20:05

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

Arhowk 23-01-2016 20:10

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)

tkdberger 23-01-2016 21:12

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.

tkdberger 25-01-2016 19:53

Re: C++ GetPOV() not working?
 
Okay, got GetPOV() going.

Now the Left and right triggers are gone. >:[

spat 28-01-2016 16:59

Re: C++ GetPOV() not working?
 
Quote:

Originally Posted by tkdberger (Post 1530017)
Okay, got GetPOV() going.

Now the Left and right triggers are gone. >:[

Murphy's law :D

tkdberger 30-01-2016 13:28

Re: C++ GetPOV() not working?
 
Quote:

Originally Posted by spat (Post 1531663)
Murphy's law :D

Yeah, well, we got it fixed. :D


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

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi