Go to Post We like to help, otherwise they put us back in our cages. - Matt Krass [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 Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #16   Spotlight this post!  
Unread 15-03-2009, 10:08
PhilBot's Avatar
PhilBot PhilBot is offline
Get a life? This IS my life!
AKA: Phil Malone
FRC #1629 (GaCo: The Garrett Coalition)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Maryland
Posts: 756
PhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond repute
Re: [FTC]: Common failures with TETRIX

Quote:
Originally Posted by alan4cast View Post
13) more servo options, or some way to not reset the encoder position in both lego and drive motors when the program starts running.
Yes, Both the Lego and DC motors use pulse counting encoders, so they don't have any absolute way of detecting their starting position.

You either need to have some way to "home" them, or some external absolute sensing device.

One idea to Home a motor is to add a touch sensor, and run the motor at low power until it hits the sensor (or some other hard stop). The you can reset the encoder. Remeber... use low power !!!! Or, you can reset the encoder every time the arm moves past a light senor.

The other thing to consider is that it IS legal to add the Hitechnic soldered prototyping board, with external sensors ..... like a potentiometer. In theory you could add a feedback pot to an arm to sense the actual position, and just use the encoders for fine speed control.

Servos are great, but unfortunately you can't read their starting position, so your first action has to be to move them to some safe position. If you can always physically place your servo arm in a known position (eg: all the way up or down), then if you can figure out the servo values that correspond to this starting position, that can be your first servo command.... eg: Go to where I know you should be starting.

I do like that you can send the servo to position "0" which means "stay where I last sent you". why? If you don't continually send servo commands, they will droop down after about 2 seconds... so, to prevent this, you can have a loop that runs in the background sending "0" comands, which will keep them wherever they were last commanded. Unfortunately you can't start out by sending "0" commands because there is no "history" and the servo will go to the center.
__________________
Phil Malone
Garrett Engineering And Robotics Society (GEARS) founder.
http://www.GEARSinc.org

FRC1629 Mentor, FTC2818 Coach, FTC4240 Mentor, FLL NeXTGEN Mentor
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
[FTC]: Cutting Tetrix Metal blackbrigadeer FIRST Tech Challenge 3 12-01-2009 08:56
[FTC]: Use of VEX in Tetrix ttldomination FIRST Tech Challenge 7 11-01-2009 17:42
[FTC]: FTC Tetrix Extra Parts Team 288 FIRST Tech Challenge 2 22-10-2008 18:30
[FTC]: Asdst Tetrix Help sovierr FIRST Tech Challenge 2 22-10-2008 16:12
[FTC]: Rookie Team Needs Help With Tetrix FTC Kit! rjustice4 FIRST Tech Challenge 8 05-10-2008 09:44


All times are GMT -5. The time now is 01:32.

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