Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello Linux users!,
My name is Carlos, and I have been a Linux user since Kubuntu 7.04, I started working on a Car Performance Simulator (not like TORCS, more like CarTest for DOS) for a PhD several years ago.
This simulator can give you very close to reality performance figures for your car, for any car in the world, that exist or will exist in near future, since you give all needed car specifications as parameters to the sim.
This simulator was written by me with GCC under my linux machine, and recently a Silverlight application port (NxGTR Sim) has been done, but as a Linux user I notice two things:
1) Moonlight is not ready for Silverlight 4, so, web application does not work under Linux, at least not with my linux environment
2) There is no a tool like this for Linux (as far as I know)
I could update that GCC code, fix some bugs and release it for Free at my webpage for all Linux users that cant use the Silverlight app, however, I dont even know if there is people interested in a comand line tool like that.
Here is a pic of Silverlight version working:
If you like cars and are a bit interested please reply, and I will look for a way to bring this to Linux.
I started working on a Car Performance Simulator (not like TORCS, more like CarTest for DOS) for a PhD several years ago.
no idea what Cartest for DOS does, but...
Quote:
Originally Posted by nxgtrsim
This simulator can give you very close to reality performance figures for your car, for any car in the world, that exist or will exist in near future, since you give all needed car specifications as parameters to the sim.
Hmm, but one of the issues is always accuracy. Or, more exactly that you don't know whether the simulator is accurate in the conditions that you are using.
Quote:
Originally Posted by nxgtrsim
This simulator was written by me with GCC under my linux machine, and recently a Silverlight application port (NxGTR Sim) has been done, but as a Linux user I notice two things:
1) Moonlight is not ready for Silverlight 4, so, web application does not work under Linux, at least not with my linux environment
2) There is no a tool like this for Linux (as far as I know)
I could update that GCC code, fix some bugs and release it for Free at my webpage for all Linux users that cant use the Silverlight app, however, I dont even know if there is people interested in a comand line tool like that.
But, I'd be a lot more interested if it didn't involve Moonlight/Silverlight. I suppose its not as bad as running Windows, but I couldn't really describe it as an advantage.
CarTest describes itself as "CarTest is an automobile maximum acceleration computer simulation. The user enters the specifications for an automobile and CarTest will mathematically accelerate the car from a standing or rolling start until maximum speed is reached. The simulation is time-based and event-driven. That is, the acceleration times are not explicitly calculated but, rather, time progresses at small increments and the usual events that take place during acceleration: clutch dump, wheelspin, shifting, etc. happen in proper course. The acceleration times are arbitrary milestones that are reached during the car's response to these events."
Quote:
Originally Posted by salasi
Hmm, but one of the issues is always accuracy. Or, more exactly that you don't know whether the simulator is accurate in the conditions that you are using.
A bit Yes and No (IMHO), perfection doesn't exist, even in real life you can not do 2 exact times two times, but the sim I am working on use environment conditions to help math real life (ex: altitude over sea, air humidity, barometric pressure, temperature)
And lots more like:
engine readline
power at crank or at wheels?
hp @ rpm
torque @ rpm
gear ratios up tu 8 (for GCC version, up tu 14 for SL version)
Final Drive Ratio #1
Final Drive Ratio #2 (for supercars that switch for Super high top speed)
torqueloss % for drivetrain
clutch slip factor
weight overall
weight distribution
gravity center
wheelbase
drag Coff
frontal area
traction tire Diameter
non traction tire diameter
intertia for tire traction
intertia for non traction tire
rolling factor
static factor
environment temperature
Barometric Pressure environment
car Roll Out
Launch at what RPM?
Manually shift points or computer calculated for efficiency
time to engage new gear?
FWD? RWD? or AWD?
car height
car width
tire width
tire profile
rim size
engine type (NA?, Forced?)
boost starts at? (for Forced)
and lots more are computer calculated, because are so hard to setup even for some advanced users)
and more to keep posting here.
Quote:
Originally Posted by salasi
But, I'd be a lot more interested if it didn't involve Moonlight/Silverlight. I suppose its not as bad as running Windows, but I couldn't really describe it as an advantage.
Yes, I understand that, thats why I started everything at my linux box with GCC, right now, I can do something like this to show results.
{...}This simulator can give you very close to reality performance figures for your car, for any car in the world, that exist or will exist in near future{...}
Sorry you can't be serious about every car that exists unless the result will be average not precise. Take for example Live For Speed team(not one person but team!) - they have difficulties even finishing proper tyre physics not to mention it took ages to do stuff for each car. Speaking of LFS - you should try speak to them and maybe make Linux version or port for that game. Sure you can make some game that works but if you call it simulator it needs close to 1:1 to reality. If you are alone and without resources + explore fieldwork and paperwork regarding math and physics + know computer programming language it is not really possible to complete.
if you call it simulator it needs close to 1:1 to reality. If you are alone and without resources + explore fieldwork and paperwork regarding math and physics + know computer programming language it is not really possible to complete.
Maybe simulator was the wrong call? I dont know how else to call it, CarTest calls itself a "simulator" and has been arround 17 years now, the code I have been working its 8 years mature by now, and does what CarTest or more.
I know computer programming, actually, the question is not if I could make this kind of software, its actually done already and working with a +90% match to real life (error is caused for not precise parameters too, not just math).
The real question was if it was really worthy to create a Linux version of the Silverlight Win/Mac version that is working right now at web.
The real question was if it was really worthy to create a Linux version of the Silverlight Win/Mac version that is working right now at web.
If there is demand for an application like yours in the Windows world I would assume that there is also demand in the Linux world, and if there currently no such application for Linux we can only benefit from a port.
Which framework you use for your application is absolutely up to you, IMHO, but if you use a framework like moonlight (the open source version of Silverlight) it may be that some people don't want to use it because it is a rebuilt of a proprietary framework.
Somewhat the same as the Mono/dotNet thing.
if you use a framework like moonlight (the open source version of Silverlight) it may be that some people don't want to use it because it is a rebuilt of a proprietary framework.
Somewhat the same as the Mono/dotNet thing.
Yes I agree 100%, thats why I was wondering sharing the GCC command line edition, before even Silverlight exist I started all this at my linux machine with GCC and command line only.
I was thinking on fixing that version, get it up to date features, and release it, but thats tons of work and wanted to know if was worthy or maybe it was too few demand in Linux compared to Win+Mac users which are already covered.
{...}The real question was if it was really worthy to create a Linux version of the Silverlight Win/Mac version that is working right now at web.
Linux version? Definetly! Version that requires Silverlight as rule + waste of real time in years as you mentioned? No! Unless you get paid enough.. Do you have working version that runs without Silverlight or other addon?
Do you have working version that runs without Silverlight or other addon?
Yes, the GCC command line one.
However it's a bit outdated (1 year behind SL version) and maybe I am the only one that can use it because bad usability, but that both problems could be fixed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.