I hope this was not discussed allready (haven't seen any post on the subject).
To me in this patch the AI behave much better (in the PRO setting) than in lets say patch S or T. They don't run into tirewalls here and there anymore, they seem to respect me a bit more than before and all of that without having them "learn" the tracks before.
Any opinions on this ? Has Scawen changed the code ? If so, what has been changed?
Finally I've reused RayOK's VB code and I did the supplementarry coding in VB 6 in order to interface to my DIY motion platform (simulating lateral and longitudinal acceleration). It works like a charm now! LFS feels so good now !
I have the same "problem". I need the accelaration vertors in the car coordinate system and not in the world system. Did you (or anybody else...) manage to produce the transformation formulas necessary from world to car oriented coordinates systems?
OK I've coded the little program with input from "angry angel" and it perfectly works (with some minor adaptations)!
Now the next challenge. I need to extract from all this outsim packet data the g-forces (acceleration) in lateral, longitudinal and vertical directions.
In the outsim data there is the velocity and acceleration in x, y and z directions (I suppose that there is an area around the tracks with x, y coordinates in the flat plane and a z factor for vertical movement) and a so called velocity 1, 2 and 3 (I don't know to what that corresponds) and alos there is heading (which I suppose is deduced from the velocity x and y data ?).
All in all I would need some mathematical know how (formulas with a lot of sinus, cosinus, tan, atan, ...) to transform all this data.
Would anybody dispose of such formulas to deduce the lateral, longitudinal (wrt to the body of the car) and vertical (allthough here I suppose I can directly use the z components from outsim ?) acceleration data.
Thanks for your patience Victor! I suppose I am not the only one asking this kind of questions over time!
Would it be possible for you to tell me where to find a little example of a Visual C++ V6.0 application (source code) which reads and interprets this data send by LFS? I then would adapt this programm for my needs....
I am looking for the source code of a program in visual c++ V6.0 which is capable of extracting from LFS, in real time at aroud 20 times per second, the acceleration in x, y and z direction (longitudinal, lateral and vertical).
I would update this source code in order to convert these acceleration data and sent them via RS232 (I have the according serial library as I am allready doing this in rFactor) to my home made motion platform (2 DOF) which works really well with rFactor and which I now would like to use with LFS!.
I suppose that such program would need to connect to LFS via a UDP(?) port and read/decode the UDP data (messages). For that it probably would need to be linked to a library...
Does anybody know if such program and libraries is available and if yes, where I can get it ? It would be nice if it would be prepacaged in a Microsoft visual c++ V6.0 workspace (I know... I am dreaming... lol)
Sorry if I seem a bit lazy here. But I am a LFS "beginner"... I believe that I'll need outsim (is this a library? a program ?) I would really like to go staight to the essentials and not program such program myselves.
I've got my little motion platform up and running.... Need to feed it now with data from my favorate sims....
Could anyone please indicate where I can find Microsoft Visual C++ (V6)source code for a little program capable of reading and decoding the LFS UDP packets ?
Can this programm be run on the same computer that is hosting LFS ? I really hope so....