Rostopic pub for actions

What is the correct structure to publish your goal using rostopic pub?
i mean for example: rostopic pub /name_of_action_server/goal …

Hi, although it’s not common, you can try with

rostopic pub [action_ns]/goal [action_type]ActionGoal [fill in fields here]

When you successfully compile you action msg you can press tab tab for auto completion of the [action_type]ActionGoal

1 Like