Could you please post a picture of your error message that the Gradebot / Autograder generated?
That would be an easy way to find a solution to your problem.
...
âś” [info] Checking that the robot performs the expected turn... (mark: 7.0)
âś– [assess] The robot did NOT fully perform the expected turn. Things your can check:
- Did the robot turn as indicated in the notebook?
- Did the robot complete the turn within the stipulated time? (mark: 7.0)
The two checks for validating the “turn” seems straightforward.
I believe you have done it and verified it by testing your code (as posted on your earlier / initial post).
At this point, I have no suggestions for a solution and you must check with The Construct team to provide you a solution.
Looking at the logs, the problem is with the final orientation of the robot when it finishes the rotation. The final expected orientation is more or less 90 degrees to the right (as shown in the GIF of the resulting motion). Does your robot end in a similar orientation? Could you check the orientation quaternion of the robot when your motion finishes (you can check it on the /odom topic)?
thanks.
I did miss the point that the turn messages should allow the angular speed equals zero.
But when moving 10 second with the speed 0.2 the rotation is not 90 degrees.
Yes, after the 10 seconds pass, the robot has to stop. Then, the final orientation of the robot is evaluated. If this orientation is close to 90 degrees (it allows an error threshold), the Quiz should pass. Let me know if it doesn’t.