Go to Post FIRST is just a single step in a multi-step process. Rome wasn't built in a day, and neither are solutions to the world's problems. - Tim Baird [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 18-02-2016, 15:09
Team5860-Alex Team5860-Alex is offline
Registered User
FRC #5860
 
Join Date: Jan 2016
Location: Algonac, MI
Posts: 22
Team5860-Alex is an unknown quantity at this point
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
  #2   Spotlight this post!  
Unread 18-02-2016, 16:18
cjl2625's Avatar
cjl2625 cjl2625 is offline
apel py
AKA: Cory Lynch
FRC #2067 (Apple Pi)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Guilford, CT
Posts: 412
cjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to behold
Re: CAN Talon Srx Encoder help needed

The links aren't working
__________________
Head Programmer / Driver
  #3   Spotlight this post!  
Unread 18-02-2016, 17:06
Matt-T-FRC Matt-T-FRC is offline
Electrical Engineering Student
AKA: Matt Tisovic
FRC #6181 (Northwest State Cryptic Cyborgs)
Team Role: Electrical
 
Join Date: Feb 2016
Rookie Year: 2012
Location: Northwest Ohio
Posts: 29
Matt-T-FRC is an unknown quantity at this point
Re: CAN Talon Srx Encoder help needed

What PID values are you using?
  #4   Spotlight this post!  
Unread 18-02-2016, 17:53
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
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.
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 00:41.

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