Check Position bugged
#4

Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
You're trying to make a float, work with integer in your format, so that will throw out incorrect results in the first instance.


You need %f when dealing with floats, not %i (Integer).
Ohhhhhh thanks!

Now i think i got the problem...
[22:06:17] Xtp[1978.745239], Ytp[-1761.960449], Ztp[13.546875]
[22:06:20] -> OnFoot position saved (1978.7452,-1761.9604,13.5469)

Is this because
Xtp is 1978.745239
When should be 1978.7452 ?

Limit it to take only max 4 numbers after .
Should be the fix or would cause another problems latter?
If it is the right way to fix, how to take only the 4 numbers after .?
Reply


Messages In This Thread
Check Position bugged - by binnyl - 24.06.2018, 09:08
Re: Check Position bugged - by binnyl - 24.06.2018, 19:43
Re: Check Position bugged - by Sew_Sumi - 24.06.2018, 22:46
Re: Check Position bugged - by binnyl - 25.06.2018, 01:14
Re: Check Position bugged - by Sew_Sumi - 25.06.2018, 01:18
Re: Check Position bugged - by binnyl - 25.06.2018, 04:09
Re: Check Position bugged - by Exhibit - 25.06.2018, 05:03
Re: Check Position bugged - by Sew_Sumi - 25.06.2018, 09:04
Re: Check Position bugged - by maikons - 25.06.2018, 14:29
Re: Check Position bugged - by Sew_Sumi - 25.06.2018, 14:32

Forum Jump:


Users browsing this thread: 1 Guest(s)