Update (56k!)

Add GTech Data To Your Track Videos

Moderator: m610

Update (56k!)

Postby m610 on Sun Jun 29, 2008 2:09 pm

I've been saying that this project was almost done for a while but now that my to-do and bug list is down to one page and it doesn't contain anything major even I am beginning to believe it. I've been in a final push for about a month now, probably longer, and long days for sure, and now that things are mostly working I thought I'd show it to the folks here and maybe get some comments and suggestions.

In case you didn't already know, what this program does is import the GTech Pro's (PASS-exported CSV files) data so that you can replay your drag race or road race session and get it into your video. Of course, in order to do this you need to be able to review the data, and while we're at it, why not analyze it, too?

I already have a number of videos on StreetFire.net that show the results. I can provide links, but in the meantime here is a frame from an earlier video.
Image

Here are some screen shots from today:

Here's where the replay takes place. The data are replayed on a blue screen which you later merge with your video. The gauges are all new and work better than before, plus you have more control over how they look. The panels are nicer, too, and include gradient fills and text with drop shadows, which can make them look much crisper in the video.
Image

Pop-up menus let you change the properties of the gauges and panels. I estimate that switching to these using pop-ups saved me something like 5000 lines of code. (A complete build is over 200,000 lines of code.)
Image

By the way, I'm using Mike Smith's data in this example and I don't know much about his car, so the gearing, weight, and other numbers are just made up.

Here's a second screen style, using dial gauges. On the right you can see other display options.
Image

Here's the drag-sheet, from a drag race session, naturally. The chart shows the rpm and speed. Notice any wheel spin? The vertical line marks the 60ft mark in this race (note the buttons in the lower-right corner of the chart) and the horizontal line marks the engine's redline. The table below the chart shows the actual data, which is very useful when inputting the gear selection, something that is used in a second method of estimating the speed. The table automatically scrolls to the row after clicking the "event" buttons or clicking on a data point on the chart. With from 1,500 to 30,000 data points, you wouldn't want to be scrolling manually to find stuff. The top section of this sheet summarizes the analysis of the session.
Image

Here's a dyno plot. It shows the raw power and torque (from the car's run) and the aero-corrected results. I selected a portion of the drag race to use in this plot. All that shifting and wheel spin can give you really messy dyno plots. Also, I have no idea of what this car's aero factor or frontal area is. I just picked some realistic numbers, so don't take the results too seriously. It's just an illustration.
Image

Here's a speed plot. Estimating speed can be tricky so the program offers three methods, accelerometer-only, RPM-only, combined accelerometer and RPM. The green line is the RPM-only speed. During shifts I just hold the speed constant. For the accelerometer-RPM version the accelerometer data are spliced in during shifts. This works pretty well and is recommended for road racing sessions. For drag races the accelerometer-only method works well.
Image

Why not? Late one night I got the idea to include a little simple modeling in the program. You can enter your torque curve by clicking the dyno chart and the program will calculate the corresponding power, connect the points using a B-spline, then calculate a rough 1/4-mile run. The calculated and measured data are plotted together in the lower chart. It's a simple model and I'll do more with it later, but I just thought it would be fun so I stuck it in, even if it took some weeks to get this part of the program written.
Image

Here are some close-ups. If you double-click the charts they'll fill the whole sheet, left-click and drag to zoom and unzoom, CTRL-right-click to bring up a list of options, which include saving, exporting, and printing the chart and changing its appearance.
Image
Image

This week I finished the charting features. Originally the charts were all black with white axes and some color. Now you can change a lot of that, including using a gradient fill and even a background image. Here are a couple of examples.

Traditional:
Image

Gradient:
Image

Background Image:
Image

I might have a week of programming left on this phase of the project. But then there is writing the manual, the help files, ...
m610
Super User
 
Posts: 27
Joined: Tue May 13, 2008 2:03 pm
Location: Davis, CA

Re: Update (56k!)

Postby meanredspider on Mon Jun 30, 2008 4:11 am

Looks great and really comprehensive. Great work!
User avatar
meanredspider
 
Posts: 33
Joined: Thu May 15, 2008 11:13 pm
Location: Inverness, Scotland

Re: Update (56k!)

Postby Rikker on Wed Jul 02, 2008 8:02 pm

m610 wrote:I've been saying that this project was almost done for a while but now that my to-do and bug list is down to one page and it doesn't contain anything major even I am beginning to believe it. I've been in a final push for about a month now, probably longer, and long days for sure, and now that things are mostly working I thought I'd show it to the folks here and maybe get some comments and suggestions.


Good lord, man. Tesla should be tapping you to help with the next version of PASS. I am drooling so much over here my basement is flooding. :shock: Which relative do I need to send onto the afterlife to get a copy of this app? I have three track days worth of data and video that I'm just WAITING to unleash BS4TV on...

Please, let me know when the app is ready!!

Thanks,
Rick

Image

NOTE: I am not a Tesla employee, just a fellow enthusiast. Don't take my word as G-Tech gospel!
Check out PASSedit, the G-Tech GTP file editor.
User avatar
Rikker
Super User
 
Posts: 47
Joined: Mon May 12, 2008 1:29 pm
Location: Wisconsin

Re: Update (56k!)

Postby meanredspider on Thu Jul 03, 2008 4:38 am

I know - and what a useful tool for racing too...
User avatar
meanredspider
 
Posts: 33
Joined: Thu May 15, 2008 11:13 pm
Location: Inverness, Scotland

Re: Update (56k!)

Postby m610 on Fri Jul 04, 2008 9:06 pm

Thanks all. I'll have something ready to testing soon. Meanwhile, here is a bit of what I got done this week.

A nice splash screen, shaped and with a drop shadow. The artwork itself is not final, but it is close.
Image

The image on the About dialog... I'll need permission from GTech on this one, but for now it's just a trial.
Image

And finally - improved dial gauges. They now have a face color, a nicer needle, and an option to include a trim ring, which is not shown here.
Image

That's not all I got done this week, but it is about all that I could show in pictures.
m610
Super User
 
Posts: 27
Joined: Tue May 13, 2008 2:03 pm
Location: Davis, CA

Re: Update (56k!)

Postby m610 on Fri Jul 18, 2008 11:07 am

Update, I'm working day and night on this program. Last week I ran into a small but significant cosmetic problem that forced me to back up a bit and use another approach to creating the bitmaps that become the frames in the video, but that is now nearly done. With everything I learned in this process it made it easier to do some things that I had been trying to keep for future versions, but I couldn't resist doing it now. The traction circle below, for example, plus the ability to use more than one font size in titles.

Image
m610
Super User
 
Posts: 27
Joined: Tue May 13, 2008 2:03 pm
Location: Davis, CA

Re: Update (56k!)

Postby Rikker on Fri Aug 08, 2008 12:55 pm

I can't wait... literally! I have a bunch of videos stacked up that I want to use BS4TV on. Whenever the latest version gets out of the "unexpectedly explodes without warning" phase, or wherever it's at right now, please let me know and I'll shower you inbox with thanks and testing feedback. :D

See ya!
Rick

Image

NOTE: I am not a Tesla employee, just a fellow enthusiast. Don't take my word as G-Tech gospel!
Check out PASSedit, the G-Tech GTP file editor.
User avatar
Rikker
Super User
 
Posts: 47
Joined: Mon May 12, 2008 1:29 pm
Location: Wisconsin

Re: Update (56k!)

Postby m610 on Fri Aug 08, 2008 2:16 pm

I'll get you a more or less stable version soon. I've been cleaning up a lot and of course some new features were added. At this point I need to do a little work to get the road racing mode working again. I had added the scripting and other features while working in drag race mode and now I just have to tweak a few things to get rr-mode going again.

I really want to get the video recording feature working properly before I start sending this out, but if you have your own screen capture software you can use and it will work without dropping frames I think you'll find what I have now to be usable.

And naturally, I'd love to see the videos. Once you get them done could you upload them to StreetFire.Net?
m610
Super User
 
Posts: 27
Joined: Tue May 13, 2008 2:03 pm
Location: Davis, CA

Re: Update (56k!)

Postby Rikker on Sun Aug 10, 2008 8:28 pm

m610 wrote:I really want to get the video recording feature working properly before I start sending this out, but if you have your own screen capture software you can use and it will work without dropping frames I think you'll find what I have now to be usable.

Well, previously I was using a screen capturing program called GameCam (I think) to capture PASS's reply of the GRR file playback, and then using After Effects CS3 to crop and overlay the few meters (G-meters, friction circle, tachometer) on top of the in-car video. Since handling it through CS3 was very time-consuming I was really hoping to use your program instead, if it can skip some of the above steps.

m610 wrote:And naturally, I'd love to see the videos. Once you get them done could you upload them to StreetFire.Net?

Sure, although normally I upload to Google Video. You can see all of my videos, or just check out a 2007 Road America in-car video that has the by-hand overlay technique.

If the current version's RR features are not operational, what about the previous version? I've got several videos I'd like to get online that need the G-Tech data overlaid on them.

Thanks much!
Rick

Image

NOTE: I am not a Tesla employee, just a fellow enthusiast. Don't take my word as G-Tech gospel!
Check out PASSedit, the G-Tech GTP file editor.
User avatar
Rikker
Super User
 
Posts: 47
Joined: Mon May 12, 2008 1:29 pm
Location: Wisconsin

Re: Update (56k!)

Postby m610 on Mon Aug 11, 2008 9:03 am

I'll try to get something out to you by the end of the week. PM me your mailing address and I'll send you a CD-ROM.

Nice videos. Road America looks pretty technical with all those elevation changes at just the "right" places. It was also nice seeing the data in your video. It really does make them more than just video. You're pulling over 0.9 G's in some of those turns.
m610
Super User
 
Posts: 27
Joined: Tue May 13, 2008 2:03 pm
Location: Davis, CA

Re: Update (56k!)

Postby Micro on Fri Oct 24, 2008 2:06 pm

m610 wrote:I'll try to get something out to you by the end of the week. PM me your mailing address and I'll send you a CD-ROM.

Nice videos. Road America looks pretty technical with all those elevation changes at just the "right" places. It was also nice seeing the data in your video. It really does make them more than just video. You're pulling over 0.9 G's in some of those turns.


I would love to help you test and develop the software. I am not sure how to send you a private message on this forum to give you my address, but I will try.
Eric
Micro
 
Posts: 9
Joined: Sat Aug 02, 2008 3:11 pm

Re: Update (56k!)

Postby m610 on Fri Apr 02, 2010 8:49 pm

Streetfire must have changed servers or server addresses for the photos so none of them are showing up here anymore. I deleted all of my videos on StreetFire so they won't appear here anymore.

I am not uploading videos to Vimeo. The link to my Track Day videos is

Link: http://vimeo.com/channels/39543

Hmm, maybe I should create a BS4TV channel on Vimeo.

I won't bother to reconnect to the screen shots, but if you want to see what the program looks like just visit the BS4TV pages of my web site. There are a couple of sample videos there, too.

Link: http://www.kstreetstudio.com/software/bs4tv/index.html
m610
Super User
 
Posts: 27
Joined: Tue May 13, 2008 2:03 pm
Location: Davis, CA

Re: Update (56k!)

Postby jase on Wed Jul 28, 2010 12:45 pm

How do I get hold of the software mate? Looks cool :)
(cant find it on your site)





J
jase
 
Posts: 1
Joined: Wed Jul 28, 2010 12:44 pm


Return to BS4TV

Who is online

Users browsing this forum: No registered users and 1 guest