Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup_ is never set in dwa_planner_ros.cpp #5

Closed
hershwg opened this issue Nov 12, 2012 · 0 comments
Closed

setup_ is never set in dwa_planner_ros.cpp #5

hershwg opened this issue Nov 12, 2012 · 0 comments

Comments

@hershwg
Copy link
Contributor

hershwg commented Nov 12, 2012

[Originally reported by kluessen on the kforge trac]

The setup_ variable is never initialized. This may prevent the planner from saving a default_config in the reconfigureCB() - line 55 dwa_local_planner_ros.cpp

I suggest initializing it with false in the constructor of the dwa_planner

--- a/dwa_local_planner/src/dwa_planner_ros.cpp Wed Jul 04 12:08:58 2012 +0200
+++ b/dwa_local_planner/src/dwa_planner_ros.cpp Fri Jul 13 13:37:30 2012 +0200
@@ -88,7 +88,8 @@
   }

   DWAPlannerROS::DWAPlannerROS() : initialized_(false),
-      odom_helper_("odom") {
+      odom_helper_("odom"),
+      setup_(false) {

   }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants