Welcome to discussions

Quick Suggestions

  • Ubi-Keo
    Ubisoft Support Staff Original poster 1515 posts

    Activating Telemetry Output

    In ‘my Documents\The Crew’ folder, create a file ExtraConfig.xml.

    In this file add those lines

    <ExtraConfig
            phys_out_sim="127.0.0.1:1337"
            phys_out_sim_rate="3"
            phys_out_nitro_lean="0.5"
    />

    [B]phys_out_sim address: port [/B] 

    Send UDP telemetry packet to address: port.

    [B]phys_out_sim_rate X[/B]

    To control the send rate

    1 = send 1 time every 1 physics frame
    2 = send 1 time every 2 physics frame
    Etc..

    Physics engine is refreshed at 300hz. So phys_out_sim_rate 3, will send UDP packet at 100hz.

    [B]phys_out_nitro_lean[/B]
    Will add extra lean in the pitch values when nitro is used

    UDP Packet structure

    struct SUDPPacket
    {
        uInt32 time;
        float angularVelocity[3];
        float orientation[3];
        float acceleration[3];
        float velocity[3];
        uInt32 position[3];
        uInt32 gameID;
    };

    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.

    [LIST]
    [*]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]
    [/LIST]

    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.

    Official Response
  • Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.

    Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.

    Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.

Suggested Topics

Community Details

66
Online
196.1k
Users
33.2k
Topics
165.9k
Posts