Skip to content

Commit

Permalink
ci(pre-commit): autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] authored and Kenji Miyake committed Feb 21, 2022
1 parent c802a02 commit dd0f936
Show file tree
Hide file tree
Showing 324 changed files with 7,906 additions and 8,799 deletions.
14 changes: 6 additions & 8 deletions common/autoware_auto_cmake/design/autoware_auto_cmake-design.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
autoware_auto_cmake {#autoware-auto-cmake-design}
===========
# autoware_auto_cmake {#autoware-auto-cmake-design}

This is the design document for the `autoware_auto_cmake` package.


# Purpose

Provide common CMake variables and functions to Autoware packages.
Expand All @@ -13,8 +11,8 @@ Those include:
- Setting the language standard
- Getting user-provided variables
- Providing functions to:
+ set compiler flags
+ turn off optimizations
- set compiler flags
- turn off optimizations

# Design

Expand All @@ -24,6 +22,6 @@ Add `autoware_auto_cmake` as a "build_depend" in the dependent packages.

### CMake variables {#cmake-config-variables}

|Name|Type|Descritpion|Default|
|----|----|-----------|-------|
|`DOWNLOAD_ARTIFACTS`|*BOOL*|Allow downloading artifacts at build time.|`OFF`|
| Name | Type | Descritpion | Default |
| -------------------- | ------ | ------------------------------------------ | ------- |
| `DOWNLOAD_ARTIFACTS` | _BOOL_ | Allow downloading artifacts at build time. | `OFF` |
4 changes: 2 additions & 2 deletions common/autoware_auto_cmake/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@

<build_depend>ros_environment</build_depend>

<buildtool_export_depend>ament_cmake_core</buildtool_export_depend>
<buildtool_export_depend>ament_cmake_lint_cmake</buildtool_export_depend>
<buildtool_export_depend>ament_cmake_copyright</buildtool_export_depend>
<buildtool_export_depend>ament_cmake_core</buildtool_export_depend>
<buildtool_export_depend>ament_cmake_cppcheck</buildtool_export_depend>
<buildtool_export_depend>ament_cmake_cpplint</buildtool_export_depend>
<buildtool_export_depend>ament_cmake_lint_cmake</buildtool_export_depend>
<buildtool_export_depend>ament_cmake_uncrustify</buildtool_export_depend>

<test_depend>ament_cmake_lint_cmake</test_depend>
Expand Down
11 changes: 5 additions & 6 deletions common/autoware_auto_common/design/comparisons.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
Comparisons {#helper-comparisons}
===========
# Comparisons {#helper-comparisons}

The `float_comparisons.hpp` library is a simple set of functions for performing approximate numerical comparisons.
There are separate functions for performing comparisons using absolute bounds and relative bounds. Absolute comparison checks are prefixed with `abs_` and relative checks are prefixed with `rel_`.
Expand All @@ -15,10 +14,10 @@ The `exclusive_or` function will test whether two values cast to different boole

# Assumptions

* The approximate comparisons all take an `epsilon` parameter.
The value of this parameter must be >= 0.
* The library is only intended to be used with floating point types.
A static assertion will be thrown if the library is used with a non-floating point type.
- The approximate comparisons all take an `epsilon` parameter.
The value of this parameter must be >= 0.
- The library is only intended to be used with floating point types.
A static assertion will be thrown if the library is used with a non-floating point type.

# Example Usage

Expand Down
Loading

0 comments on commit dd0f936

Please sign in to comment.