Open Source Motorsports

42 views

Formal Metadata

Title
Open Source Motorsports
Title of Series
Part Number
191
Number of Parts
193
Author
Little, Dan
Contributors
Little, Dan (dbSpatial LLC)
License
CC Attribution 3.0 Germany:
You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal purpose as long as the work is attributed to the author in the manner specified by the author or licensor.
DOI
Publisher
FOSS4G, Open Source Geospatial Foundation (OSGeo)
Release Date
2016
Language
English

Content Metadata

Subject Area
Abstract
No, it's not the Stig. It's the Stig's Open Source Cousin! Hear from an actual racing driver how open source software can be used to take an average driver and turn them into a hero. Open source software and hardware is used to run the fuel injection system (MegaSquirt), model aerodynamics (MatPlotLib, OpenFOAM), log g-forces in real-time (RaspberryPi, Arduino), and track the car's telemetry and performance over time (PostGIS, QGIS). This presentation covers the accessibility and use of technologies once thought only available to F1 and NASCAR teams! Links to project: Project has not yet been released. It will be by the time of the conference Dan "Ducky" Little (dbSpatial LLC)
Keywords
dbSpatial LLC
Loading...
Trail Email Digital electronics Open source State of matter Geometry Software developer Open source Design by contract System call Open set Word Process (computing) Algebra Internetworking Quicksort
Open source Multiplication sign Scientific modelling Electronic program guide 3 (number) Shape (magazine) Hand fan Revision control Mathematics Bit rate Software Energy level Circle Aerodynamics Subtraction Tunis Form (programming) Series (mathematics) Standard deviation Trail Geometry Software developer Reflection (mathematics) Feedback Coordinate system Weight Cartesian coordinate system Computer Measurement Power (physics) Maxima and minima Luftreibung Digital rights management Word Process (computing) Computer animation Software Network topology Circle Factory (trading post) Device driver Order (biology) Aerodynamics Right angle Iteration Quicksort Family Data type
Code Multiplication sign Scientific modelling 1 (number) Discrete group Bookmark (World Wide Web) Software bug Luftreibung Mathematics Linker (computing) Core dump Square number Encryption Aerodynamics Information security Curve Simulation Link (knot theory) Product (category theory) Arm Mapping Geometry GUI widget Open source Sound effect Control flow Computer Measurement Open set Digital rights management Arithmetic mean Computer simulation Exterior algebra Angle Order (biology) Website Quicksort Freeware Open source Similarity (geometry) Control flow Vortex Mass Open set Revision control Software Computer hardware Software testing Tunis Form (programming) World Wide Web Consortium Key (cryptography) Forcing (mathematics) Projective plane Length Line (geometry) Differentiable manifold Cartesian coordinate system Web browser Computer animation Software Doubling the cube Mathematics Computer hardware Factory (trading post) Device driver Pressure Units of measurement
Rapid Prototyping Implementation Open source Multiplication sign Motion capture Parameter (computer programming) Black box Mereology Open set Power (physics) Revision control Moore's law Goodness of fit Web service Term (mathematics) Computer hardware Green's function Units of measurement Physical system Standard deviation Process (computing) Demo (music) File format Projective plane Interactive television Parameter (computer programming) Open set Uniform resource locator Arithmetic mean Process (computing) Computer animation Software Computer hardware Computer science Right angle Units of measurement Prototype Physical system Force Computer-assisted translation
Mapping Process (computing) Mapping Computer file Code Computer file Login Computer Wave packet Web application Message passing Computer animation Software Kernel (computing) Software Computer hardware Artistic rendering Cuboid Modul <Datentyp> Quantum Cuboid Window
Point (geometry) Heegaard splitting Message passing Computer animation Mapping Demo (music) Personal digital assistant Multiplication sign Control flow Electronic visual display Mereology Physical system
Computer animation Open source Mountain pass Planning Number
Category of being Continuous track Computer animation Open source Mapping Open source Cuboid Ranking Abelian category Open set
NP-hard Email Computer program State of matter Multiplication sign Equaliser (mathematics) Computer-aided design 1 (number) Mereology Computer CAN bus Mathematics Moving average Position operator Physical system Area Spacetime Moment (mathematics) Open source Bit Computer Twitter Programmer (hardware) Network topology Data storage device output Right angle Figurate number Procedural programming Point (geometry) Trail Computer file Open source Connectivity (graph theory) Motion capture Control flow Protein Power (physics) Frequency Goodness of fit Computer hardware Energy level Quantum Conditional-access module Subtraction Hydraulic jump Form (programming) Standard deviation Key (cryptography) Forcing (mathematics) Projective plane Cartesian coordinate system Computer animation Software Device driver
Computer animation
the so welcome to possible you're 1 of our most unique tracks so before we had a is verified in tracking Garrett we only use and 1 day and little 0 Table 2 source which words we've been doing so good uh so welcome I know it's always tricky to make this Friday morning sessions after the gala so I'm excited to have people here on doubly excited because uh along with giving a talk about open source GIS circuit attack but the other thing that I do which is a motor sports so I'm not the state and you need to dress for the job you want the job you have uh and this is the breaking helmet you literally sitting there all day long so that's what I was doing well coding and I'm from the United States and from the great state of Minnesota which is in the north and I like to go racing typically uh on the internet and notice that you miss guy on the chair of the PSC there in 1 of the primary developers and I work in a company called the spatial with they've been were small contracting firms of any of this looks really interesting give me a call and e-mail and I have a terrible habit of doing irresponsible things with cars so that's a my rally car upside down in the middle of the woods at 2 in the morning the and so I mean to be a bit of
introduction to the different types of racing uh that we do how many you the pronoun we and because well I drive all of these cars there is a huge effort of friends and family to go out and do this every weekend which would important when start talking about things like downtime so again I'm an American you may have heard of nascar so this is a very very low level version of nascar that's wrong and on friday nights and they basically down the street from my house you go in a circle but then we also do endurance racing which here is similar to sort of um and the Lamont series where you wanna raised from 7 to 24 hours and you exchange drivers you have to do fuel stops and you need to do tire changes and optimizing all although those is very very important along with measuring the performance from lab so that you can measure things like fall off the tires the impact of going light from the fuel 1 of the things and finally this is the 1 income most passion about which is a rally uh and that's where you go off road my basic guide to rally is you there's a car here and you avoid the treats so if you know nothing else about rally it's you go into the woods with a car and try not to the trees um ends to be competitive you need to go faster so how do we go faster 1 of the ways we go faster is by improving the driver preparations we also need to make sure the cars ready to go and we always are looking at improving our execution n iterations so as applied software well luckily myself and then of few my friends to do this we also for developers so we have some models about how would you sprint to get stuff done in other words if you think about the driver as a user anything about the car as an application were substituting nouns but the models the same you want minimize your downtime because you users get better appear at your application and your application gets better the more users to use it in more feedback to get and so downtime downtime is horrible in erasing it means you're losing 1 want the fastest trace so what we have to help with the driver issues we have change management and we use various forms of software I personally use get to tractors that everything I didn't 1 including uh my own lap times and we use Redmine to define sprints and coordinate car repairs bills everything with Google Docs and this is gonna sound a lot like a standard software developments talk right but it's all lightweight tools all based and it lets everyone playing nicely as a coordinated you know we have busy jobs and families and everything else OK so software that was fun right suffered all that we'll do that and Butler said about improving the application PCA but the 3 main things that were using open-source tools to improve their dynamics and some engine tuning and suspension geometry so what is
aerodynamics matter and these are a collection of horrible cars from the nineties there were all ugly we hated when they came out every last 1 of them but what you'll notice is they all have the same awful shape right it's like the rate of could bonnet and windshield reflectors back neither from 3 the vastly different car companies and then they're all optimized using some of the early see if the models that we put through computers in order to make a car that worked but factory cars are awful so 1 of the 1st
open source projects we work with is uh not a lot of exposure in the open-source GIS community that's called open phone and is the falsity of the uh simulation software completely developed in the open the open governance and it's used and all the way from will be like us to simulate uh spoiler angles q F 1 team who simulate the whole them and in fact the manager of the Sabah of 1 team and I was quoted as saying there are other tools but the open source 1 is the best 1 that we found so we're still winning and this is an example of a of a spoiler pick up some a spoiler and drag simulation so you can see the wing in here uh there's coming off the roof and annotating going back here you can see where it creates a and all that kind of pressure vortex there and where there goes over it and that's how you get down force from week the so engine turning so you're
engine in any car that's gasoline-powered is dependent on 2 things gas and spark so just goes into the engine and then uh plug like and how the timing works that we call engine tuning well factory engine tuning is really really prohibited because the manufacturers don't want you changing the settings for various legal and uh mechanical reasons on an effective United States we have about the DMCA uh which prevents us from actually changing some core computers because Chrysler for example now and the out include the basic uh start up of their computers so when you go to turn Europe key in the ignition the key is actually literally an encryption keys you put your keys then it decodes the computer and then it starts the car William cars the factory car is not designed for performance the engines not tuned for performance you can get more horsepower out of it but you can't using their computer so there's actually an open source alternative called make us work and it's break I don't name the things I just use them so it is a completely standalone an engine management system there are commercial closed-source versions but that make its work is open source and and it has just about all the features you could want in order to tune engine and run a car by mean square is problematic so the software for it is published openly but it is not a copy left you cannot make derived works and sell them the sufferers only licensed to run unlicensed hardware and well the hardware III spec is all published year only allowed to produce it under license so this is 1 of those 1 way streets um people do you submit bug fixes for omega square and they do you create new features for it but it's really at the discretion of this chemical bogus off which runs and the makers for project about where gets to go up and there's some other efforts but they're all sort of lacking and free EMS and a mass were designed to be kind of an answer to make work but no one's using them other websites have broken links and the documentation is atrocious if this sounds like your 2nd favorite open source project do better because that young people ignore your open source project different actually doing these things alright more software so suspension geometry is incredibly important 1 of the things that we worry about most to make a car handle better this thing called Campbell you may have seen and so on cars modified by that have the wheels on like the sideways that's called having a lot of camera and in raising that can be incredibly useful but you have been very specific with how you want to so this is this is a map simulation and it is simulating that double arms suspension of racing car this is a similar suspension designers we would see an older fun cars and on some production cars like the Honda Civic and this is the current this is the trocar of forms the travel curve of the upper arm and then down here is that the calculated Kamba and this is a project that has started working on recently found because math was actually fairly complicated and and I'm mean open-source it as soon as I feel comfortable that the math is both entirely correct and the code is less less ugly but and you can see that the camera going negative on roles 1st an aggressive in a relatively smooth curve so if if you to drive this car Security when restricted to hit it handles pretty well but what he added 2 centimeters of links to the upper this is something that could happen either because of a manufacturing changes like built it and you measure wrong or someone adjusted incorrectly what would happen that this is really important when we talk about minimizing downtime in making changes that don't hurt the driver this is a pretty important so you can see the 2 curves but you see this Campbell curve here this red line is the most important and it's all entirely positive and it gets and less as you go on but you'd feel like this car was incredibly unstable but it would be trying to kill you every time you got close to the edge of the be trying to drive off of it and the really scary experience and that's just 2 centimeters that's 2 centimeters long to being able simulate these things before we actually execute them incentives and doing the racetrack allows us to save time and money and which is if you're reflecting back on our software on a model that's up time so we can maximize uptime by doing testing and simulations 1st um the other open questions that this made as as developing it is 1 of the original version they did I did indeed 3 and I should somebody they can erode off because it was aware that so 1 of the things that learned is that sometimes if it looks more complicated than it needs to be um people take it more seriously it looks more scientific so make applications in computer users it'll make them feel better about themselves so to
improve execution and this is clearly gone wrong I'm sure it's completely repairable but uh you generally want to figure out why the covers the flames who's driving it at the time and how you can improve so we want more data every time you want more data to speed how fast you going the g-forces how much can pool we've got on the continent interaction engine parameters and the locations all this weekend generally call telemetry and there's the lot of black box units out their use by high teams including F 1 nascar and that's a fairly high and unit that cost you many thousands of dollars plus it's completely closed source closed implementation close data formats and there's a company out the called capture pro to American company and then there's the project I just started using a bunch raspberry parts of which will get to talk about before so I actually can't say anything to batteries captopril these folks do a really good job on the hardware that a really good job on software design almost all of it is GPL all of the web services have rest and Python API is some but they do have close hardware so I was a little frustrated by that so I developed something I've called research and why because science right like if you're not doing something entertaining with science you need to find another body some I also was frustrated with the with the lack of open hardware In wanted something that from a GS background was GIS 1st also any time you have the opportunity for an excellent candidate that you take so what was the process will 1st started simple I think they're doing it was always a great place to start new trying to develop open hardware for any through data capture it's simple it's durable it's cheap and Sosa with and are doing you GPS chips accelerometer chips but as what you also find out whether to use if you have more than a couple of sensors it can get very complicated and you can run out of compute power very quickly and raspberry Pi is actually really overkill and as a kid who started experimenting with um have broken 46 is and can now carry around triple that power in his pocket after 35 dollars res replies using it as a network income and that the original
enclosure the use the rapid prototyping system all for my children but still the tricky part was actually not assembling the hardware and you can see the sense that here and it's also glowing red in front of you are combined with the standard of battery backpack and this Bluetooth GPS so I turned the GPS on this is the 1st like that folks so you know any time you have a live demo expects smoke there we go term great fantastic and green means it's good and it's it's logging this is probably the most boring datalog it's going to take and that is this Bluetooth GPS sensor to take speed and location and the nice part about using an external bluetooth GPS sensor is you actually have the ability to sort this out to anything we've got here you could swap out with a different version of the hardware uh to the tricky part
was actually again not the hardware but developing the software and so on and get help and I have all of the code that is used to generate the data you see here today and ended up with CSV file I CSP on I know there's a lot of love for on and even some low strange people of shapefiles but boy Canisius go anywhere and do anything that you wanted to and including taking that CSP floating in the process taking PostgreSQL some Python + map box GL so if I'm not training by using CSP and that we stranded by using that but she often next rendering and so once again we're entering the dangerous lived in the territory but see we actually maximize this window so this is the web app side of it so we're going to do is experienced some of my European vacation right now 1 and load up the data capture it took at the San Bernardino past and if you ever heard
of the salmon pass is a very very famous mountain
pass and that will make you wish you had better breaks the tires and in my case car because driving a progestational again at the time
and and but the sometimes a little slower but we'll get the data appear 0 this point the keep double-clicking keep cooking so the speed of map but she on display right now so the best part about the symbiont Bernardino pass is that it's basically cement spaghetti this little like this so these are all points that have been captured by the system indices the and up now what's interesting about mapping this and you will see this 1 I show the next uh the demo is that uh you know that certain skills things look nicer lined up that others they don't but we also have the ability to some Split a the greatest interview
1 the cook since then if I
take an arbitrary lap like number
fine and to map what's but we can actually see the whole
race and we can go up by level out and analyzed was faster where and when and occasionally even how and by determining who is breaking later taking corner faster and it is after 2 hours erasing redone 29 laps is the 3rd largest racetrack in the world and um we reset for 8 hours a day and that is really interesting to get all the data from that the but this all complete this is all this again this is not quite clear enough for me to justify putting open source but the plan is to get there um and have the the hope
is to to keep going to to keep furthering that it's all based on open source for open OpenStack
right to the inevitable other category as it is on the map it's using OpenStreetMap at
using the MAP box API right now but you can see over here that the using of the F 1 was actually using the OpenStreetMap but the weather data and and a bunch of
others but we using state because in equal logos and skates really good it's sending SVG files to people cut vinyls and cool stuff for your for your car or and I believe in Linux in all of the things and that a lot of people were confused as I did really enjoy that that confusion as wide open their editing economy GIS would look at doing things like WG support but for someone who occasionally needs to send parts to had been laser cut DWG is kicking completely invaluable and I was I was DD about it so uh it anymore like edges 1 at a time to talk about how much open source stuff we did to throw out a race car and try and use so that you're amongst come see and if you have any questions about this or the other GIS software and how we use it for a single moment in the city excellent uptake standard congratulations for a 2 successful I don't think anyone thought so ready for questions any 8 0 which a
a c look like what all you 0 right now it's storing and the latitude longitude speed three-axis g-forces and and and we've also experimented with capturing engine temperatures and fuel level from different sensors gossip the other questions the I'm wondering if DGPs appreciation is enough of for Europe congregation of the so and program accuracy precision and repeatability right on and 1 of the things that I found is uniform not accurate the procedures the precision is there and it seems consistent so we may not be able to determine what side of the racetrack somebody is on with good reliability but we certainly can't figure out the relative you with within good what position on the racetrack so we we can and with another area data reliably compute things like work good breaking point is and where and what the speed should be through particular parts of the track OK and this should work at every speed here you're not going to foster tested accurately up to 200 kilometers an hour keys had so if you require a lot of data and how does it actually had you together and to get better at driving faster to 0 but we're a little bit lucky particularly with endurance team in that 1 of our drivers is very very well trained very fast so 1 of the things that we've been doing is taking the data and comparing it to his so that's the rabbit that we trees and we look at what he's doing in labs which is what we're doing a pair of think about like reproacher change itself so in breaking points so you mentioned breaking point is so due to have some kind of ones on the rise to open break now or something like that so that that's um that's certainly been tried and part that the hardware and using may actually have enough frequency and precision to make that happen but most of the other applications that have done that use the phone which only has a camp phones only have the 1 of the GPS chip in them and they can't quite do it but I haven't applied it to what we're doing quite a any other questions is over there and that that you started using the other we know because it was so you took the keyword durable we have defined the rest are applied in that sense is the right 1 yes I haven't read 20 and I think it's because of my really good you know enclosure system that we built their own but uh I actually we've we've John data captures at 2 rallies which is about the most force you can ask to put it on a piece of electronics because were literally taking it off of jumps in the middle of the woods you have a really hard breaking points that you won't necessarily CNO track and occasionally you hit a tree which starts a very very quickly and and under all of those situations the Raspberry Pi has performed flawlessly and in fact uh when I was doing some research about the durability and if you dig deep enough in some other forms people um have found you know that the price to be a pretty good size don't have too much protein the ports ports are the greatest place of faxing and the G forces of them and um this sense hat which I'm using uh has basically all surface-mounted components which adds to the durability size keep them clean uh but basically the sense have is a part of the African project where mean that they're putting res reprise in the space of cans differ can survive that I was as pretty comfortable arm the but my experience has been where do we know that it is simple it is cheap and it is durable but you do run out of the different you run a power is run out of the ability to capture all the inputs might want fantastic they see little time we have so of what is going on
Loading...
Feedback

Timings

  584 ms - page object

Version

AV-Portal 3.9.2 (c7d7a940c57b22d0bc6d7f70d6f13fde2ef2d4b8)