Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: kosuke55 <[email protected]>
  • Loading branch information
kosuke55 committed Dec 6, 2024
1 parent ab50169 commit ea6ac19
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ bool checkOccupancyGridCollision(
bool isStopped(
std::deque<nav_msgs::msg::Odometry::ConstSharedPtr> & odometry_buffer,
const nav_msgs::msg::Odometry::ConstSharedPtr self_odometry, const double duration_lower,
const double velocity_uppper)
const double velocity_upper)
{
odometry_buffer.push_back(self_odometry);
// Delete old data in buffer_stuck_
Expand All @@ -260,7 +260,7 @@ bool isStopped(
bool is_stopped = true;
for (const auto & odometry : odometry_buffer) {
const double ego_vel = utils::l2Norm(odometry->twist.twist.linear);
if (ego_vel > velocity_uppper) {
if (ego_vel > velocity_upper) {
is_stopped = false;
break;
}
Expand Down

0 comments on commit ea6ac19

Please sign in to comment.