Page 1 of 1

Problem with UDP data (distFromStart)

PostPosted: Mon Jan 05, 2015 5:27 pm
by Paco1979
Hi, we are using the XMR Ultimate version 1.48 x64 UDP control feature. I noticed that the distFromStart is not working properly...

First this is my understanding of what distFromStart is: it measures in meters the distance along the track from the vehicle to the start line. When the vehicle crosses the start line it goes back to 0 and starts counting up again.

This is what is happening:
It looks like when then vehicle is close to the Start line it does not go to 0, it outputs negative numbers but then there is a big portion close to the beginning of the start line in the track that the distFromStart oscillates till it reaches a point where starts working again incising normally.

Here is a small portion of the UDP msg I received closed to the start line:

(angle 0.0658891872)(curLapTime 208.3850)(damage 1.0000)(distFromStart -0.8593)(distRaced 5262.9888)...
(angle 0.0660898462)(curLapTime 208.4850)(damage 1.0000)(distFromStart -0.4690)(distRaced 5263.3784)...
(angle 0.0662304908)(curLapTime 208.5600)(damage 1.0000)(distFromStart -0.1807)(distRaced 5263.6670)...
(angle 0.0664067715)(curLapTime 208.6600)(damage 1.0000)(distFromStart 0.1961)(distRaced 5264.0439)...
(angle 0.0666058809)(curLapTime 208.7600)(damage 1.0000)(distFromStart 0.5644)(distRaced 5264.4121)....
(angle 0.0667391941)(curLapTime 208.8340)(damage 1.0000)(distFromStart 0.8354)(distRaced 5264.6831)....
(angle 0.0669141337)(curLapTime 208.9340)(damage 1.0000)(distFromStart 1.1911)(distRaced 5265.0391)...
(angle 0.0670494959)(curLapTime 209.0080)(damage 1.0000)(distFromStart 1.4535)(distRaced 5265.3013)...
(angle 0.0672475994)(curLapTime 209.1080)(damage 1.0000)(distFromStart 1.7968)(distRaced 5265.6440)...
(angle 0.0674636811)(curLapTime 209.2070)(damage 1.0000)(distFromStart 2.1326)(distRaced 5265.9800)...
(angle 0.0676746666)(curLapTime 209.3060)(damage 1.0000)(distFromStart 2.4620)(distRaced 5266.3091)...
(angle 0.0677935556)(curLapTime 209.3800)(damage 1.0000)(distFromStart 2.7022)(distRaced 5266.5488)....
(angle 0.0681726113)(curLapTime 209.5780)(damage 1.0000)(distFromStart 3.3147)(distRaced 5267.1602)...
(angle 0.0684746876)(curLapTime 209.7500)(damage 1.0000)(distFromStart 3.8161)(distRaced 5267.6606)...
(angle 0.0687667653)(curLapTime 209.9210)(damage 1.0000)(distFromStart -0.5515)(distRaced 5268.1270)...
(angle 0.0689114779)(curLapTime 210.0190)(damage 1.0000)(distFromStart -0.2980)(distRaced 5268.3799)...
(angle 0.0690645278)(curLapTime 210.1170)(damage 1.0000)(distFromStart -0.0543)(distRaced 5268.6230)...

Re: Problem with UDP data (distFromStart)

PostPosted: Mon Jan 05, 2015 6:01 pm
by Eugene Cojocar
Paco1979 wrote:Hi, we are using the XMR Ultimate version 1.48 x64 UDP control feature. I noticed that the distFromStart is not working properly...

First this is my understanding of what distFromStart is: it measures in meters the distance along the track from the vehicle to the start line. When the vehicle crosses the start line it goes back to 0 and starts counting up again.

This is what is happening:
It looks like when then vehicle is close to the Start line it does not go to 0, it outputs negative numbers but then there is a big portion close to the beginning of the start line in the track that the distFromStart oscillates till it reaches a point where starts working again incising normally.

Here is a small portion of the UDP msg I received closed to the start line:

(angle 0.0658891872)(curLapTime 208.3850)(damage 1.0000)(distFromStart -0.8593)(distRaced 5262.9888)...
(angle 0.0660898462)(curLapTime 208.4850)(damage 1.0000)(distFromStart -0.4690)(distRaced 5263.3784)...
(angle 0.0662304908)(curLapTime 208.5600)(damage 1.0000)(distFromStart -0.1807)(distRaced 5263.6670)...
(angle 0.0664067715)(curLapTime 208.6600)(damage 1.0000)(distFromStart 0.1961)(distRaced 5264.0439)...
(angle 0.0666058809)(curLapTime 208.7600)(damage 1.0000)(distFromStart 0.5644)(distRaced 5264.4121)....
(angle 0.0667391941)(curLapTime 208.8340)(damage 1.0000)(distFromStart 0.8354)(distRaced 5264.6831)....
(angle 0.0669141337)(curLapTime 208.9340)(damage 1.0000)(distFromStart 1.1911)(distRaced 5265.0391)...
(angle 0.0670494959)(curLapTime 209.0080)(damage 1.0000)(distFromStart 1.4535)(distRaced 5265.3013)...
(angle 0.0672475994)(curLapTime 209.1080)(damage 1.0000)(distFromStart 1.7968)(distRaced 5265.6440)...
(angle 0.0674636811)(curLapTime 209.2070)(damage 1.0000)(distFromStart 2.1326)(distRaced 5265.9800)...
(angle 0.0676746666)(curLapTime 209.3060)(damage 1.0000)(distFromStart 2.4620)(distRaced 5266.3091)...
(angle 0.0677935556)(curLapTime 209.3800)(damage 1.0000)(distFromStart 2.7022)(distRaced 5266.5488)....
(angle 0.0681726113)(curLapTime 209.5780)(damage 1.0000)(distFromStart 3.3147)(distRaced 5267.1602)...
(angle 0.0684746876)(curLapTime 209.7500)(damage 1.0000)(distFromStart 3.8161)(distRaced 5267.6606)...
(angle 0.0687667653)(curLapTime 209.9210)(damage 1.0000)(distFromStart -0.5515)(distRaced 5268.1270)...
(angle 0.0689114779)(curLapTime 210.0190)(damage 1.0000)(distFromStart -0.2980)(distRaced 5268.3799)...
(angle 0.0690645278)(curLapTime 210.1170)(damage 1.0000)(distFromStart -0.0543)(distRaced 5268.6230)...


I will check it tomorrow. Thanks for the info.

Re: Problem with UDP data (distFromStart)

PostPosted: Tue Jan 06, 2015 10:30 am
by Paco1979
Thanks Eugene let me know if you need more traces or any more info.

Re: Problem with UDP data (distFromStart)

PostPosted: Tue Jan 06, 2015 2:18 pm
by Eugene Cojocar
The issue is fixed. New update will be available in 2-3 hours.

Re: Problem with UDP data (distFromStart)

PostPosted: Tue Jan 06, 2015 2:35 pm
by Paco1979
:shock: WOAW! Thanks!! you guys Rock!!

Re: Problem with UDP data (distFromStart)

PostPosted: Tue Jan 06, 2015 7:33 pm
by Eugene Cojocar
Please update XMR via Update Master. It must work now.