Skip to content

Commit

Permalink
Merge branch 'main' into refactor/blockage
Browse files Browse the repository at this point in the history
  • Loading branch information
badai-nguyen authored Feb 27, 2024
2 parents 44f9324 + 754742e commit 8ae646b
Show file tree
Hide file tree
Showing 1,567 changed files with 55,217 additions and 31,201 deletions.
2 changes: 1 addition & 1 deletion .cspell-partial.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"perception/bytetrack/lib/**"
],
"ignoreRegExpList": [],
"words": ["dltype", "tvmgen", "quantizer", "imageio", "mimsave"]
"words": ["dltype", "tvmgen"]
}
162 changes: 82 additions & 80 deletions .github/CODEOWNERS

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions .github/workflows/build-and-test-differential.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ jobs:
with:
fetch-depth: 0

- name: Check disk space before build
run: df -h

- name: Remove exec_depend
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@v1

Expand Down Expand Up @@ -69,6 +72,9 @@ jobs:
verbose: true
flags: differential

- name: Check disk space after build
run: df -h

clang-tidy-differential:
runs-on: [self-hosted, linux, X64]
container: ghcr.io/autowarefoundation/autoware-universe:humble-latest-cuda
Expand Down
10 changes: 1 addition & 9 deletions .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
build-and-test:
if: ${{ github.event_name != 'push' || github.ref_name == github.event.repository.default_branch }}
runs-on: ubuntu-latest
runs-on: [self-hosted, linux, X64]
container: ${{ matrix.container }}${{ matrix.container-suffix }}
strategy:
fail-fast: false
Expand All @@ -27,14 +27,6 @@ jobs:
- name: Check out repository
uses: actions/checkout@v3

- name: Free disk space (Ubuntu)
uses: jlumbroso/free-disk-space@v1.2.0
with:
tool-cache: false
dotnet: false
swap-storage: false
large-packages: false

- name: Remove exec_depend
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@v1

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/json-schema-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
paths:
- "**/schema/*.schema.json"
- "**/config/*.param.yaml"
workflow_dispatch:

jobs:
json-schema-check:
Expand Down
16 changes: 0 additions & 16 deletions .github/workflows/spell-check-differential.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions common/autoware_ad_api_specs/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
<version>0.0.0</version>
<description>The autoware_ad_api_specs package</description>
<maintainer email="isamu.takagi@tier4.jp">Takagi, Isamu</maintainer>
<maintainer email="makoto.yabuta@tier4.jp">yabuta</maintainer>
<maintainer email="kahhooi.tan@tier4.jp">Kah Hooi Tan</maintainer>
<maintainer email="ryohsuke.mitsudome@tier4.jp">Ryohsuke Mitsudome</maintainer>
<license>Apache License 2.0</license>

Expand Down
4 changes: 2 additions & 2 deletions common/autoware_auto_common/design/comparisons.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ The `exclusive_or` function will test whether two values cast to different boole
## Example Usage

```c++
#include "common/bool_comparisons.hpp"
#include "common/float_comparisons.hpp"
#include "autoware_auto_common/common/bool_comparisons.hpp"
#include "autoware_auto_common/common/float_comparisons.hpp"

#include <iostream>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
//
// Developed by Apex.AI, Inc.

#include <common/types.hpp>
#include <common/visibility_control.hpp>
#include "autoware_auto_common/common/types.hpp"
#include "autoware_auto_common/common/visibility_control.hpp"

#include <cstdint>
#include <tuple>
#include <type_traits>

#ifndef COMMON__TYPE_TRAITS_HPP_
#define COMMON__TYPE_TRAITS_HPP_
#ifndef AUTOWARE_AUTO_COMMON__COMMON__TYPE_TRAITS_HPP_
#define AUTOWARE_AUTO_COMMON__COMMON__TYPE_TRAITS_HPP_

namespace autoware
{
Expand Down Expand Up @@ -219,4 +219,4 @@ struct intersect
} // namespace common
} // namespace autoware

#endif // COMMON__TYPE_TRAITS_HPP_
#endif // AUTOWARE_AUTO_COMMON__COMMON__TYPE_TRAITS_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
/// \file
/// \brief This file includes common type definition

#ifndef COMMON__TYPES_HPP_
#define COMMON__TYPES_HPP_
#ifndef AUTOWARE_AUTO_COMMON__COMMON__TYPES_HPP_
#define AUTOWARE_AUTO_COMMON__COMMON__TYPES_HPP_

#include "common/visibility_control.hpp"
#include "helper_functions/float_comparisons.hpp"
#include "autoware_auto_common/common/visibility_control.hpp"
#include "autoware_auto_common/helper_functions/float_comparisons.hpp"

#include <cstdint>
#include <limits>
Expand Down Expand Up @@ -122,4 +122,4 @@ using void_t = void;
} // namespace common
} // namespace autoware

#endif // COMMON__TYPES_HPP_
#endif // AUTOWARE_AUTO_COMMON__COMMON__TYPES_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
//
// Co-developed by Tier IV, Inc. and Apex.AI, Inc.

#ifndef COMMON__VISIBILITY_CONTROL_HPP_
#define COMMON__VISIBILITY_CONTROL_HPP_
#ifndef AUTOWARE_AUTO_COMMON__COMMON__VISIBILITY_CONTROL_HPP_
#define AUTOWARE_AUTO_COMMON__COMMON__VISIBILITY_CONTROL_HPP_

#if defined(_MSC_VER) && defined(_WIN64)
#if defined(COMMON_BUILDING_DLL) || defined(COMMON_EXPORTS)
Expand All @@ -35,4 +35,4 @@
#error "Unsupported Build Configuration"
#endif // _MSC_VER

#endif // COMMON__VISIBILITY_CONTROL_HPP_
#endif // AUTOWARE_AUTO_COMMON__COMMON__VISIBILITY_CONTROL_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
//
// Co-developed by Tier IV, Inc. and Apex.AI, Inc.

#ifndef HELPER_FUNCTIONS__ANGLE_UTILS_HPP_
#define HELPER_FUNCTIONS__ANGLE_UTILS_HPP_
#ifndef AUTOWARE_AUTO_COMMON__HELPER_FUNCTIONS__ANGLE_UTILS_HPP_
#define AUTOWARE_AUTO_COMMON__HELPER_FUNCTIONS__ANGLE_UTILS_HPP_

#include <cmath>
#include <type_traits>
Expand Down Expand Up @@ -63,4 +63,4 @@ constexpr T wrap_angle(T angle) noexcept
} // namespace common
} // namespace autoware

#endif // HELPER_FUNCTIONS__ANGLE_UTILS_HPP_
#endif // AUTOWARE_AUTO_COMMON__HELPER_FUNCTIONS__ANGLE_UTILS_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
// IN THE SOFTWARE.

#ifndef HELPER_FUNCTIONS__BOOL_COMPARISONS_HPP_
#define HELPER_FUNCTIONS__BOOL_COMPARISONS_HPP_
#ifndef AUTOWARE_AUTO_COMMON__HELPER_FUNCTIONS__BOOL_COMPARISONS_HPP_
#define AUTOWARE_AUTO_COMMON__HELPER_FUNCTIONS__BOOL_COMPARISONS_HPP_

#include "common/types.hpp"
#include "autoware_auto_common/common/types.hpp"

namespace autoware
{
Expand All @@ -47,4 +47,4 @@ types::bool8_t exclusive_or(const T & a, const T & b)
} // namespace common
} // namespace autoware

#endif // HELPER_FUNCTIONS__BOOL_COMPARISONS_HPP_
#endif // AUTOWARE_AUTO_COMMON__HELPER_FUNCTIONS__BOOL_COMPARISONS_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
/// \file
/// \brief This file includes common helper functions

#ifndef HELPER_FUNCTIONS__BYTE_READER_HPP_
#define HELPER_FUNCTIONS__BYTE_READER_HPP_
#ifndef AUTOWARE_AUTO_COMMON__HELPER_FUNCTIONS__BYTE_READER_HPP_
#define AUTOWARE_AUTO_COMMON__HELPER_FUNCTIONS__BYTE_READER_HPP_

#include <cstdint>
#include <cstring>
Expand Down Expand Up @@ -70,4 +70,4 @@ class ByteReader
} // namespace common
} // namespace autoware

#endif // HELPER_FUNCTIONS__BYTE_READER_HPP_
#endif // AUTOWARE_AUTO_COMMON__HELPER_FUNCTIONS__BYTE_READER_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
/// \file
/// \brief This file includes common helper functions

#ifndef HELPER_FUNCTIONS__CRTP_HPP_
#define HELPER_FUNCTIONS__CRTP_HPP_
#ifndef AUTOWARE_AUTO_COMMON__HELPER_FUNCTIONS__CRTP_HPP_
#define AUTOWARE_AUTO_COMMON__HELPER_FUNCTIONS__CRTP_HPP_

namespace autoware
{
Expand Down Expand Up @@ -49,4 +49,4 @@ class crtp
} // namespace common
} // namespace autoware

#endif // HELPER_FUNCTIONS__CRTP_HPP_
#endif // AUTOWARE_AUTO_COMMON__HELPER_FUNCTIONS__CRTP_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
// IN THE SOFTWARE.

#ifndef HELPER_FUNCTIONS__FLOAT_COMPARISONS_HPP_
#define HELPER_FUNCTIONS__FLOAT_COMPARISONS_HPP_
#ifndef AUTOWARE_AUTO_COMMON__HELPER_FUNCTIONS__FLOAT_COMPARISONS_HPP_
#define AUTOWARE_AUTO_COMMON__HELPER_FUNCTIONS__FLOAT_COMPARISONS_HPP_

#include <algorithm>
#include <cmath>
Expand Down Expand Up @@ -146,4 +146,4 @@ bool approx_eq(const T & a, const T & b, const T & abs_eps, const T & rel_eps)
} // namespace common
} // namespace autoware

#endif // HELPER_FUNCTIONS__FLOAT_COMPARISONS_HPP_
#endif // AUTOWARE_AUTO_COMMON__HELPER_FUNCTIONS__FLOAT_COMPARISONS_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
//
// Co-developed by Tier IV, Inc. and Apex.AI, Inc.

#ifndef HELPER_FUNCTIONS__MAHALANOBIS_DISTANCE_HPP_
#define HELPER_FUNCTIONS__MAHALANOBIS_DISTANCE_HPP_
#ifndef AUTOWARE_AUTO_COMMON__HELPER_FUNCTIONS__MAHALANOBIS_DISTANCE_HPP_
#define AUTOWARE_AUTO_COMMON__HELPER_FUNCTIONS__MAHALANOBIS_DISTANCE_HPP_

#include <Eigen/Cholesky>

Expand Down Expand Up @@ -69,4 +69,4 @@ types::float32_t calculate_mahalanobis_distance(
} // namespace common
} // namespace autoware

#endif // HELPER_FUNCTIONS__MAHALANOBIS_DISTANCE_HPP_
#endif // AUTOWARE_AUTO_COMMON__HELPER_FUNCTIONS__MAHALANOBIS_DISTANCE_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
/// \file
/// \brief This file includes common helper functions

#ifndef HELPER_FUNCTIONS__MESSAGE_ADAPTERS_HPP_
#define HELPER_FUNCTIONS__MESSAGE_ADAPTERS_HPP_
#ifndef AUTOWARE_AUTO_COMMON__HELPER_FUNCTIONS__MESSAGE_ADAPTERS_HPP_
#define AUTOWARE_AUTO_COMMON__HELPER_FUNCTIONS__MESSAGE_ADAPTERS_HPP_

#include <builtin_interfaces/msg/time.hpp>

Expand Down Expand Up @@ -112,4 +112,4 @@ TimeStamp get_stamp(const T & msg) noexcept
} // namespace common
} // namespace autoware

#endif // HELPER_FUNCTIONS__MESSAGE_ADAPTERS_HPP_
#endif // AUTOWARE_AUTO_COMMON__HELPER_FUNCTIONS__MESSAGE_ADAPTERS_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
//
// Co-developed by Tier IV, Inc. and Apex.AI, Inc.

#ifndef HELPER_FUNCTIONS__TEMPLATE_UTILS_HPP_
#define HELPER_FUNCTIONS__TEMPLATE_UTILS_HPP_
#ifndef AUTOWARE_AUTO_COMMON__HELPER_FUNCTIONS__TEMPLATE_UTILS_HPP_
#define AUTOWARE_AUTO_COMMON__HELPER_FUNCTIONS__TEMPLATE_UTILS_HPP_

#include <common/types.hpp>
#include "autoware_auto_common/common/types.hpp"

#include <type_traits>

Expand Down Expand Up @@ -72,4 +72,4 @@ struct expression_valid_with_return<
} // namespace helper_functions
} // namespace common
} // namespace autoware
#endif // HELPER_FUNCTIONS__TEMPLATE_UTILS_HPP_
#endif // AUTOWARE_AUTO_COMMON__HELPER_FUNCTIONS__TEMPLATE_UTILS_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
//
// Co-developed by Tier IV, Inc. and Apex.AI, Inc.

#ifndef HELPER_FUNCTIONS__TYPE_NAME_HPP_
#define HELPER_FUNCTIONS__TYPE_NAME_HPP_
#ifndef AUTOWARE_AUTO_COMMON__HELPER_FUNCTIONS__TYPE_NAME_HPP_
#define AUTOWARE_AUTO_COMMON__HELPER_FUNCTIONS__TYPE_NAME_HPP_

#include <common/visibility_control.hpp>
#include "autoware_auto_common/common/visibility_control.hpp"

#include <string>
#include <typeinfo>
Expand Down Expand Up @@ -53,4 +53,4 @@ COMMON_PUBLIC std::string get_type_name(const T &)
} // namespace helper_functions
} // namespace autoware

#endif // HELPER_FUNCTIONS__TYPE_NAME_HPP_
#endif // AUTOWARE_AUTO_COMMON__HELPER_FUNCTIONS__TYPE_NAME_HPP_
4 changes: 2 additions & 2 deletions common/autoware_auto_common/test/test_angle_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
//
// Developed by Apex.AI, Inc.

#include <common/types.hpp>
#include <helper_functions/angle_utils.hpp>
#include "autoware_auto_common/common/types.hpp"
#include "autoware_auto_common/helper_functions/angle_utils.hpp"

#include <gtest/gtest.h>

Expand Down
2 changes: 1 addition & 1 deletion common/autoware_auto_common/test/test_bool_comparisons.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
// IN THE SOFTWARE.

#include "helper_functions/bool_comparisons.hpp"
#include "autoware_auto_common/helper_functions/bool_comparisons.hpp"

#include <gtest/gtest.h>

Expand Down
7 changes: 4 additions & 3 deletions common/autoware_auto_common/test/test_byte_reader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@
//
// Co-developed by Tier IV, Inc. and Apex.AI, Inc.

#include "common/types.hpp"
#include "gtest/gtest.h"
#include "helper_functions/byte_reader.hpp"
#include "autoware_auto_common/common/types.hpp"
#include "autoware_auto_common/helper_functions/byte_reader.hpp"

#include <gtest/gtest.h>

#include <vector>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
// IN THE SOFTWARE.

#include "helper_functions/float_comparisons.hpp"
#include "autoware_auto_common/helper_functions/float_comparisons.hpp"

#include <gtest/gtest.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
// limitations under the License.
//
// Co-developed by Tier IV, Inc. and Apex.AI, Inc.
#include <common/types.hpp>
#include <helper_functions/mahalanobis_distance.hpp>
#include "autoware_auto_common/common/types.hpp"
#include "autoware_auto_common/helper_functions/mahalanobis_distance.hpp"

#include <gtest/gtest.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
//
// Co-developed by Tier IV, Inc. and Apex.AI, Inc.

#include <helper_functions/message_adapters.hpp>
#include "autoware_auto_common/helper_functions/message_adapters.hpp"

#include <geometry_msgs/msg/transform_stamped.hpp>

Expand Down
2 changes: 1 addition & 1 deletion common/autoware_auto_common/test/test_template_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
//
// Co-developed by Tier IV, Inc. and Apex.AI, Inc.

#include <helper_functions/template_utils.hpp>
#include "autoware_auto_common/helper_functions/template_utils.hpp"

#include <gtest/gtest.h>

Expand Down
Loading

0 comments on commit 8ae646b

Please sign in to comment.