Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   Problems with PID controll using quad encoders (http://www.chiefdelphi.com/forums/showthread.php?t=154831)

AdrianEdgardo47 06-02-2017 15:08

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.

GavinL 09-02-2017 00:57

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?

mmaunu 09-02-2017 21:10

Re: Problems with PID controll using quad encoders
 
Quote:

Originally Posted by AdrianEdgardo47 (Post 1641205)
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)?


All times are GMT -5. The time now is 04:17.

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