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

Limitation #21

Open
HandsomeDragon3 opened this issue Jun 29, 2020 · 1 comment
Open

Limitation #21

HandsomeDragon3 opened this issue Jun 29, 2020 · 1 comment

Comments

@HandsomeDragon3
Copy link

I find that there is no limitation to my curvature, making useless of Maxcurvature in Hyperparams.
Then I focus on the function : is_valid_path. Is the code following here no problem?
###########################################################
if (any_of(s_d.begin(), s_d.end(),
[this](int i){return abs(i) > fot_hp->max_speed;})) {
return false;
}
// max accel check
else if (any_of(s_dd.begin(), s_dd.end(),
[this](int i){return abs(i) > fot_hp->max_accel;})) {
return false;
}
// max curvature check
else if (any_of(c.begin(), c.end(),
[this](int i){return abs(i) > fot_hp->max_curvature;})) {
return false;
}

@HandsomeDragon3
Copy link
Author

[this](int i) may be: [this](float i)

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