Go to Post Imagine your crate going over Niagara Falls => pack it accordingly (esp if you are attending the Toronto Regional :^) - KenWittlief [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

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 08-02-2010, 23:09
buddyb's Avatar
buddyb buddyb is offline
Registered User
FRC #1885 (ILITE)
Team Role: Programmer
 
Join Date: Dec 2009
Rookie Year: 2008
Location: Haymarket, VA
Posts: 65
buddyb has a spectacular aura aboutbuddyb has a spectacular aura aboutbuddyb has a spectacular aura about
Re: [FTC]: LabView Encoder Problem

I'm not too familiar with this year's FTC LabVIEW, but what I've seen messes most programmers up with going a fixed distance is the encoder reading's sign. Check to make sure that the encoders you're using are going in a positive direction, not a negative one. If they're going in a negative one, you'll have just over 2,100,000,000 degrees to go before your robot stops.

If they're going in a negative direction, flip the sign on your 'distance' parameter.

If this fails, then try the Constant Speed (move motors with PID Control) function, then wait X milliseconds, then stop the motors. I've found that this is more than accurate enough to base a solid autonomous around.

Good luck!
__________________
FRC - Team 1885 - Programmer.

Last edited by buddyb : 08-02-2010 at 23:31.
Reply With Quote
Reply


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]: Bluetooth Problem with LabView/FTC Controller Station James Dowd FIRST Tech Challenge 8 27-10-2009 10:40
[FTC]: Labview Encoder Problem jlester FIRST Tech Challenge 1 08-03-2009 11:27
[FTC]: LABView Servo Problem Geek_Girl FIRST Tech Challenge 9 16-02-2009 19:29
[FTC]: First problem with FTC and LabView.....? PhilBot FIRST Tech Challenge 5 07-11-2008 10:36
[FTC]: FTC Servo-Motor Problem with Labview dnhansen FIRST Tech Challenge 1 26-10-2008 00:43


All times are GMT -5. The time now is 12:58.

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