Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support Aeva Aeries II #169

Open
wants to merge 53 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
8aad762
refactor(mt_queue): move to nebula_common
mojomex Jun 26, 2024
ea76846
refactor(expected): add shorthand value_or_throw function
mojomex Jun 26, 2024
e0d253e
feat(logger): add a generic logger class to be passed to non-ros comp…
mojomex Jun 26, 2024
a92de96
feat(hw_interfaces): light-weight TCP/UDP interfaces with abstractions
mojomex Jun 26, 2024
764ee9d
feat(nebula_common): add nlohmann_json and helper functions
mojomex Jun 26, 2024
8e03303
chore(watchdog_timer): clean up watchdog timer
mojomex Jun 26, 2024
8dabe35
chore: make merged changed comply with pre-commit
mojomex Jun 26, 2024
a9ff305
feat(aeva): add sensor model and type support
mojomex Jun 26, 2024
3dc3cfd
feat(aeva): add low-level Aeva TCP protocol support
mojomex Jun 26, 2024
7d89ad2
feat(aeva): add parsers for most important data streams
mojomex Jun 26, 2024
dce426d
feat(aeva): add hardware interface
mojomex Jun 26, 2024
9f6a7e0
test(aeva): add hw interface test
mojomex Jun 26, 2024
ae047bb
feat(aeva): add decoder
mojomex Jun 26, 2024
6fa7586
feat(aeva): add ros wrapper
mojomex Jun 26, 2024
9b8bf8f
feat(aeva): add launch and config files, fix cspell
mojomex Jun 26, 2024
09f1c20
docs(aeva): added to supported sensors
mojomex Jun 27, 2024
5d73b23
docs(aeva): add XYZVIRCAEDT point type
mojomex Jun 27, 2024
b4f55e2
fix(aeries2_decoder): un-mirror the pointcloud
mojomex Jun 28, 2024
5f79d75
refactor(aeva)!: rename `v` point field to `distance_rate`
mojomex Jun 28, 2024
f95cd0a
fix(nebula_ros): remove erroneous header import
mojomex Jun 28, 2024
67f95d3
fix(aeva): prevent fallthrough in telemetry parsing switch
mojomex Jul 1, 2024
dececc0
fix(aeva): fix starving when registering raw packet callback
mojomex Jul 4, 2024
625cee6
chore(aeva): allow for slightly lower pointcloud frequency, more visi…
mojomex Jul 4, 2024
e4b657f
chore(aeva)!: change `distance_rate` point field to `range_rate`
mojomex Jul 4, 2024
1530712
fix(aeva): output return types
mojomex Jul 4, 2024
06ad522
fix(aeva): display error codes correctly in monitor
mojomex Jul 4, 2024
fd0fafc
chore(aeva): align format with pretty-printing PR
mojomex Jul 5, 2024
9627a4e
feat(aeva): support runtime parameter changes
mojomex Jul 5, 2024
6f501ea
chore(aeva): rename occurrences of `aries` to `aeries`
mojomex Jul 8, 2024
f160714
fix(aeva_api): stop thread gracefully
mojomex Jul 8, 2024
2435994
test(aeva): fix tests
mojomex Jul 8, 2024
1b4cbea
fix(aeva): allow multiple responses in reconfig stream, thread safety…
mojomex Jul 8, 2024
7091136
feat(aeva): switch to json config, add many more config options
mojomex Jul 8, 2024
df5d170
chore(aeva): set frame id to `nebula`
mojomex Jul 8, 2024
531f091
feat(aeva): correct handling of the currently active return mode
mojomex Jul 8, 2024
79041e6
chore: accept suggestion to make pointcloud topic namespace local
mojomex Jul 22, 2024
c31eb7b
chore: remove json_fwd header imports
mojomex Jul 22, 2024
9d8e419
chore: move diagnostics topic to local namespace
mojomex Jul 22, 2024
47a83f8
fix(aeva): increase buffer size for packet replay as drops were observed
mojomex Jul 23, 2024
849f5c0
fix(aeva): add missing diagnostic_updater dependency in CMakeLists.txt
mojomex Sep 3, 2024
1a7bef8
fix(aeva): delete elevation_auto_adjustment param that is not present…
mojomex Nov 12, 2024
9a35729
fix(aeva): change referenced function names after merge
mojomex Nov 12, 2024
a73cf20
docs(aeva): add parameter table akin to #195
mojomex Nov 12, 2024
fa8a815
docs(aeva): mention tested firmware version (14.0.0)
mojomex Nov 12, 2024
0cae323
refactor(aeva): implement clang-tidy changes
mojomex Nov 18, 2024
a382611
chore(aeva): rename Aeries2 to Aeries II
mojomex Nov 18, 2024
eed7b31
chore(aeva_api): put constants and types to the top of the file
mojomex Nov 18, 2024
88823d9
refactor(aeva): create aeva namespace inside connections namespace
mojomex Nov 18, 2024
f5bd7fc
chore(aeva): move hardcoded port numbers to constants
mojomex Nov 18, 2024
a132496
chore(aeva): remove pointer hackery for cleaner code
mojomex Nov 18, 2024
d7f1c7a
chore(nebula_common): add version requirement for nlohmann_json
mojomex Nov 18, 2024
3a7898a
chore(aeva): use arg with choices instead of textual descriptions for…
mojomex Nov 18, 2024
dfb1a02
feat(nebula_launch): add Aeva sensors to the generic launch file
mojomex Nov 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
384 changes: 192 additions & 192 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -1,204 +1,204 @@
Checks: "
-*,
# boost-use-to-string,
# bugprone-argument-comment,
# bugprone-assert-side-effect,
# bugprone-bad-signal-to-kill-thread,
# bugprone-bool-pointer-implicit-conversion,
# bugprone-branch-clone,
# bugprone-copy-constructor-init,
# bugprone-dangling-handle,
# bugprone-dynamic-static-initializers,
# bugprone-exception-escape,
# bugprone-fold-init-type,
boost-use-to-string,
bugprone-argument-comment,
bugprone-assert-side-effect,
bugprone-bad-signal-to-kill-thread,
bugprone-bool-pointer-implicit-conversion,
bugprone-branch-clone,
bugprone-copy-constructor-init,
bugprone-dangling-handle,
bugprone-dynamic-static-initializers,
bugprone-exception-escape,
bugprone-fold-init-type,
bugprone-forward-declaration-namespace,
# bugprone-forwarding-reference-overload,
# bugprone-inaccurate-erase,
# bugprone-incorrect-roundings,
# bugprone-integer-division,
# bugprone-lambda-function-name,
# bugprone-macro-parentheses,
# bugprone-macro-repeated-side-effects,
# bugprone-misplaced-operator-in-strlen-in-alloc,
# bugprone-misplaced-widening-cast,
# bugprone-move-forwarding-reference,
# bugprone-multiple-statement-macro,
# bugprone-not-null-terminated-result,
# bugprone-parent-virtual-call,
# bugprone-posix-return,
# bugprone-signed-char-misuse,
# bugprone-sizeof-container,
# bugprone-sizeof-expression,
# bugprone-string-constructor,
# bugprone-string-integer-assignment,
# bugprone-string-literal-with-embedded-nul,
# bugprone-suspicious-enum-usage,
# bugprone-suspicious-memset-usage,
# bugprone-suspicious-missing-comma,
# bugprone-suspicious-semicolon,
# bugprone-suspicious-string-compare,
# bugprone-swapped-arguments,
# bugprone-terminating-continue,
# bugprone-throw-keyword-missing,
# bugprone-too-small-loop-variable,
# bugprone-unchecked-optional-access,
# bugprone-undefined-memory-manipulation,
# bugprone-undelegated-constructor,
# bugprone-unhandled-self-assignment,
# bugprone-unused-raii,
# bugprone-unused-return-value,
# bugprone-use-after-move,
# bugprone-virtual-near-miss,
# cppcoreguidelines-avoid-goto,
# cppcoreguidelines-init-variables,
# cppcoreguidelines-interfaces-global-init,
# cppcoreguidelines-macro-usage,
# cppcoreguidelines-narrowing-conversions,
# cppcoreguidelines-no-malloc,
# cppcoreguidelines-pro-bounds-pointer-arithmetic,
# cppcoreguidelines-pro-type-const-cast,
# cppcoreguidelines-pro-type-cstyle-cast,
# cppcoreguidelines-pro-type-member-init,
# cppcoreguidelines-pro-type-reinterpret-cast,
# cppcoreguidelines-pro-type-static-cast-downcast,
# cppcoreguidelines-pro-type-union-access,
# cppcoreguidelines-slicing,
# cppcoreguidelines-special-member-functions,
# google-build-explicit-make-pair,
bugprone-forwarding-reference-overload,
bugprone-inaccurate-erase,
bugprone-incorrect-roundings,
bugprone-integer-division,
bugprone-lambda-function-name,
bugprone-macro-parentheses,
bugprone-macro-repeated-side-effects,
bugprone-misplaced-operator-in-strlen-in-alloc,
bugprone-misplaced-widening-cast,
bugprone-move-forwarding-reference,
bugprone-multiple-statement-macro,
bugprone-not-null-terminated-result,
bugprone-parent-virtual-call,
bugprone-posix-return,
bugprone-signed-char-misuse,
bugprone-sizeof-container,
bugprone-sizeof-expression,
bugprone-string-constructor,
bugprone-string-integer-assignment,
bugprone-string-literal-with-embedded-nul,
bugprone-suspicious-enum-usage,
bugprone-suspicious-memset-usage,
bugprone-suspicious-missing-comma,
bugprone-suspicious-semicolon,
bugprone-suspicious-string-compare,
bugprone-swapped-arguments,
bugprone-terminating-continue,
bugprone-throw-keyword-missing,
bugprone-too-small-loop-variable,
bugprone-unchecked-optional-access,
bugprone-undefined-memory-manipulation,
bugprone-undelegated-constructor,
bugprone-unhandled-self-assignment,
bugprone-unused-raii,
bugprone-unused-return-value,
bugprone-use-after-move,
bugprone-virtual-near-miss,
cppcoreguidelines-avoid-goto,
cppcoreguidelines-init-variables,
cppcoreguidelines-interfaces-global-init,
cppcoreguidelines-macro-usage,
cppcoreguidelines-narrowing-conversions,
cppcoreguidelines-no-malloc,
cppcoreguidelines-pro-bounds-pointer-arithmetic,
cppcoreguidelines-pro-type-const-cast,
cppcoreguidelines-pro-type-cstyle-cast,
cppcoreguidelines-pro-type-member-init,
cppcoreguidelines-pro-type-reinterpret-cast,
cppcoreguidelines-pro-type-static-cast-downcast,
cppcoreguidelines-pro-type-union-access,
cppcoreguidelines-slicing,
cppcoreguidelines-special-member-functions,
google-build-explicit-make-pair,
google-build-namespaces,
google-build-using-namespace,
# google-explicit-constructor,
# google-global-names-in-headers,
# google-upgrade-googletest-case,
# hicpp-exception-baseclass,
# hicpp-multiway-paths-covered,
# hicpp-no-assembler,
# hicpp-signed-bitwise,
google-explicit-constructor,
google-global-names-in-headers,
google-upgrade-googletest-case,
hicpp-exception-baseclass,
hicpp-multiway-paths-covered,
hicpp-no-assembler,
hicpp-signed-bitwise,
llvm-namespace-comment,
# misc-definitions-in-headers,
# misc-misplaced-const,
# misc-new-delete-overloads,
# misc-non-copyable-objects,
# misc-redundant-expression,
# misc-static-assert,
# misc-throw-by-value-catch-by-reference,
# misc-unconventional-assign-operator,
# misc-uniqueptr-reset-release,
# misc-unused-alias-decls,
# misc-unused-parameters,
# misc-unused-using-decls,
misc-definitions-in-headers,
misc-misplaced-const,
misc-new-delete-overloads,
misc-non-copyable-objects,
misc-redundant-expression,
misc-static-assert,
misc-throw-by-value-catch-by-reference,
misc-unconventional-assign-operator,
misc-uniqueptr-reset-release,
misc-unused-alias-decls,
misc-unused-parameters,
misc-unused-using-decls,
modernize-concat-nested-namespaces,
# modernize-deprecated-headers,
# modernize-deprecated-ios-base-aliases,
# modernize-loop-convert,
# modernize-make-shared,
# modernize-make-unique,
# modernize-pass-by-value,
# modernize-raw-string-literal,
# modernize-redundant-void-arg,
# modernize-replace-auto-ptr,
# modernize-replace-disallow-copy-and-assign-macro,
# modernize-replace-random-shuffle,
# modernize-return-braced-init-list,
# modernize-shrink-to-fit,
# modernize-unary-static-assert,
# modernize-use-auto,
# modernize-use-bool-literals,
# modernize-use-default-member-init,
# modernize-use-emplace,
# modernize-use-equals-default,
# modernize-use-equals-delete,
# modernize-use-nodiscard,
# modernize-use-noexcept,
# modernize-use-nullptr,
# modernize-use-override,
# modernize-use-transparent-functors,
# modernize-use-uncaught-exceptions,
# modernize-use-using,
# openmp-use-default-none,
# performance-faster-string-find,
# performance-for-range-copy,
# performance-implicit-conversion-in-loop,
# performance-inefficient-algorithm,
# performance-inefficient-string-concatenation,
# performance-inefficient-vector-operation,
# performance-move-const-arg,
# performance-move-constructor-init,
# performance-no-automatic-move,
# performance-no-int-to-ptr,
# performance-noexcept-move-constructor,
# performance-trivially-destructible,
# performance-type-promotion-in-math-fn,
# performance-unnecessary-copy-initialization,
# performance-unnecessary-value-param,
# portability-simd-intrinsics,
# readability-const-return-type,
# readability-container-size-empty,
# readability-convert-member-functions-to-static,
# readability-delete-null-pointer,
# readability-else-after-return,
# readability-function-cognitive-complexity,
# readability-identifier-naming,
# readability-inconsistent-declaration-parameter-name,
# readability-isolate-declaration,
# readability-make-member-function-const,
# readability-misleading-indentation,
# readability-misplaced-array-index,
# readability-non-const-parameter,
# readability-redundant-access-specifiers,
# readability-redundant-control-flow,
# readability-redundant-declaration,
# readability-redundant-function-ptr-dereference,
# readability-redundant-member-init,
# readability-redundant-smartptr-get,
# readability-redundant-string-cstr,
# readability-redundant-string-init,
# readability-simplify-boolean-expr,
# readability-simplify-subscript-expr,
# readability-static-accessed-through-instance,
modernize-deprecated-headers,
modernize-deprecated-ios-base-aliases,
modernize-loop-convert,
modernize-make-shared,
modernize-make-unique,
modernize-pass-by-value,
modernize-raw-string-literal,
modernize-redundant-void-arg,
modernize-replace-auto-ptr,
modernize-replace-disallow-copy-and-assign-macro,
modernize-replace-random-shuffle,
modernize-return-braced-init-list,
modernize-shrink-to-fit,
modernize-unary-static-assert,
modernize-use-auto,
modernize-use-bool-literals,
modernize-use-default-member-init,
modernize-use-emplace,
modernize-use-equals-default,
modernize-use-equals-delete,
modernize-use-nodiscard,
modernize-use-noexcept,
modernize-use-nullptr,
modernize-use-override,
modernize-use-transparent-functors,
modernize-use-uncaught-exceptions,
modernize-use-using,
openmp-use-default-none,
performance-faster-string-find,
performance-for-range-copy,
performance-implicit-conversion-in-loop,
performance-inefficient-algorithm,
performance-inefficient-string-concatenation,
performance-inefficient-vector-operation,
performance-move-const-arg,
performance-move-constructor-init,
performance-no-automatic-move,
performance-no-int-to-ptr,
performance-noexcept-move-constructor,
performance-trivially-destructible,
performance-type-promotion-in-math-fn,
performance-unnecessary-copy-initialization,
performance-unnecessary-value-param,
portability-simd-intrinsics,
readability-const-return-type,
readability-container-size-empty,
readability-convert-member-functions-to-static,
readability-delete-null-pointer,
readability-else-after-return,
readability-function-cognitive-complexity,
readability-identifier-naming,
readability-inconsistent-declaration-parameter-name,
readability-isolate-declaration,
readability-make-member-function-const,
readability-misleading-indentation,
readability-misplaced-array-index,
readability-non-const-parameter,
readability-redundant-access-specifiers,
readability-redundant-control-flow,
readability-redundant-declaration,
readability-redundant-function-ptr-dereference,
readability-redundant-member-init,
readability-redundant-smartptr-get,
readability-redundant-string-cstr,
readability-redundant-string-init,
readability-simplify-boolean-expr,
readability-simplify-subscript-expr,
readability-static-accessed-through-instance,
readability-static-definition-in-anonymous-namespace,
# readability-string-compare,
# readability-uniqueptr-delete-release"
readability-string-compare,
readability-uniqueptr-delete-release"

# WarningsAsErrors: "
# boost-use-to-string,
# bugprone-dangling-handle,
# bugprone-fold-init-type,
# bugprone-inaccurate-erase,
# bugprone-incorrect-roundings,
# bugprone-misplaced-widening-cast,
# bugprone-sizeof-container,
# bugprone-sizeof-expression,
# bugprone-string-constructor,
# bugprone-suspicious-enum-usage,
# bugprone-suspicious-memset-usage,
# bugprone-suspicious-missing-comma,
# bugprone-suspicious-semicolon,
# bugprone-swapped-arguments,
# bugprone-unused-raii,
# bugprone-use-after-move,
# llvm-namespace-comment,
# misc-non-copyable-objects,
# misc-redundant-expression,
# misc-throw-by-value-catch-by-reference,
# misc-unused-alias-decls,
# misc-unused-parameters,
# misc-unused-using-decls,
# modernize-deprecated-headers,
# modernize-redundant-void-arg,
# modernize-use-bool-literals,
# modernize-use-emplace,
# modernize-use-equals-default,
# modernize-use-equals-delete,
# modernize-use-nullptr,
# modernize-use-override,
# modernize-use-using,
# performance-faster-string-find,
# performance-inefficient-algorithm,
# readability-make-member-function-const,
# readability-misleading-indentation,
# readability-misplaced-array-index,
# readability-string-compare"
WarningsAsErrors: "
boost-use-to-string,
bugprone-dangling-handle,
bugprone-fold-init-type,
bugprone-inaccurate-erase,
bugprone-incorrect-roundings,
bugprone-misplaced-widening-cast,
bugprone-sizeof-container,
bugprone-sizeof-expression,
bugprone-string-constructor,
bugprone-suspicious-enum-usage,
bugprone-suspicious-memset-usage,
bugprone-suspicious-missing-comma,
bugprone-suspicious-semicolon,
bugprone-swapped-arguments,
bugprone-unused-raii,
bugprone-use-after-move,
llvm-namespace-comment,
misc-non-copyable-objects,
misc-redundant-expression,
misc-throw-by-value-catch-by-reference,
misc-unused-alias-decls,
misc-unused-parameters,
misc-unused-using-decls,
modernize-deprecated-headers,
modernize-redundant-void-arg,
modernize-use-bool-literals,
modernize-use-emplace,
modernize-use-equals-default,
modernize-use-equals-delete,
modernize-use-nullptr,
modernize-use-override,
modernize-use-using,
performance-faster-string-find,
performance-inefficient-algorithm,
readability-make-member-function-const,
readability-misleading-indentation,
readability-misplaced-array-index,
readability-string-compare"

HeaderFilterRegex: ^(?!\/usr)(?!\/opt)

Expand Down
Loading
Loading