![]() |
Help with Joystick command
We are having an issue where a joystick command (Left and right trigger on XBox controller) are not working properly.
In the driver station, i can push the button and the signal is being read (i can see the signal on the screen) but when we probe the code, no signal is read... i cannot figure this thing out.... We switch to a different controller and we have the same issue so we are pretty sure its in the code.... |
Re: Help with Joystick command
What programing language are you using?
|
Re: Help with Joystick command
Can you post a snapshot of your code and a description of what you expect it to be doing?
|
Re: Help with Joystick command
Coach Seb,
I had a chance to do a little work to your program since we last talked. I am posting a vi sniplet of your teleop code with the automated arm and winch removed. Use this as an example and go from there for further trouble shooting. |
Re: Help with Joystick command
Quote:
Any reason why y'all are using the "Array to Cluster" and "Unbundle by Name" instead of using "index array" directly? |
Re: Help with Joystick command
1 Attachment(s)
Wow, it shows up in Teleop, I posted an updated version. Also I use array to clusters and then unbundle by name because that is what I am use to using and haven't completely adapted to using array to clusters yet. It also makes it a little easier to read.
|
| All times are GMT -5. The time now is 03:48. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi