Ask Your Question

current goal not being published [closed]

asked 2013-10-20 03:53:24 -0600

rnunziata gravatar image

updated 2013-10-23 03:55:04 -0600

Update: It was my understanding from watching a youtube vid that the current goal topic caused an arrow to appear near the robot and this was different then the simple goal. This does not appear to be the case. Further the neither goal is published more then once so the arrows are lost fairly easily. The current goal is published buy only once.

Update: I noticed that when I change the arrow to axis for move_base/simple_goal it changes the arrow in the map but when I change the arrow to axis for move_base/current_goal it changes the SAME arrow to axis as if it is treating the simple goal as the current goal. Also the goal arrow does not toggle when the check box is toggled it just disappears.

Update: I noticed that rviz current goal panel says the move_base/current_goal topic is OK. But when I do a echo on it it say not published.

For some reason the move_base/current_goal is not being published. The current DWA path is all over the place but the total path and global path are fine as can be seen from the screen image. I also save an image for /move_base/TrajectoryPlannerROS/cost_cloud which shows the that the robot is unable to determine its positon. Where is the problem? Why is the current path published but not the current goal. The global goal is the yellow arrow.

Move base status shows that it has accepted and is following the goal. But there is no status list.

  seq: 95
    secs: 24
    nsecs: 923000000
  frame_id: ''
        secs: 16
        nsecs: 608000000
      id: /move_base-1-16.608000000
    status: 1
    text: This goal has been accepted by the simple action server

viki@viki:~$ rostopic echo /move_base/current_goal
WARNING: no messages received and simulated time is active.
Is /clock being published?

image description

image description

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by rnunziata
close date 2013-10-25 05:40:45


How you set the global goal in the global cost map? Is it a simple (x,y) co-ordinate?

RB gravatar imageRB ( 2013-10-20 08:04:09 -0600 )edit

I used the setGoal on the rviz main menu.

rnunziata gravatar imagernunziata ( 2013-10-20 09:17:57 -0600 )edit

Have your robot take the goal position co-ordinate dynamically and move to that place immediately? By the way how you paste the images?

RB gravatar imageRB ( 2013-10-31 05:12:32 -0600 )edit

There is an icon at the top edit panel looks like a box. Will pop up dialog to select picture.

rnunziata gravatar imagernunziata ( 2013-10-31 05:18:26 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-10-25 05:40:27 -0600

rnunziata gravatar image

This was due to a coding error.

edit flag offensive delete link more

Question Tools



Asked: 2013-10-20 03:53:24 -0600

Seen: 333 times

Last updated: Oct 25 '13