In Task 4 of the final exam, are we expected to create both a service server and an action server in the main program, or is it sufficient to just call the server? I implemented a call to the server, but the gradebot prompted me with the question: “Did you start the service in the main program?” This has left me somewhat confused about the requirement. Does anyone know the exactly requirement?
If you were told to create a service server and an action server, then your logic and/or launch file should start both of them.
You cannot call a service or action server without starting it first (because it must be running before you can call it).
Thank you, but I still have a question regarding T3. It asks me to create an Action Server that, when called, starts recording the drone’s position every second for 20 seconds. However, the Specifications mention that the result will be provided after 60 seconds, so I set my server to send the result after 60 seconds.
Despite this, the gradebot returns an error:
- /rec_pose_as action not executed correctly
- Is your Action Server providing the list of Pose data after 20 seconds?
- The custom action message should be named RecordPose.action
- Start the server, manually call the action, and check the output. (mark: 7.0)
Which guideline should I follow? And which type should I use to provide the list?
Please follow the gradebot. Use a normal Python list - a list of Pose data.
I apologize for that inconsistency. We’ll review it ASAP.
Thanks also for reporting it.
This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.