# Publishing to move\_base from command line

**URL:** <https://get-help.theconstruct.ai/t/publishing-to-move-base-from-command-line/7925>\
**Category:** ROS Navigation In 5 Days\
**Created:** [January 29, 2021, 4:51am UTC](https://get-help.theconstruct.ai/t/publishing-to-move-base-from-command-line/7925 "2021-01-29T04:51:35Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![albertoezquerro](https://get-help.theconstruct.ai/user_avatar/get-help.theconstruct.ai/albertoezquerro/32/7031_2.png) [@albertoezquerro](https://get-help.theconstruct.ai/u/albertoezquerro)\
**Post date:** [February 1, 2021, 8:36am UTC](https://get-help.theconstruct.ai/t/publishing-to-move-base-from-command-line/7925/2 "2021-02-01T08:36:46Z")

</div>

Hello @adeoduye ,

The message has to be something like this:

```
rostopic pub /move_base/goal move_base_msgs/MoveBaseActionGoal "header:
  seq: 0
  stamp:
    secs: 0
    nsecs: 0
  frame_id: ''
goal_id:
  stamp:
    secs: 0
    nsecs: 0
  id: ''
goal:
  target_pose:
    header:
      seq: 0
      stamp:
        secs: 0
        nsecs: 0
      frame_id: 'map'
    pose:
      position:
        x: 1.0
        y: 2.5
        z: 0.0
      orientation:
        x: 0.0
        y: 0.0
        z: 0.75
        w: 0.66"

```

You don’t have to fill all the data in the **header** section, except for the **frame\_id** argument in the **goal** section.

Best,

---

_[View the full topic](https://get-help.theconstruct.ai/t/publishing-to-move-base-from-command-line/7925)._
