Go to Post I know it's hard to believe, but there actually IS life after FIRST. - jleibs [more]
Home
Go Back   Chief Delphi > Other > Math and Science
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
  #5   Spotlight this post!  
Unread 05-04-2010, 03:51
eugenebrooks eugenebrooks is offline
Team Role: Engineer
AKA: Dr. Brooks
no team (WRRF)
 
Join Date: Jan 2004
Rookie Year: 2001
Location: Livermore, CA
Posts: 601
eugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond repute
Re: Using antiderivative to find velocity from acceleration

See an old 2005 white paper titled:
An Introduction to C Programming for FIRST Robotics Applications

An Introduction to C Programming for FIRST Robotics Applicatyions [SP]

It describes a second on integration of a gyro, using second order
accuracy and careful subtraction of the average at rest in order to
obtain a low drift angular position. You could go further by adding
temperature compensation. The code is for the old control system.
You could do the same with an accelerometer to get velocity, but
the pulse rate of wheel counters would provide much better results.
Integrating a second time, using the relatively poor acceleration
measurements, would not produce very useful results, but I'll
resist going into that.

An issue with doing this on the cRIO is getting an accurate time
interval between measurements. There may be a suitable system
call to provide the time to sufficient accuracy.

Eugene

Last edited by eugenebrooks : 05-04-2010 at 03:54.
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
Using the vision processing function of FIRST to find circles Ghtm NI LabVIEW 1 20-01-2010 20:05
problems with velocity readout from encoderget vi windell747 NI LabVIEW 3 25-03-2009 13:47
how to find distance using two color servo camera? Steelix4532 General Forum 4 06-02-2009 17:20
What constants are u using for high velocity PID Salik Syed Programming 3 18-02-2006 23:22
Problems Using PID for Velocity Astronouth7303 Programming 6 10-02-2006 09:00


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

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