Go to Post Did Dean by any chance mention red herrings? ;) - Cory [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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
  #1   Spotlight this post!  
Unread 23-01-2012, 17:43
Becca334's Avatar
Becca334 Becca334 is offline
Registered User
AKA: Rebecca
FRC #0334 (TechKnights)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: New York
Posts: 57
Becca334 is a jewel in the roughBecca334 is a jewel in the roughBecca334 is a jewel in the roughBecca334 is a jewel in the rough
Using Encoders to Correct Drive

I need help with using encoders to keep a robot going straight, basically adjusting the speeds of Victors based on encoder rates to make sure one motor doesn't slack behind another.

I know that this is possible with PID loops but I have not found a single Java implementation of PID for this task (and I really don't understand conceptually how PID works either)

We're using the RobotDrive class with tankDrive for driving with 4 motors and 2 encoders (one per 2 motors on each side).
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 11:27.

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