Go to Post If it were easy it wouldn't be worth triple the points, right? - SenorZ [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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 06-02-2017, 15:08
AdrianEdgardo47 AdrianEdgardo47 is online now
Registered User
FRC #4635
 
Join Date: Feb 2017
Location: Monterrey, Mexico
Posts: 1
AdrianEdgardo47 is an unknown quantity at this point
Problems with PID controll using quad encoders

I have notice every time I plug or unplug a new battery the current PID settings don't work anymore. We're using the encoder via the talonSRX and the library of CANTalon. Do you recommend stop using PID control or and using percentage instead.
Reply With Quote
  #2   Spotlight this post!  
Unread 09-02-2017, 00:57
GavinL GavinL is offline
intensely stares at program
FRC #5726 (RhumBotz)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2016
Location: San Antonio, Texas
Posts: 46
GavinL is a splendid one to beholdGavinL is a splendid one to beholdGavinL is a splendid one to beholdGavinL is a splendid one to beholdGavinL is a splendid one to beholdGavinL is a splendid one to beholdGavinL is a splendid one to behold
Re: Problems with PID controll using quad encoders

Are you resetting the encoder values?
Also is there a large difference in the voltage of the battery? Like before it was 8 and now it is 12?
Reply With Quote
  #3   Spotlight this post!  
Unread 09-02-2017, 21:10
mmaunu's Avatar
mmaunu mmaunu is offline
Registered User
FRC #2485 (W.A.R. Lords)
Team Role: Mentor
 
Join Date: Mar 2013
Rookie Year: 2010
Location: San Diego, CA
Posts: 94
mmaunu is a jewel in the roughmmaunu is a jewel in the roughmmaunu is a jewel in the roughmmaunu is a jewel in the rough
Re: Problems with PID controll using quad encoders

Quote:
Originally Posted by AdrianEdgardo47 View Post
I have notice every time I plug or unplug a new battery the current PID settings don't work anymore. We're using the encoder via the talonSRX and the library of CANTalon. Do you recommend stop using PID control or and using percentage instead.
Could you post your code or explain, in detail, how you are setting the PID values? (How are you setting the PID values via the RoboRIO web dashboard or in code?) Which settings don't work anymore (can you describe the problem in more detail)?
__________________
2016 Carson Division Industrial Design Award
2016 San Diego and Orange County, Engineering Inspiration Award
2014 Las Vegas (Winners with 987, 2478; Excellence in Engineering)
2014 San Diego (Finalists with 987, 3250; Quality Award)
2013 Inland Empire (Winners with 1538, 968; Excellence in Engineering Award)
2013 San Diego (Finalists with 2984, 4322; Creativity Award)
2012 Las Vegas (Finalists with 2034, 3187; Quality Award)
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 13:20.

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