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: yoshiri <yoshiyoshidetteiu@gmail.com>
  • Loading branch information
takayuki5168 authored and YoshiRi committed Jan 11, 2023
1 parent ddac449 commit 4b85e41
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 4b85e41

Please sign in to comment.