You may possess me without penalty.
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Spotlight this post!  
Unread Today, 04:50
bmfrc bmfrc is offline
Registered User
FRC #5554
 
Join Date: Feb 2017
Location: Israel
Posts: 11
bmfrc is an unknown quantity at this point
Re: PIDController - control speed vs distance - SetSetpoint

Quote:
Originally Posted by gerthworm View Post
Yah, as you probably are finding out, there are two independent ways to do PID in Java...
Quote:
Originally Posted by AriMindell View Post
On 1389, we reimplemented PIDController to fit our code design, so I don't have any direct experience with the WPILib...
Thank you guys, while reading the docs and implementing the code your answers really helping and we already implemented the pid controllers. It seems to work fine.

What is the best practice in enabling and disabling the pid controller.
Lets say i want to autonomously drive the robot to point X - SetSetpoint(distance_from_X).
When the robot reach the target and stops, should i disable the controller?
If so, what is the best way to trigger this event?

Thanks.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 15:31.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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