When submitting, I can’t figure out what’s. wrong here. Maybe someone can let me know because the gradebot isn’t making sense to me because the possible error that it states should’nt have been an issue.
[20:37:31] [assess] Could not launch services_quiz service client successfully. Can you believe that? - i launched it on the terminal properly
The launch command exited earlier than expected. What could be wrong? - this I’m unsure about because my client stops once. the request. is sent
Does your service client node exit in 10 seconds or less? Did it complete the expected movement? - no, it used to but now doesn’t
Did you name the launch file correctly? It should be services_quiz_client.launch.py - yes i did
Are you also calling the service from the services_quiz_server.launch.py file? Please don’t. -no i’m not
Start the service server and then run ros2 launch services_quiz services_quiz_client.launch.py and fix any errors that appears. (mark: 6.0) - no errors
I see that your service client only stops after it gets a successful response from the service servers. In that case, the problem might be in your service server - it should only return success when the service is complete, not immediately.
I fixed it by using time.sleep instead of timer_callback function, is there a way to implement it using callback. I see that the solution uses time.sleep as well.