EV3 PID controller

A place to discus the development of leJOS for the EV3. Please do not use this section to post questions about how to use leJOS or to report problems etc.
New User
Posts: 1
Joined: Tue Jan 10, 2017 11:10 am

EV3 PID controller

Postby Joerg » Tue Jan 10, 2017 11:30 am

Dear all

Exists for the EV3 a PID controller java class similar to the NXT or do I need to program my own PID controller?

Best regards


User avatar
leJOS Team Member
Posts: 6001
Joined: Fri Sep 28, 2007 2:06 pm
Location: UK

Re: EV3 PID controller

Postby gloomyandy » Tue Jan 10, 2017 2:44 pm

For some reason this code did not make it into the EV3 repo. But you can just grab the NXT code and use it (you may need to adjust the package name and the includes). The source is here:
https://sourceforge.net/p/lejos/nxt/cod ... oller.java

It is interesting to see the additional overhead and complexity of having such a general class, many PID controllers would be much simpler (and probably more efficient).
leJOS news https://lejosnews.wordpress.com/

Return to “leJOS EV3 Development”

Who is online

Users browsing this forum: No registered users and 1 guest