View Single Post
  #6   Spotlight this post!  
Unread 05-02-2017, 11:47
flemdogmillion's Avatar
flemdogmillion flemdogmillion is offline
Programmer, Builder, Driver...
FRC #3007
 
Join Date: Nov 2016
Rookie Year: 2015
Location: Minnesota
Posts: 147
flemdogmillion will become famous soon enoughflemdogmillion will become famous soon enough
Re: We are trying to set up PID

Quote:
Originally Posted by Owen Makin View Post
The robot is not completing the ramp up to speed. This solution you have proposed is, if I understand correctly, helpful only if the motor does not have enough power to get up to speed. This is not the case as the robot is off the floor and the wheels are free spinning. As i increase the P value it climbs, but then begins to behave erraticly and the motor values jump quickly between 1 and -1.
Leave the P value at a value thay does produce erractic behavior, such as the value above, and increasing the I anywhere from 1000 to 1 will also produce erractic rate changes and sometimes stop producing a motor output.
1000 to 1? We're talking FRC robots in Labview here. The units on the I and D values are in minutes. It's really weird, I know.

Also, if the motor overshoots an oscillates, increase derivative gain.
__________________
Team 4506: 2015-2016
Team 3007: 2017

Jack of all trades except C++ & Java
Reply With Quote