-
Notifications
You must be signed in to change notification settings - Fork 156
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
How to plan in map
and control in odom
#156
Comments
Same as #113. We need to think this carefully. |
Not a final solution, but I think it makes sense: I made a branch removing the last three parameters and taking them from the costmap: https://github.com/magazino/move_base_flex/tree/less_params @Rayman, could you give it a try and provide any feedback? |
On that branch, move_base_flex crashes immediately. I could not find out why. The initialization sequence looks good to me Tested on kinetic
Backtrace:
So |
🙈 ouch,,,, looks like C++ always calls the parent constructor first, regardles of the order in initialization list. I tried to fix it with boost::base_from_member but didn't manage. |
@Rayman What you should do is to transform the pose from it's frame which should be (usually) "map" into "odom" in the controller plugin using tf. In general one has the transformation tree like this: |
A use case would be a controller that accepts Let's say the |
In fact, this is possible in the master version by: global_frame: map
map_frame: odom It looks a bit strange, but it works. |
Also in relation with #113. For me, a frame for the planner and a frame for the controller would be sufficient. |
that means that your controller operates in a local costmap with reference To my understanding, |
Hi, thanks for this awesome package.
I want to run the planner in map frame a controller in odom frame. These are the available parameters I've found that influences this:
I'm not sure how to configure the parameters that I've marked with
???
.The parameter
map_frame
(defaultmap
) is used in both the planner and controller executing. It determines in which frame to look up the robot position. I want to set it toodom
ONLY for the controllers, so that therobot_pose
I get in thecomputeVelocityCmd
callback is in theodom
frame. How can I do this?The text was updated successfully, but these errors were encountered: