move_base action topics exist but client stuck on waitForServer
When I run rostopic list
, I see the following (among others)
/move_base/cancel
/move_base/current_goal
/move_base/feedback
/move_base/goal
/move_base/result
/move_base/status
/move_base_simple/goal
However, my action client is still permanently stuck waiting for /move_base
typedef actionlib::SimpleActionClient<move_base_msgs::MoveBaseAction> MoveBaseClient;
MoveBaseClient move_base_client("/move_base", true);
while(!move_base_client.waitForServer(ros::Duration(5.0)))
{
ROS_INFO("Waiting for the move_base action server to come up");
}
Everything is running on the same PC.
What am I doing wrong??
Are you providing odom topic? If I remember correctly it waits for odom to appear.
can you please update your question with the full output of
rostopic list
. Also what is the name of the node where you are creating the action client?@pavel92 thx for the response, but I believe I've found the root cause of the problem.