Quote:
Great idea,
but how is the kinect related to this?
Can't it be done with the KOP accelerometer too?
BTW in what units is the output of the accelerometer? m/s^2, etc..
|
We use the Kinect fro vision processing due to the depth capabilities. The kop acceleromater should work too! You can read about what data the kinect gives
here.
Quote:
Originally Posted by Ether
You left out the second term...
D = ½at2 + Vot
... and that formula is valid only if "a" is constant over the time interval.
Hate to be a party pooper, but... Due to the double integration, tiny errors in "a" will rapidly accumulate so that the computed position will quickly diverge from the true position.
Trapezoidal integration will help somewhat: Given t, x, v, and a at some point in time, and anew at some later point in time tnew, proceed as follows:
dt = tnew - t;
vnew = v + dt*(anew+a)/2;
xnew = x + dt*(vnew+v)/2;
|
So, theoretically, could you accurately plot a robot's location on the field using the equations you gave? and what other variables would I need get as inputs besides time and acceleration?
What if the time variable was such a very short amount of time, like 50ms, and you just took the average acceleration over that time period?