Go to Post Keep your chin up, your safety glasses on, and don't let the magic smoke out of the electrical components and you'll do just fine :) - rsegrest [more]
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
  #5   Spotlight this post!  
Unread 03-04-2008, 15:07
tdlrali tdlrali is offline
Registered User
FRC #0469 (Las Guerrillas)
Team Role: Programmer
 
Join Date: Sep 2006
Rookie Year: 2006
Location: MI
Posts: 377
tdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud of
Re: RobotC and Quad Encoders

Quote:
Distance MINUS previous Distance = speed (ticks)
Speed MINUS previous Speed = acceleration (ticks)
those should both be divided by time since the previous loop

(Distance - previous Distance)/time = speed (ticks)
(Speed - previous Speed)/time = acceleration (ticks)
 


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
Wiring Gyros and Encoders? SuspectZero Electrical 3 03-02-2008 15:30
FTC - Quad Quandary Challenge and Practice Kit Components Mark McLeod FIRST Tech Challenge 0 19-10-2007 11:06
Encoders and putdata theycallhimtom Programming 3 09-02-2006 19:24
EEPROM and Encoders Bharat Nain Electrical 7 01-12-2005 10:06
Testing and Cause of Failure for Encoders and Hall Effect sensors ChrisH Electrical 28 19-09-2005 01:07


All times are GMT -5. The time now is 20:21.

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