You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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;
}
The text was updated successfully, but these errors were encountered:
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;
}
The text was updated successfully, but these errors were encountered: