Jump to content Jump to content

F1 2017 D-Box and UDP Output Specification


Hoo

Recommended Posts

  • Codemasters Staff
@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.
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? 
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.


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.
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.
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

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. 
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 ?


Link to post
Share on other sites
  • Codemasters Staff
@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.
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:)
Link to post
Share on other sites
  • Codemasters Staff
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.
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.
Link to post
Share on other sites
  • Codemasters Staff
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. 
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  ;)
Link to post
Share on other sites

Archived

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

×
×
  • Create New...