Go to Post ...your stress reliever is a ziptie with the end cut off so you can pull it straight through. It really works! - Storcky [more]
Home
Go Back   Chief Delphi > Other > FIRST Tech Challenge
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
  #5   Spotlight this post!  
Unread 06-03-2014, 12:39
Wingus&Dingus Wingus&Dingus is offline
Registered User
FTC #7440
 
Join Date: Dec 2013
Rookie Year: 2009
Location: New Zealand
Posts: 11
Wingus&Dingus is an unknown quantity at this point
Re: [FTC]: Use Tetrix Encoders to Hold Positions?

Quote:
Originally Posted by Just_In_Time View Post
Hello. I recently installed some encoders on our robot's arm in the hopes that I could press a button to allow the arm to go to a certain position regardless of the previous position the arm was at, essentially the same thing one would do with a servo. However, when I tried using Encoder Target Distances, it simply went in one direction for however many rotations instead of rotating back to the same position. Does anyone know of a way that I could accomplish this so the Tetrix motor acts like a servo and returns to a previously set position? Any help is greatly appreciated. Thanks.

JIT
From memory the Encoder Target Distance function only works with the LEGO motors. You'll need to implement (at least) a Proportional controller which measures the arm position and adjusts motor power according to the error between your Set Point and the Current Position. Also the PID controller built into HiTechnic DC Motor controllers didn't work out for us in a past season so we ended up writing our own. It all seems like partial implementations in these motor controllers which is frustrating.
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 07:53.

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