Hey everybody,
I am working with some progs where, for safety reasons, I want to compare wether the actual position is the same with a certain global point.
For this, I made a function with a switch where I have smth like this:
...
wait for $pos_act.x==xdrop.x
....
same for, y, z, a, etc
The problem is when the robot stops in that precise point, it seems he is not doing so with complete accuracy, meaning the far away figures after the comma differ a bit, meaning the equality conditions are not met
Is there a way that I could compare only the integer part of the position?
Thanks