Jump to content
Want to report an issue? Have a bug to report? Please look here first!!!! Read more... ×

Archived

This topic is now archived and is closed to further replies.

F1 2017 D-Box and UDP Output Specification

Recommended Posts


Hoo said:
Hello All,
We have some updates coming in our future patch (provisionally version 1.8). This will have the following updates:

Thanks.
Will you also check/fix the m_team_info being 1, if era is 1980 and the event is time_trial?

Cheers

Share this post


Link to post
Share on other sites
@LonelyRacer - the game only uses team names for the licensed 2017 teams. The classics cars are referred to only by vehicle name, so we do not set the m_team_info flag for the classic cars.

Share this post


Link to post
Share on other sites
Hi, i'm joining this discussion for a simple question that i need for DIY. 

It's possible to retreive force feedback information or calculate/implement it from the telemetry?
If not, there is a way to retreive them with self developed controllers?

Another question: there is a way like udp telemetry to set something in game like fuel mix or next tyre type? 

Share this post


Link to post
Share on other sites
Hoo said:
@LonelyRacer - the game only uses team names for the licensed 2017 teams. The classics cars are referred to only by vehicle name, so we do not set the m_team_info flag for the classic cars.

Little bit of short thinking, I must say.
I have a DIY Dashboard with RPM-LEDs on top. To get the right LED Layout and scale for eacxh car, I made several profiles which are selected automatically. Works pretty well with the modern cars, but you screwd it with the classic ones. THX.


Share this post


Link to post
Share on other sites
I have a DIY Dashboard with RPM-LEDs on top. To get the right LED Layout and scale for eacxh car, I made several profiles which are selected automatically. Works pretty well with the modern cars, but you screwd it with the classic ones. THX.
Not sure if you realise, but there is a field in the telemetry called m_rev_lights_percent which is helpful for doing RPM shift lights regardless which era of car you are using.

Share this post


Link to post
Share on other sites
I have a DIY Dashboard with RPM-LEDs on top. To get the right LED Layout and scale for eacxh car, I made several profiles which are selected automatically. Works pretty well with the modern cars, but you screwd it with the classic ones. THX.
Not sure if you realise, but there is a field in the telemetry called m_rev_lights_percent which is helpful for doing RPM shift lights regardless which era of car you are using.

m_rev_lights_percent is exactly the same as 100/m_max_rpm*m_engineRate.

Take a look at this Excel-sheet: https://1drv.ms/x/s!AngnWwGMubK9oJ5gPOKgCfBBNqhVCQ 
It shows that different cars and engines have different rpms when the green, red or blue LEDs begin to shine. 
And the different cars have diffent LED "Layouts". Ferrari e. g. uses 2 green LEDs as DRS Display. Williams has the blue LEDs as block. The red LEDs step along the values. Red Bull has green, red and blue all as blocks. And so on, etc...
And I like my stuff and projects as precise as possible.

Share this post


Link to post
Share on other sites

Hi,

I am writing an app for a steering wheel display and I have encountered a few questions

1) is there a value for the diff settings, like m_front_brake_bias ?

2) how do i get the time difference to the car in front and behind the Players car ?

3) how do i get the actual Delta time from corrent time to best or last lap ?

4) is there a value for the fuel left (in laps) like displayed ingame ?


thanks

Share this post


Link to post
Share on other sites
mrdezibel said:

Hi,

I am writing an app for a steering wheel display and I have encountered a few questions

1) is there a value for the diff settings, like m_front_brake_bias ?

2) how do i get the time difference to the car in front and behind the Players car ?

3) how do i get the actual Delta time from corrent time to best or last lap ?

4) is there a value for the fuel left (in laps) like displayed ingame ?


thanks


1) No. Culd use this as well.
2) Calculate it :-)
3) Save the last lap, compare against best lap, calculate the Delta
4) No, you have to calculate it. 

Share this post


Link to post
Share on other sites
mrdezibel said:

Hi,

I am writing an app for a steering wheel display and I have encountered a few questions

1) is there a value for the diff settings, like m_front_brake_bias ?

2) how do i get the time difference to the car in front and behind the Players car ?

3) how do i get the actual Delta time from corrent time to best or last lap ?

4) is there a value for the fuel left (in laps) like displayed ingame ?


thanks


1) No. Culd use this as well.
2) Calculate it :-)
3) Save the last lap, compare against best lap, calculate the Delta
4) No, you have to calculate it. 

mhmm.. a pity :)

omg :-D

yes, i did so, tought there is a way to geht it from the game...

i compare the fuel in tank each time i cross the line and average it, but i do nit get the value the game Displays..

fuelusage = fuelold - m_fuel_in_tank

fuelold = m_fuel_in_tank

fuellaps = m_fuel_in_tank/fuelusage

any ideas to make it better ?


Share this post


Link to post
Share on other sites
Average of a whole lap?
I would use average per 100m travelled. Maybe average per 10m travelled. The higher the resolution, the more accurate. But you might take in account how accurate you can go before the calculations get to much time consuming.


Share this post


Link to post
Share on other sites

no, i averaged the consumption of all past laps

now i use only the last lap, works more accurate and i think the Resolution is high enough

i dont look every 100m how much fuel i have left :)

Share this post


Link to post
Share on other sites
@Hoo, FYI the hulks name is spelt wrong in the drivers list on the first page, it should be Nico Hulkenberg (berg) and not Nico Hulkenburg (burg).

Share this post


Link to post
Share on other sites
@Hoo, FYI the hulks name is spelt wrong in the drivers list on the first page, it should be Nico Hulkenberg (berg) and not Nico Hulkenburg (burg).
Fixed! Thanks.

Share this post


Link to post
Share on other sites
Hi, i'm wornking on this UDP telemetry stuff for a PS4 live streaming application.

At the moment i just want to understand if with the new patch (1.8) some of the listed 'problems' got fixed..
  1. Incorrect telemetry data in spectator mode
  2. UDP transmission stops when player press "option" (or equivalent)
  3. UDP transimission stops at the end of Q session when the player complete his session (even if other drivers still have to complete the session)

Sorry if this was asked and replied before (or if it is only my fault if i have this issues), i follow this thread but i don't manage to find an answer.  :/

In case i am simply doing something wrong, hope you can help me find a solution,
thanks o:)

Share this post


Link to post
Share on other sites
Some of the changes will require restructuring our UDP system which becomes a more complex task. We are hoping to overhaul this system next year to provide some of the requested functionality.

Share this post


Link to post
Share on other sites
Is this a complex way to say that we are not going to have usable UDP data in spectator mode?  :|

Share this post


Link to post
Share on other sites
Lopensky said:
Is this a complex way to say that we are not going to have usable UDP data in spectator mode?  :|
I know that Hoo's reply definitely applies to points 2 and 3 in your question, however i am unsure about the spectator mode thing.

Share this post


Link to post
Share on other sites
Lopensky said:
Is this a complex way to say that we are not going to have usable UDP data in spectator mode?  :|
I know that Hoo's reply definitely applies to points 2 and 3 in your question, however i am unsure about the spectator mode thing.
I was quite sure of that too, but the most important point - at least for me - is the first. Since they developed an in-game spectator "hud" showing drivers positions, timings and so on, i was hoping to see the same data coming out via UDP too.. :D

Mostly because UDP is enabled (packets arriving correctly) but seems to be victim of some kind of non-sense filtering by the game.

Share this post


Link to post
Share on other sites
All points relate to the same issue. We can't display UDP output when the player isn't driving in the race (i.e. when the motion information isn't active). This includes when pausing the game, entering the garage or spectating. 

Share this post


Link to post
Share on other sites
That's not completely correct since if you are in a MP session and you crash UDP data continues to flow correctly, even if spectating for the rest of the race. Same thing if you are in the box during the qualifying sessions.  :)

Differently from what is happening when you pause the game, in spectator mode the UDP stream is flowing, but alla data is fixed to 0 value. Even data in "m_car_data" which should always be streamed properly since not related to player specific data but session's one.

Very sad this could not be fixed at the moment. At least i hope that others reading this will be aware of the problem saving tons of hours of testing on this  ;)

Share this post


Link to post
Share on other sites
I ve got a question regarding the new UDP data for all vehicles.
How do you get the continous time distance between the drivers of the CarUDPData? By a SW timer or is it possible to calculate it by the raw data?

Share this post


Link to post
Share on other sites
I ve got a question regarding the new UDP data for all vehicles.
How do you get the continous time distance between the drivers of the CarUDPData? By a SW timer or is it possible to calculate it by the raw data?
You need to calculate it yourself

Share this post


Link to post
Share on other sites
I ve got a question regarding the new UDP data for all vehicles.
How do you get the continous time distance between the drivers of the CarUDPData? By a SW timer or is it possible to calculate it by the raw data?
You need to calculate it yourself

still no idea how to do this... :(

Share this post


Link to post
Share on other sites
mrdezibel said:

still no idea how to do this... :(
keep track of the times of all vehicles relative to how far they are through the lap at set intervals and then compare them between players to get the deltas

Share this post


Link to post
Share on other sites

×