Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   CAN Talon Srx Encoder help needed (http://www.chiefdelphi.com/forums/showthread.php?t=144096)

Team5860-Alex 18-02-2016 15:09

CAN Talon Srx Encoder help needed
 
We are experiencing issues with labview program and getting our arm to move to a position on button command. Nearly nothing happens once enabled and button is clicked. The motors stutter slighty if touched, but after there is no response. yes we did update firmware, set up individual id's and searched the software reference manual

Here are the begin, teleop, and PID values.

https://www.dropbox.com/s/ecvsyzkcb0...13%29.png?dl=0

https://www.dropbox.com/s/duw2u37fx7...14%29.png?dl=0

https://www.dropbox.com/s/n220tfz4zv...15%29.png?dl=0


Any help appreciated

cjl2625 18-02-2016 16:18

Re: CAN Talon Srx Encoder help needed
 
The links aren't working

Matt-T-FRC 18-02-2016 17:06

Re: CAN Talon Srx Encoder help needed
 
What PID values are you using?

Alan Anderson 18-02-2016 17:53

Re: CAN Talon Srx Encoder help needed
 
The links were active just long enough for me to glance at them and not see anything immediately relevant to the problem.

I did notice that you're doing some very weird things when reading the joystick buttons. You get two copies of the Device Reference, passing each to a separate Joystick Get, and you use two completely different methods of getting the desired button value out of the Buttons array. That won't cause the symptoms you describe, but it is definitely not a clean way to do it. You should just get the Buttons array once, and pull all of the values out of it that you need (using either the array-to-cluster or the Index Array method, but not both).

I didn't have a chance to see whether the PID values looked reasonable, or whether the limit switch settings made sense, or whether the control mode was set appropriately.


All times are GMT -5. The time now is 00:41.

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