Go to Post I normally prefer my speed controllers to brake, rather then break. - Joe Ross [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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
  #4   Spotlight this post!  
Unread 13-02-2009, 14:19
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Finding distance using accelerometer..

To "integrate" a signal, just keep adding it to an accumulator on a regular basis. Use a timed loop (there's one provided for you in the Basic robot template) with a shift register to hold the accumulated value.

Quote:
Originally Posted by SL8 View Post
I'm not looking for actual position so much as just knowing the actual distance traveled.
That's basically the same thing, isn't it?

If your wheels don't slip, encoders on the axle or gearbox give a much easier way to measure distance traveled. That's not a good assumption with acetal wheels on FRP, though.
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
how to find distance using two color servo camera? Steelix4532 General Forum 4 06-02-2009 17:20
Shooting Distance Laaba 80 General Forum 23 05-02-2009 16:10
Filtering out Vibration while using a KOP Accelerometer joshyboy9987 Electrical 31 22-01-2008 08:20
calculating distance sur2124 Programming 10 15-03-2006 18:36
Using Accelerometer with '04 controller sanddrag Control System 4 20-02-2004 12:18


All times are GMT -5. The time now is 10:31.

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