Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How can I use just the local planner?

Hi,

is it possible to just use the local planner?
Tried it in my own move_base class like that

costmap_2d::Costmap2DROS costmap("my_costmap", tf);

I also made config files for local and global costmap, and turned static_map to false.
But my code always says waiting for map ...

My goal is just to detect obstacles in front of the robot.

Greets
Max

How can I use just the local planner?

Hi,

is it possible to just use the local planner?
My goal is just to detect obstacles in front of the robot and do some exploration.

Tried it in my own move_base class like that

costmap_2d::Costmap2DROS costmap("my_costmap", tf);

I also made config files for local and global costmap, and turned static_map to false.
But my code always says waiting for map ...

My goal is just to detect Edit: Now I also use gmapping to produce a map:

rosrun gmapping slam_gmapping scan:=base_scan

So my code runs and I only get a warning:

You have set map parameters, but also requested to use the static map. Your parameters will be overwritten by those given by the map server

I now also have a message "nav_msgs/OccupancyGrid".
So am I right that I can use this message and look for obstacles in front of the robot. the grid?
Or is there a better solution?

To just use the navigation stack is not an option for me ;)

Greets
Max