Pinned Locked [PC] Motion Rig Guide - Telemetry Ouput0 Likes/1 Replies/20 ViewsUbisoft Support Staff Original poster Ubi-Keo 1515 posts
Activating Telemetry Output
In ‘my Documents\The Crew’ folder, create a file ExtraConfig.xml.
In this file add those lines
[B]phys_out_sim address: port [/B]
Send UDP telemetry packet to address: port.
To control the send rate
1 = send 1 time every 1 physics frame
2 = send 1 time every 2 physics frame
Physics engine is refreshed at 300hz. So phys_out_sim_rate 3, will send UDP packet at 100hz.
Will add extra lean in the pitch values when nitro is used
UDP Packet structure
Accelerations and Velocities are in [B]*car coordinate*[/B]
Positions and Orientations are in [B]*world coordinate*[/B]
Coordinate are right handed, Z is vertical, Y is pointing front, and so X is pointing right.
[*]time : is incremented every paquet sent - [U]no dimension[/U]
[*]angularVelocity : angular velocity ( pitch, roll, yaw ) - [U]Rad/s[/U]
[*]orientation : euler angles ( Yaw, Pitch Roll ) in radians. - [U]Rad[/U] [I]"Note that it’s not same order than angular velocity, because orientation is in World Coordinate !"[/I]
[*]velocity : linear velocity ( lateral,longitudinal,vertical ) - [U]m/s[/U]
[*]acceleration : linear acceleration ( lateral,longitudinal,vertical ) - [U]m/s²[/U]
[*]position : position in world ( x,y,z ) - [U]m*65536[/U]
[*]gameID : 1 - [U]no dimension[/U]
Position is not precise and should not be used, but for reference this is world position in meter * 65536.
As the world in the crew is very huge, 125x85 Km ( 125000x85000 m ), the position are between (819187500x5570560000) which is way out of bound of U32 integer.