Skip to content

Commit

Permalink
feat(motion_utils): add threshold (autowarefoundation#1839)
Browse files Browse the repository at this point in the history
* feat(motion_utils): add threshold

Signed-off-by: yutaka <purewater0901@gmail.com>

* change to constants.hpp

Signed-off-by: yutaka <purewater0901@gmail.com>

* delete environment

Signed-off-by: yutaka <purewater0901@gmail.com>

Signed-off-by: yutaka <purewater0901@gmail.com>
  • Loading branch information
purewater0901 authored and boyali committed Oct 19, 2022
1 parent 95ea637 commit af2ba95
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
23 changes: 23 additions & 0 deletions common/motion_utils/include/motion_utils/constants.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// Copyright 2022 TIER IV, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef MOTION_UTILS__CONSTANTS_HPP_
#define MOTION_UTILS__CONSTANTS_HPP_

namespace motion_utils
{
constexpr double overlap_threshold = 0.1;
} // namespace motion_utils

#endif // MOTION_UTILS__CONSTANTS_HPP_
1 change: 1 addition & 0 deletions common/motion_utils/include/motion_utils/motion_utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#ifndef MOTION_UTILS__MOTION_UTILS_HPP_
#define MOTION_UTILS__MOTION_UTILS_HPP_

#include "motion_utils/constants.hpp"
#include "motion_utils/marker/marker_helper.hpp"
#include "motion_utils/resample/resample.hpp"
#include "motion_utils/trajectory/interpolation.hpp"
Expand Down

0 comments on commit af2ba95

Please sign in to comment.