actionlib client, How to get goal ID?
Hi all,
I have simple action client and server. What I want to do is to get goal ID in action client.
When I send a goal to action server, it generates a goal ID and publishes all status and feedback messages with this unique goal ID. How can I get this corresponding goal ID in action client?
I want to track status of goals from /action_server/status
topic, not from ActionClient's getState()
method. So to be able to find my goal from status list array in /status
topic, I need to know the generated goal ID.
Any idea?
You want to look from "outside" into the client<->server connection? So both client and server are not written by you?
Not exactly. Client is written by me, however I want to track the status of the goal from /status topic. Not using GoalHandle. So I need goal ID in client side.