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

deltaT initialization has huge impact on forward or reverse motion #409

Open
Ajay-2017 opened this issue May 3, 2023 · 0 comments
Open

Comments

@Ajay-2017
Copy link

In this function
TimedElasticBand::initTrajectoryToGoal(const PoseSE2& start, const PoseSE2& goal, double diststep, double max_vel_x, int min_samples, bool guess_backwards_motion)

It is written that,
TODO: timestep ~ max_vel_x_backwards for backwards motions
Could you please clarify this?

In my implementation of TEB, I observe that when deltaT is initialized with
std::max(dt_constant_motion, rot_dist / max_vel_theta);

TEB is preferring forward motion, and creating path by violating minTurning radius constraint for diff drive robot where as if I keep
dt_constant_motion = trans_dist / max_vel_x; ignoring angular velocity
it does backward motion and return valid path.

Why do we see this behavior? Any intuition?

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