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.

D-Box and UDP Telemetry Information

Recommended Posts

vinceps34 said:
Hello !
I'm currently in the process of developping a generic codemaster UDP plugin for XSim, Focused on PS4. The good news is that F12016 supports UDP. I made a capture and what is strange is that the UDP payload is 280 bytes. Anyone has a clue on the extra bytes from the spec above ?
I made a UDP record playback tool in python, with some samples from different gmes, including F1 2016. here: https://github.com/vthinsel/Python_UDP_Receiver (it also includes a proxy to replicate UDP streams)
Edit: I'm trying to consolidate UDP specs for various games here: https://docs.google.com/spreadsheets/d/1UTgeE7vbnGIzDz-URRk2eBIPc_LR1vWcZklp7xD9N0Y/edit?usp=sharing 


Hi, are you sure about values for DiRT Rally, specifically the Length of  Track in Total? Anyway, nice list and thanks for sharing. 

Share this post


Link to post
Share on other sites
No, I havent checked the track length, but it should be pretty easy using the captures on github. Right now, I'm trying to get yaw/pitch/roll heave/sway/surge from existing values.

Share this post


Link to post
Share on other sites
Dirt track length seems to be accurate. I cant check anymore, as I do not have the PC version anymore. However, in my capture I have a value of 
6456,36 througout the UDP stream. Maybe it matches one of the track ? I'll check when codemasters enables UDP in DirtRallye.....

Share this post


Link to post
Share on other sites
Hmm It's interesting because im ending at the offset 148, no data further after that in received packets on PC version of DR :(

I suppose DR's UDP system is a bit more out-dated.


EDIT:
I've figured this out thanks to this link: http://www.eksimracing.com/cmps/
I've changed the extradata field in hardware_settings to 3 and the are far more packets sent :)

 The overall distance is correct for Sweet Lamb and Col de Turini so we can assume that works. Unfortunately current track number seems to be unusable in DR cause it always stays on 0.0; 

Share this post


Link to post
Share on other sites
Hoo said:

If anyone who uses this data wants anything added to it, or thinks of ways we could generally improve this system then please let us know. We can't guarantee that we'd be able to make every change requested, but we'll certain try to improve things wherever we can.

Hi @Hoo
Yes:
float m_xv; // Velocity in car space
float m_yv; // Velocity in car space
float m_zv; // Velocity in car space
and
float m_gforce_vertical (as actually already available with extradata=0)
would be nice indeed (then I don't have to calculate these values for motion simulation (see https://www.xsimulator.net/community/)

Share this post


Link to post
Share on other sites
I'm the creator of the iOS app Race Dash for PCARS and am just in the process of creating a similar dash app for F1 2016.
Race Dash for F1 2016 is now live in the App Store for iPhone and iPad to pick up the UDP stream from F1 2016. More info here if interested: http://www.sllim-code.com/race-dash-for-2016-game/

David

Share this post


Link to post
Share on other sites
@Lozzy @Hoo - can we have the UDP bugs fixed please? A community is popping up around UDP alone so having this improved would be much appreciated!

Share this post


Link to post
Share on other sites

@Lozzy @Hoo - can we have the UDP bugs fixed please? A community is popping up around UDP alone so having this improved would be much appreciated!
Agreed, definitely a few little gremlins to iron out which would be helpful.

Thanks

Share this post


Link to post
Share on other sites
Any word from the Dev and getting the IP and UDP settings to stay static and not having to enter them each time you play the game?

Share this post


Link to post
Share on other sites
transfix said:
Any word from the Dev and getting the IP and UDP settings to stay static and not having to enter them each time you play the game?
@Lozzy @Hoo bit of polish to the game would be nice guys!

Share this post


Link to post
Share on other sites
Here are my apps for live telemetry viewing and analyzing for Android 

https://play.google.com/store/apps/details?id=com.gokgoz.HUDOne2016  

Analyzer here; https://play.google.com/store/apps/details?id=com.gokgoz.HudOneAnalyzer

Share this post


Link to post
Share on other sites
transfix said:
Any word from the Dev and getting the IP and UDP settings to stay static and not having to enter them each time you play the game?
@Lozzy @Hoo bit of polish to the game would be nice guys!

Some of these bugs do seem a little bit frustrating. We have them on our list, although I don't yet know when we will be able to fix them. 

Share this post


Link to post
Share on other sites
Hello !
Good to hear they are captured, hoping they will be prioritized smartly.
Enjoy you XMas break and coe back full of energy !
(I also hope UDP will come to DiRT soon...... can we expect updates on DiRT, or is it "closed" ? ) 

Share this post


Link to post
Share on other sites
Hoo said:
transfix said:
Any word from the Dev and getting the IP and UDP settings to stay static and not having to enter them each time you play the game?
@Lozzy @Hoo bit of polish to the game would be nice guys!

Some of these bugs do seem a little bit frustrating. We have them on our list, although I don't yet know when we will be able to fix them. 

Thanks @Hoo !!

Share this post


Link to post
Share on other sites
vinceps34 said:
Hello !
Good to hear they are captured, hoping they will be prioritized smartly.
Enjoy you XMas break and coe back full of energy !
(I also hope UDP will come to DiRT soon...... can we expect updates on DiRT, or is it "closed" ? ) 

With the tire degredation bug still unpatched, and some other hickups, I hope the XMas holidays are over on 27th, December 2016!!!! 
Disapointed @Hoo @Lozzy @jennyannem

Share this post


Link to post
Share on other sites
@Hoo Great to hear - Thanks!                                           

Share this post


Link to post
Share on other sites
Hello guys, do you have an idea where I should get the roll and pitch from the telemetry data? thanks!

Share this post


Link to post
Share on other sites
Can anybody tell me if you can have like tire temp and brake temp in de rs dash app i realy miss it 
Brake temps are shown in RS Dash however tire temps are not provided by the telemetry output in F1 2016 so they are not available.

Share this post


Link to post
Share on other sites
onaromv said:
Hello guys, do you have an idea where I should get the roll and pitch from the telemetry data? thanks!
https://docs.google.com/spreadsheets/d/1eA518KHFowYw7tSMa-NxIFYpiWe5JXgVVQ_IMs7BVW0/edit?usp=sharing

float m_xr; // World space right direction11Roll Vector X
float m_yr; // World space right direction12Roll Vector Y
float m_zr; // World space right direction13Roll Vector Z
float m_xd; // World space forward direction14Pitch Vector X
float m_yd; // World space forward direction15Pitch Vector Y
float m_zd; // World space forward direction16Pitch Vector Z

Share this post


Link to post
Share on other sites
Can anybody tell me if you can have like tire temp and brake temp in de rs dash app i realy miss it 
Brake temps are shown in RS Dash however tire temps are not provided by the telemetry output in F1 2016 so they are not available.
It would be a good update if the app force to not lock the terminal during all seasion, despite of the fact that you are waiting in the lobby or so on...

Share this post


Link to post
Share on other sites

×