|
Re: Robodox Guide to velocity control using PID
Quote:
Originally Posted by rawrxp
Code:
while(encoder->GetRate() <= setpoint) {jag->Set(i); i+= .001}
This way, it ramps up, but the only fear I have of this method is that I am unfamiliar with the way GetRate() works. If it gets back data per second, then we have a problem with this formula.
|
As far as I know and recall, GetRate() returns data per second.
__________________

2011: Head Scout
2012: (figure)Head Programmer
2013: Head Programmer, Chief Strategist, Outreach Executive, and Driver
|