Failing becauase of square, get highest, get laser


I think something is wrong with the grader.

My code works but there is ambiguity in the directions.

For example, there are many laser angles where the distance is “inf” so I return the first position.

get_laser_readings() works as well:

def get_laser_readings(self):

    r = self.robotcontrol.get_laser(???)  #### I put the correct value for righ

    l = self.robotcontrol.get_laser(???)

    return r,l

I don’t know why that is failing. I tested everything and it works.


2 posts were merged into an existing topic: Exam correction fail & quiz solutions page not found