How to enable debug logging for the DWALocalPlanner and the SimpleScoredSamplingPlanner
I'm testing simple navigation for my robot using Gazebo and RViz. Each time I set a 2D nav goal in RViz I get a log indicating that the local planner failed to find a path. This continues for a bit until it enters the rotate recovery behaviour and then immediately it finds a plan that works. Now I'm trying to find out why it doesn't work before the rotation but does after the rotation.
However the log doesn't tell me very much, so I'm wanting to increase the logging verbosity for the planner only.
I've created a config file at /home/me/ros_ws/rosconsole.config
to change the logging verbosity, with the following contents
log4j.logger.ros=INFO
log4j.logger.ros.dwa_local_planner=DEBUG
However that doesn't seem to do the trick.
My question is how can I figure out what the correct packages and type names are for the DWALocalPlanner(this one: https://github.com/ros-planning/navig...), the SimpleScoredSamplingPlanner (this one: https://github.com/ros-planning/navig...) and the different cost functions so that I can see what they are actually doing. The documentation just says that you need the correct names but not how to figure out from the source code what those names are. And the documentation for the DWA local planner doesn't mention log levels / package names etc. either.
And yes I'm aware of the rqt_gui but that doesn't show me the names for the specific types either.