What is the action server in the Husky Maze challenge looking for (a certain number of positions, the entire Odometry data set, etc.)? It is the only error I have on the exam for the course and I cannot figure out what is wrong with the action server result.
Welcome to the Community!
To help you better and faster, could you please provide more details? About the error you mentioned and the specific exam you are talking about.
Hi! This is regarding the ROS Basics in 5 days Husky Exam.
Here is a screen shot of the auto-grader output:
The action server is fully operational but my guess is I am not delivering the exact message type the grader is expecting. My action server currently returns OdomData.pose.pose.position but I am wondering if it requires a different data type to be returned?
Your are right, your action server should return a message type of
YourActionResult, not a
Position or any other message.
If you follow the example given in the notebook, your server code should end with something like:
self._as.set_succeeded(self._result) # the `self` variable here may not be necessary if you are not using a class as was done in the example # `_as` is your action server variable # `_result` is your action's Result message.
And this should return the right kind of message for you.