I have checked your code.
On the last line of your service client code, you have:
rospy.spin()
This causes the service client to run forever, after finishing the calls. I commented this line out and was able to complete the submission for you. You may try submitting it again to verify.
Read about rospy.spin() here: What is rospy.spin(), ros::spin(), ros::spinOnce(), and what are they for?
Cheers,
PS:
- Actually that step where it’s getting stucks takes some time, because that’s where the robot is performing the squares, so give it some time (go grab a coffee
). - Ensure nothing is running in the shell before starting the autocorrection.