OCCRA
Go to Post ...our football team was a state champion, but i don't see -them- going to atlanta and winning there! :D - Sam Lipscomb [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 03-13-2018, 08:29 PM
Landon K's Avatar
Landon K Landon K is offline
Registered User
AKA: Landon Kohtz
FRC #6090 (Wayland Wildcats)
Team Role: Alumni
 
Join Date: May 2017
Rookie Year: 2016
Location: Wayland, MI
Posts: 71
Landon K is on a distinguished road
Talon SRX not keeping track of position

We were working on our comp. bot and our drive encoders (Greyhill 63R) are feeding into the SRX and the position and velocity are going up in the system print out and counting but when the motors stop the position and velocity goes to zero. We ran these all season and the printout of these values has been right. The practice bot has exhibited the same behavior and we have tried numerous encoders, cables and the two separate SRXs on the practice and competetion bot. We have also tried to go back on good backup code and that is also the same problem. If you have any solutions or ideas, it would be much appreciated.
Reply With Quote
  #2   Spotlight this post!  
Unread 03-13-2018, 09:41 PM
BriFRC1922 BriFRC1922 is offline
Registered User
FRC #1922
 
Join Date: Jan 2018
Location: united states
Posts: 7
BriFRC1922 is an unknown quantity at this point
Re: Talon SRX not keeping track of position

Is there something in the code that's resetting it to 0 after the motor stops turning? Are you talking about saving positions between enabling and disabling or are you talking about within one session?
Reply With Quote
  #3   Spotlight this post!  
Unread 03-13-2018, 10:14 PM
Landon K's Avatar
Landon K Landon K is offline
Registered User
AKA: Landon Kohtz
FRC #6090 (Wayland Wildcats)
Team Role: Alumni
 
Join Date: May 2017
Rookie Year: 2016
Location: Wayland, MI
Posts: 71
Landon K is on a distinguished road
Re: Talon SRX not keeping track of position

Solved- It appears there was something not right in the init for teleop. Thanks
Reply With Quote
  #4   Spotlight this post!  
Unread 03-20-2018, 04:52 PM
Maxcr1's Avatar
Maxcr1 Maxcr1 is offline
Registered User
AKA: Max D "Code Boy"
FRC #2169 (KING TeC)
Team Role: Programmer
 
Join Date: Nov 2016
Rookie Year: 2016
Location: Savage, MN
Posts: 119
Maxcr1 has a brilliant futureMaxcr1 has a brilliant futureMaxcr1 has a brilliant futureMaxcr1 has a brilliant futureMaxcr1 has a brilliant futureMaxcr1 has a brilliant futureMaxcr1 has a brilliant futureMaxcr1 has a brilliant futureMaxcr1 has a brilliant futureMaxcr1 has a brilliant futureMaxcr1 has a brilliant future
Re: Talon SRX not keeping track of position

Quote:
Originally Posted by Landon K View Post
Solved- It appears there was something not right in the init for teleop. Thanks
Could you share specifically what worked? Someone else may have the same problem in the future.
__________________
Max DeVos | Programmer | KING TeC 2169

Reply With Quote
Reply


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 05:38 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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