The online racing simulator
Searching in All forums
(4 results)
cmenge
S2 licensed
I will try......I dissapointed at the documents for LFS. There is nothing indicating axis and rotation properties for the simulation.
OutSim Axis Direction
cmenge
S2 licensed
Hey Guys,

I need to know which direction each axis is, X, Y, Z, Vertical, Horizontal, Longditudinal?

I'm using the MotionPacket->Accel[3] array and want to calculate G-Force in the UP and down directions (vertical).

I need the vertical acceleration, which index of the array is that, 0, 1 or 2?

Thanks!
cmenge
S2 licensed
From the doc's

----------------------------------------------
Live For Speed Communication UDP Information
----------------------------------------------
Motion Simulator Support : (OutSim)
--------------------------
The user's car in multiplayer or the viewed car in single player or
single player replay can output information to a motion system while
viewed from an internal view.

This is controlled by four lines in the cfg.txt file :


OutSim Mode 0 :0-off 1-driving 2-driving+replay
OutSim Delay 1 :minimum delay between packets (100ths of a sec)
OutSim IP 0.0.0.0 :IP address to send the UDP packet
OutSim Port 0 :IP port
OutSim ID 0 :if not zero, adds an identifier to the packet

Each update sends the following UDP packet :

unsigned int :time in milliseconds (to check order)
Angular Velocity :3 floats
Orientation :3 floats Heading, Pitch, Roll
Acceleration :3 floats X, Y, Z
Velocity :3 floats X, Y, Z
Position :3 ints X, Y, Z (metres x 65536)
Game ID :1 int (optional ID - if specified in cfg.txt)
Motion Data with External View
cmenge
S2 licensed
Hey Guys,

Whats the chance of getting motion telemetry from OutSim when the external view is active?

Thanks!


Christian
FGED GREDG RDFGDR GSFDG