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

Don't append the global plan #83

Open
rokusottervanger opened this issue Feb 22, 2022 · 0 comments
Open

Don't append the global plan #83

rokusottervanger opened this issue Feb 22, 2022 · 0 comments

Comments

@rokusottervanger
Copy link
Contributor

We append the global plan with the carrot distance here:

if (!config_.track_base_link) {
// Add carrot length to plan using goal pose (we assume the last pose contains correct angle)
tf2::Transform carrotTF(
tf2::Matrix3x3(1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0),
tf2::Vector3(config_.l, 0.0, 0.0));
global_plan_tf_.push_back(global_plan_tf_.back() * carrotTF);
}

But there are a few problems with this:

  • this distance may change at runtime (dynamic reconfigure), and this is not reflected in the global plan,
  • the last pose may not be in the direction of the end of the plan, making the direction in which we append the plan rather arbitrary,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant