Log in

View Full Version : Controlled Acceleration using JAVA


tefangel
16-02-2012, 14:05
I found a post similar to what I'm talking about, but it was directed towards LabView users.

Basically, I heard that there was a way to program the robot so that when a joy stick is moved all of the way forward, that the robot steadily accelerates instead of jerking forward and causing possible damage.

The sooner the response, the better! Thank you!

mv2112
16-02-2012, 14:08
I think you thinking of PID Loops. There is a PID example project that comes with netbeans, you should look at that.

tefangel
16-02-2012, 14:14
I think you thinking of PID Loops. There is a PID example project that comes with netbeans, you should look at that.

I almost feel like an idiot for asking, but where can I find that?

Ether
16-02-2012, 14:39
I found a post similar to what I'm talking about, but it was directed towards LabView users.

This post (http://www.chiefdelphi.com/forums/showpost.php?p=1127623&postcount=2) in that thread has C pseudo-code example of a slew rate limiter that you could easily convert to Java.