Add yaw rate data to .csv output file

Request and discussion on new / to change features
Post Reply
gplracerx
20 or more Posts ★★★
20 or more Posts ★★★
Posts: 836
Joined: Thu May 03, 2012 5:26 am
Location: Kingsport, TN USA

Add yaw rate data to .csv output file

Post by gplracerx »

This would make it a lot easier to compare accelerometer data to GPS acceleration data in a spreadsheet as lateral acceleration is yaw rate in radians/s (deg/s times pi/180) times velocity in m/s (kph/3.6) divided by 9.81. Or is that how you calculate the yaw rate? In that case, never mind. Vertical velocity and acceleration would be nice too, but it's much less important and vertical velocity probably isn't accurate enough with most GPS data. I can refine the accelerometer calibration angles by comparing accelerometer measured vs GPS calculated acceleration. But if you're using lateral acceleration rather than GPS heading change rate for the yaw rate, that won't help.
User avatar
Harry
Site Admin
Site Admin
Posts: 10639
Joined: Sun Sep 12, 2010 10:32 am
Location: Siegum, Germany
Contact:

Re: Add yaw rate data to .csv output file

Post by Harry »

Yaw rate is calculated as the change in driving direction per time unit (degree per second). So you can calculate it from the difference in direction and difference in fix time between two consecutive GPS fixes. Both are included in all exports.

- Harry
Image Image Image Image
gplracerx
20 or more Posts ★★★
20 or more Posts ★★★
Posts: 836
Joined: Thu May 03, 2012 5:26 am
Location: Kingsport, TN USA

Re: Add yaw rate data to .csv output file

Post by gplracerx »

Yes, but then I have to smooth it and fix the transition at 359 and 0 degrees and catch bad readings. Being inherently lazy, I was hoping that since it's already been calculated, it wouldn't be too hard to add another column to the output file. Obviously, it's not a high priority.
User avatar
Harry
Site Admin
Site Admin
Posts: 10639
Joined: Sun Sep 12, 2010 10:32 am
Location: Siegum, Germany
Contact:

Re: Add yaw rate data to .csv output file

Post by Harry »

Yes, I understand the point. Yaw rate requires indeed a smoothing (including a dependency to GPS update rate). Problem is LapTimer does not store this value but calculates it on the fly while drawing the graph. I keep that point, maybe that area will change at some time.

- Harry
Image Image Image Image
Post Reply