The First and third task seems to be utterly mailfunctioning when it comes to correction.
First of, in task 1 the values that are supposed to be checked, change constantly because of inaccurat representation. What I mean by that is that the long float values change everytime you look at them. You can assign the position at different times during the loop, and get different values. The only way to correctly look at it would then be checking value ± 5/10% or something like that.
So that one says I have given it the wrong position, which I know not to true (given ±5/10%).
For task3 I have no idea why it keeps failing. The method is there, and it works correctly. The positions are correct.
Right is assigned to
robotcontrol.get_laser(0), left is assigned to r
They are then returned:
return left, right
And called when needed:
left, right = self.get_laser_readings()
Somehow this is not good enough? Also, this test fails to call the main method, so the robot doesn’t even move.