How to get type information about running action server? [closed]
Hi, I am new to ROS. I have finished tutorials and I understand how to create simple action server & client.
Next, I would like to know how to get type information about running action server. For example, if you want to send a new goal with an action client, you will write as follows.
client = actionlib.SimpleActionClient('move_base', MoveBaseAction)
goal = MoveBaseGoal()
...Set goal parameter
client.send_goal(goal)
To write this code, users have to know that "move_base" requires MoveBaseAction and MoveBaseGoal.
Of course, I can learn the dependency from Wiki page. But, are there any other smart way to get these dependency information from running action server?
Thanks a lot for your attention!