-
Notifications
You must be signed in to change notification settings - Fork 667
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: add CRC error monitoring to net_monitor #638
feat: add CRC error monitoring to net_monitor #638
Conversation
a4268be
to
ccf03c7
Compare
ccf03c7
to
bf82519
Compare
@v-nakayama7440-esol @ito-san cc @kenji-miyake
|
@yukkysaito cc @ito-san @kenji-miyake
Added the above information to README.md. |
* Ros2 v0.8.0 tensorrt yolo (autowarefoundation#301) * Rename ROS-related .yaml to .param.yaml (autowarefoundation#352) * Rename ROS-related .yaml to .param.yaml Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Remove prefix 'default_' of yaml files Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Rename vehicle_info.yaml to vehicle_info.param.yaml Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Rename diagnostic_aggregator's param files Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix overlooked parameters Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * add use_sim-time option (autowarefoundation#454) * Unify Apache-2.0 license name (autowarefoundation#1242) * Remove use_sim_time for set_parameter (autowarefoundation#1260) Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Add pre-commit (autowarefoundation#1560) * add pre-commit * add pre-commit-config * add additional settings for private repository * use default pre-commit-config * update pre-commit setting * Ignore whitespace for line breaks in markdown * Update .github/workflows/pre-commit.yml Co-authored-by: Kazuki Miyahara <kmiya@outlook.com> * exclude svg * remove pretty-format-json * add double-quote-string-fixer * consider COLCON_IGNORE file when seaching modified package * format file * pre-commit fixes * Update pre-commit.yml * Update .pre-commit-config.yaml Co-authored-by: Kazuki Miyahara <kmiya@outlook.com> Co-authored-by: pre-commit <pre-commit@example.com> Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com> * Fix build error with TensorRT v8 (autowarefoundation#1612) * Fix build error with TensorRT v8 Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Fix typo Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Add markdownlint and prettier (autowarefoundation#1661) * Add markdownlint and prettier Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Ignore .param.yaml Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Apply format Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * suppress warnings for tensorrt yolo (autowarefoundation#1759) * add Werror * fix unused-parameter * Fix -Wunused-parameter (autowarefoundation#1836) * Fix -Wunused-parameter Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix mistake Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * fix spell * Fix lint issues Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Ignore flake8 warnings Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> Co-authored-by: Hiroki OTA <hiroki.ota@tier4.jp> * Fix compiler warnings (autowarefoundation#1837) * Fix -Wunused-private-field Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix -Wunused-variable Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix -Wformat-security Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix -Winvalid-constexpr Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix -Wdelete-non-abstract-non-virtual-dtor Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix -Wdelete-abstract-non-virtual-dtor Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix -Winconsistent-missing-override Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix -Wrange-loop-construct Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix "invalid application of 'sizeof' to an incomplete type" Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Ignore -Wgnu-anonymous-struct and -Wnested-anon-types Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix lint Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Ignore -Wno-deprecated-declarations in CUDA-related packages Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix mistake Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix -Wunused-parameter Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Feature/tiny yolov4 (autowarefoundation#2193) * Add param for tiny yolov4 Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Fix missing install Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Download tiny yolov4 model Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Change formatter to clang-format and black (autowarefoundation#2332) * Revert "Temporarily comment out pre-commit hooks" This reverts commit 748e9cdb145ce12f8b520bcbd97f5ff899fc28a3. * Replace ament_lint_common with autoware_lint_common Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Remove ament_cmake_uncrustify and ament_clang_format Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Apply Black Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Apply clang-format Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix build errors Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix for cpplint * Fix include double quotes to angle brackets Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Apply clang-format Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix build errors Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Add COLCON_IGNORE (autowarefoundation#500) Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Port tensorrt yolo to .auto (autowarefoundation#569) Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Update document for tensorrt yolo (autowarefoundation#619) * Update document for tensorrt yolo Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Update perception/object_recognition/detection/tensorrt_yolo/README.md * Update perception/object_recognition/detection/tensorrt_yolo/README.md * Update perception/object_recognition/detection/tensorrt_yolo/README.md * Address review: Fix citation style Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Fix build failure on jetson (autowarefoundation#638) * Fix invalid vector access (autowarefoundation#648) * Fix invalid vector access * Run pre-cmmoit Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * set image subscription qos as SensorDataQoS() explicitly (autowarefoundation#718) Co-authored-by: Daisuke Nishimatsu <42202095+wep21@users.noreply.github.com> Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com> Co-authored-by: tkimura4 <tomoya.kimura@tier4.jp> Co-authored-by: Kazuki Miyahara <kmiya@outlook.com> Co-authored-by: Keisuke Shima <19993104+KeisukeShima@users.noreply.github.com> Co-authored-by: pre-commit <pre-commit@example.com> Co-authored-by: Hiroki OTA <hiroki.ota@tier4.jp> Co-authored-by: Satoshi OTA <44889564+satoshi-ota@users.noreply.github.com>
Signed-off-by: noriyuki.h <n-hamaike@esol.co.jp> Signed-off-by: v-nakayama7440-esol <v-nakayama7440@esol.co.jp>
Signed-off-by: v-nakayama7440-esol <v-nakayama7440@esol.co.jp>
71c55ca
to
90bc4d0
Compare
Codecov Report
@@ Coverage Diff @@
## main #638 +/- ##
==========================================
- Coverage 10.40% 10.38% -0.03%
==========================================
Files 1218 1218
Lines 87309 87489 +180
Branches 20227 20227
==========================================
Hits 9083 9083
- Misses 68888 69068 +180
Partials 9338 9338
*This pull request uses carry forward flags. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
This pull request has been automatically marked as stale because it has not had recent activity. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* feat: add CRC error monitoring to net_monitor Signed-off-by: noriyuki.h <n-hamaike@esol.co.jp> Signed-off-by: v-nakayama7440-esol <v-nakayama7440@esol.co.jp> * add CRC error monitoring information to README.md Signed-off-by: v-nakayama7440-esol <v-nakayama7440@esol.co.jp> * ci(pre-commit): autofix Signed-off-by: noriyuki.h <n-hamaike@esol.co.jp> Signed-off-by: v-nakayama7440-esol <v-nakayama7440@esol.co.jp> Co-authored-by: noriyuki.h <n-hamaike@esol.co.jp> Co-authored-by: ito-san <57388357+ito-san@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* feat: add CRC error monitoring to net_monitor Signed-off-by: noriyuki.h <n-hamaike@esol.co.jp> Signed-off-by: v-nakayama7440-esol <v-nakayama7440@esol.co.jp> * add CRC error monitoring information to README.md Signed-off-by: v-nakayama7440-esol <v-nakayama7440@esol.co.jp> * ci(pre-commit): autofix Signed-off-by: noriyuki.h <n-hamaike@esol.co.jp> Signed-off-by: v-nakayama7440-esol <v-nakayama7440@esol.co.jp> Co-authored-by: noriyuki.h <n-hamaike@esol.co.jp> Co-authored-by: ito-san <57388357+ito-san@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* feat: add CRC error monitoring to net_monitor Signed-off-by: noriyuki.h <n-hamaike@esol.co.jp> Signed-off-by: v-nakayama7440-esol <v-nakayama7440@esol.co.jp> * add CRC error monitoring information to README.md Signed-off-by: v-nakayama7440-esol <v-nakayama7440@esol.co.jp> * ci(pre-commit): autofix Signed-off-by: noriyuki.h <n-hamaike@esol.co.jp> Signed-off-by: v-nakayama7440-esol <v-nakayama7440@esol.co.jp> Co-authored-by: noriyuki.h <n-hamaike@esol.co.jp> Co-authored-by: ito-san <57388357+ito-san@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* feat: add CRC error monitoring to net_monitor Signed-off-by: noriyuki.h <n-hamaike@esol.co.jp> Signed-off-by: v-nakayama7440-esol <v-nakayama7440@esol.co.jp> * add CRC error monitoring information to README.md Signed-off-by: v-nakayama7440-esol <v-nakayama7440@esol.co.jp> * ci(pre-commit): autofix Signed-off-by: noriyuki.h <n-hamaike@esol.co.jp> Signed-off-by: v-nakayama7440-esol <v-nakayama7440@esol.co.jp> Co-authored-by: noriyuki.h <n-hamaike@esol.co.jp> Co-authored-by: ito-san <57388357+ito-san@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* feat: add CRC error monitoring to net_monitor Signed-off-by: noriyuki.h <n-hamaike@esol.co.jp> Signed-off-by: v-nakayama7440-esol <v-nakayama7440@esol.co.jp> * add CRC error monitoring information to README.md Signed-off-by: v-nakayama7440-esol <v-nakayama7440@esol.co.jp> * ci(pre-commit): autofix Signed-off-by: noriyuki.h <n-hamaike@esol.co.jp> Signed-off-by: v-nakayama7440-esol <v-nakayama7440@esol.co.jp> Co-authored-by: noriyuki.h <n-hamaike@esol.co.jp> Co-authored-by: ito-san <57388357+ito-san@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…n#4151) (autowarefoundation#638) Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
chore: sync awf-latest
Description
Add CRC error monitoring in
net_monitor
.The
net_monitor
monitors CRC error on Ethernet and reportsWarning
if error.Related links
#1770
Tests performed
Preparation
Verify
net_monitor: Network CRC Error
reportsOK
in normal operation.ros2 run rqt_runtime_monitor rqt_runtime_monitor
net_monitor: Network CRC Error
reportsOK
.Verify no warning and error messages in a normal run.
Verify
network_crc_error
is aggregated inresource_monitoring
.ros2 run rqt_robot_monitor rqt_robot_monitor
Verify
net_monitor: Network CRC Error
reportsWarning
in abnormal operation.Run iperf server on Autoware ECU.
iperf -s -u
Run iperf client on the host machine.
iperf -c 192.168.10.2 -u -b 30M -i 1 -t 300
Short RxD+ and RxD- and observe an error occurs by using
ip
command.watch -n 0.1 ip -s link show
Verify
net_monitor: Network CRC Error
reportsWarning
.Notes for reviewers
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.
In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.