Services Quiz Gradebot Not Launching Services Client

Hello,

For the services quiz the grade bot is failing when checking the services client:

I’m successfully launching the server:

Then, I’m launching the client:

Everything appears to be working correctly.

Does anyone know how to resolve this issue? Thank you.

Hello,
be sure to quit all the processes before launch the correction.

Thanks, I confirmed no processes were running and even restarted the terminal. I unfortunately ran out of grade bot trials and everything appears to be the same except for the launch file:

Solution:

from launch import LaunchDescription
from launch_ros.actions import Node

def generate_launch_description():
return LaunchDescription([
Node(
package=‘services_quiz’,
executable=‘services_quiz_client’,
name=‘services_quiz_client_node’,
output=‘screen’),
])

vs My Launch File:

from launch import LaunchDescription
from launch_ros.actions import Node

def generate_launch_description():
return LaunchDescription([
Node(
package=‘services_quiz’,
executable=‘services_quiz_client’,
output=‘screen’
)
])

I ran out of grade bot trial runs, do you think this would be the reason for the failure?

Thanks for your help.

You service client is exiting too early. It should only exit after the expected movement is completed, not immediately it calls the service.

Unfortunately I see that you have checked the solution, so it is no longer possible to submit your code for grading.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.