teasit / magic-formula-tyre-tool Goto Github PK
View Code? Open in Web Editor NEWMATLAB GUI for Magic Formula Tyre Modeling
License: GNU General Public License v3.0
MATLAB GUI for Magic Formula Tyre Modeling
License: GNU General Public License v3.0
Description
Hello, I'm a Student and member of a FSAE Team in Brazil, and I'm really thankful for the type of content you are developing and sharing with the student community! I'm really new to the Tire Modelling scenario and you helped me make a lot of concepts a lot more clear!
Well, I tried to implement your software but right from the start I get stuck on an error message... When I try importing my data (even the example data that comes with the download of this tool), I get this message: "Undefined funcion 'findpeaks' for input arguments of type 'double'."
Reproduce
Steps to reproduce the behavior:
Expected behavior
The expected behavior was being able to continue the step by step you described on the post...
Screenshots
Screenshot of the error message:
Version of MATLAB
Do you have any clue on how can I fix this issue?
Once again, thanks for the help anyways!!
Hi! My name is Caio and I'm part of a Formula Sae team, here in Brazil and first congratulations for the project and for also making it available for other people to access. A question I had was the following, which curves are really necessary to validate the "fit", my fit was good for FX vs LongSlip, FY vs SlipAngle, FY vs LongSlip. However, the FX vs Slip Angle curve never intersect! Is there any reason for this? Or does this curve not matter to validate the "fit"? The curve I'm referring to is the one below.
Hello,
I'm trying to do an aligning moment graph/moment fit mode with cornering data, but when I run the fitter I get this error:
Fitting Mx...
Error using magicformula.v61.Fitter/run
Fitter failed to solve fit-mode "Mx".
Error in MagicFormulaTyreTool/onStartFittingRequested (line 451)
fitter.run()
Error in MagicFormulaTyreTool>@(varargin)app.onStartFittingRequested(varargin{:}) (line 786)
'FitterStartRequestedFcn', @app.onStartFittingRequested, ...
Caused by:
Error using
magicformula.v61.Fitter/verifyHasMandatoryParameters
Parameter 'UNLOADED_RADIUS' is required to fit 'Mx'.
Error using ui.TyreModelPanel/onFitterStartRequested
Error while evaluating TyreModelPanel FitterStartRequestedFcn.
From my TTC data file, unloaded radius is RUN and when I tried looking for 'UNLOADED_RADIUS' in the fitter I was not able to find it. I was wondering if there was any way to go about this. Thank you.
Hey Tom,
I was trying to use the fitter of your Magic Formula Tyre Tool but unfortunately there is a problem with the downsampling. Once i click "Start Fitter" Matlab gives out an error message which says: "Error using downsample, Expected X to be nonempty" I tried it with different FSAE TTC Raw data but the error keeps showing up. So in order to reproduce the error you just have to import Cornering and DriveBrake data of your tyre and start the fitter. I also tried to change the downsampling from 1 to 5 and so on but this did not fix the problem.
I just started learning about Tyre modelling and your tool helps me a lot to understand the tyre characteristics and how to work with the FSAE TTC Data.
So any help to fix this problem would be much appreciated.
Here is also a screenshot of the error message:
Btw I am using Matlab 2022b
I'm trying to use the Magic Formula Tyre Tool to analyze FSAE TTC data, but I'm having issue when loading importing the data. Which I cannot find the parser to import data. Can you please suggest where I can find the parser to use?
Hey, It's me again (Sorry), I downloaded the newest version of the program, ran the program and it ran just fine, I managed to get values and applied them as intended. However when I try to see the values found in the graph, nothing happens. I notice that I can only fit the data with FY0. It doesn't let me with FX0. Any of the Mz0, MX, MY gives an error to which I attached screenshots below. I'm using Run Data 19 from round 8, but tried Run Data 17-23 and got the same error. Is there a way to get the file to be use the FX0 fit mode, like the tutorial video? Thanks for taking the time, this program is really good and got a lot of potential.
Description
When I upload a Matlab file from TTC Round 8, No data channel is created for FX and No data available for steady state settings and I can't run the program. I'm not sure if I'm doing something wrong but I looked at everywhere all the resources but can't find the solution. I've seen the error with steady state settings be answer but I believe this issue is different. I get no FNOMIN when uploading the files.
Also in the tutorials it shows a parser for both cornering and breaking, for my program it only has one parser with the name ' FSAETTC_SI_ISO_Mat'
When I open the program, this error shows up:
Error using matlab.ui.control.internal.model.AbstractNumericComponent/set.Value
'Value' cannot be [] when 'AllowEmpty' is 'off'.
Unable to execute 'update' method.
Reproduce
Steps to reproduce the behavior:
Version of MATLAB
Hey tom,
Thanks for sharing this Magic Formula Tyre Tool, but I'm having a little problem with it now. After I imported the Run FSAE TTC Data from Round 9, the STEADY-STATE SETTINGS part of the Tire Analysis interface is unchanged, and there is no corresponding data in the drop down menu of all options. How can this be resolved please? Or is it a problem with the TTC data I imported?(I am using Matlab 2023b)
Here's a screenshot:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.