Skip to content

Commit

Permalink
chore(motion_velocity_smoother): add debug print for non-supported fu…
Browse files Browse the repository at this point in the history
…nction (autowarefoundation#2298)

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
Signed-off-by: kminoda <koji.minoda@tier4.jp>
  • Loading branch information
takayuki5168 authored and kminoda committed Jan 6, 2023
1 parent 4d394b6 commit 1c43e40
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,13 @@ void MotionVelocitySmootherNode::calcExternalVelocityLimit()
// TODO(mkuri) If v0 < external_velocity_limit_ptr_->max_velocity <
// max_velocity_with_deceleration_ meets, stronger jerk than expected may be applied to
// external velocity limit.
if (v0 < external_velocity_limit_ptr_->max_velocity) {
RCLCPP_WARN(
get_logger(),
"Stronger jerk than expected may be applied to external velocity limit in this "
"condition.");
}

double stop_dist = 0.0;
std::map<double, double> jerk_profile;
if (!trajectory_utils::calcStopDistWithJerkConstraints(
Expand Down

0 comments on commit 1c43e40

Please sign in to comment.