|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools |
Rating:
|
Display Modes |
|
#5
|
|||
|
|||
|
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. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |