Skip to content

Commit

Permalink
feat: (system_monitor) adding a node for CMOS battery monitoring (#1989)
Browse files Browse the repository at this point in the history
* adding document for voltage monitor

* ci(pre-commit): autofix

* fixed for the issue of multithread

* Fixed the lack for  processing of Error case.

* deleted magic number 200

* ci(pre-commit): autofix

* moved voltage_mnitor to tha last

* minimizing between try-catch.

* ci(pre-commit): autofix

* deleted unused files

* added default vlue of cmos_battery_voltage

* changed the label name to cmos_battery_label.

* adding language specified

* resolved conflict

* resolved conflict

* resolved conflict

* ci(pre-commit): autofix

* added topics_voltage_monitor.md)

* ci(pre-commit): autofix

* chore: sync files (#629)

* chore: sync files

Signed-off-by: GitHub <noreply@github.com>

* ci(pre-commit): autofix

Co-authored-by: kenji-miyake <kenji-miyake@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* fix(dummy_diag_publisher): use anon to make unique node name instead of diag name (#639)

Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* chore: sync files (#648)

* chore: sync files

Signed-off-by: GitHub <noreply@github.com>

* Revert "chore: sync files"

This reverts commit b24f530.

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* sync codecov.yaml

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

Co-authored-by: kenji-miyake <kenji-miyake@users.noreply.github.com>
Co-authored-by: Kenji Miyake <kenji.miyake@tier4.jp>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* fix(autoware_state_panel): fix message type for /api/autoware/get/engage (#666)

* fix(autoware_state_panel): fix message type for /api/autoware/get/engage

Signed-off-by: h-ohta <hiroki.ota@tier4.jp>

* ci(pre-commit): autofix

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* fix(behavior_velocity): avoid insert same point on trajectory utils (#834)

Signed-off-by: tanaka3 <ttatcoder@outlook.jp>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* refactor(behavior_velocity_planner): simplify CMakeLists.txt (#855)

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* docs: fix 404 error caused by typo in url (#871)

* docs: fix 404 error caused by typo in url

Signed-off-by: Shin-kyoto <aquashin0202@gmail.com>

* docs: fix typo in url for yolov4

Signed-off-by: Shin-kyoto <aquashin0202@gmail.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* fix(image_projection_based_fusion): set imagebuffersize (#820)

* fix: set imagebuffersize configured

Signed-off-by: suchang <chang.su@autocore.ai>

* ci(pre-commit): autofix

Co-authored-by: suchang <chang.su@autocore.ai>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* chore(avoidance_module): fix spell check (#732)

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* feat: isolate gtests in all packages (#693)

Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* docs(virtual traffic light): add documentation (#245)

* doc(behavior_velocity): add graph and fix link

* doc(behavior_velocity): update virtual traffic light doc

Signed-off-by: tanaka3 <ttatcoder@outlook.jp>

* doc(behavior_velocity): minor fix

Signed-off-by: tanaka3 <ttatcoder@outlook.jp>

* doc : mediate to coordinate

Signed-off-by: tanaka3 <ttatcoder@outlook.jp>

* doc: minor update

Signed-off-by: tanaka3 <ttatcoder@outlook.jp>

* doc: fix pre-commit

* doc: update docs

Signed-off-by: tanaka3 <ttatcoder@outlook.jp>

* apply suggestion

* doc: to intersection-coordination

Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* feat(surround_obstacle_checker): separate surround_obstacle_checker from hierarchical planning flow (#830)

* fix(surroud_obstacle_checker): use alias

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* feat(surround_obstacle_checker): use velocity limit

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* chore(surround_obstacle_checker): rename publisher, subscriber and callback functions

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* refactor(surround_obstacle_checker): use parameter struct

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(surround_obstacle_checker): use alias

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* refactor(surround_obstacle_checker): cleanup member functions

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* refactor(surround_obstacle_checker): cleanup polygon handling

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* refactor(surround_obstacle_checker): use marker helper

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* feat(planning_launch): separate surround_obstacle_checker from hierarchical motion planning flow

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* fix(surround_obstacle_checker): fix ego footprint polygon (#877)

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* fix: update nvinfer api (#863)

* fix(lidar_centerpoint): update nvinfer api

Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>

* fix(tensorrt_yolo): update nvinfer api

Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>

* fix(lidar_apollo_instance_segmentation): update nvinfer api

Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>

* fix(traffic_light_classifier): update nvinfer api

Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>

* fix(traffic_light_ssd_fine_detector): update nvinfer api

Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>

* pre-commit run

Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* fix(avoidance_module): ignore object instead of creating zero shift (#731)

* fix: ignore object instead of creating zero shift

instead of creating zero shift point, the object will be ignored.
no behavior changes should be observed.

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* refactor: sync continue with upstream

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* fix: fix debug message for insufficient lateral margin

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* fix(motion_velocity_smoother): curve deceleration not working with a specific parameter set (#738)

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* test(autoware_testing): fix smoke_test (#479)

* fix(autoware_testing): fix smoke_test

Signed-off-by: Keisuke Shima <19993104+KeisukeShima@users.noreply.github.com>

* restore smoke_test for trajectory_follower_nodes

Signed-off-by: Keisuke Shima <19993104+KeisukeShima@users.noreply.github.com>

* add support multiple parameter files

Signed-off-by: Keisuke Shima <19993104+KeisukeShima@users.noreply.github.com>

* ci(pre-commit): autofix

* minor fix

Signed-off-by: Keisuke Shima <19993104+KeisukeShima@users.noreply.github.com>

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* feat(rviz_plugins): add velocity limit to autoware state panel (#879)

* feat(rviz_plugins): add velocity limit to autoware state panel

Signed-off-by: tanaka3 <ttatcoder@outlook.jp>

* chore(rviz_plugin): change ms to kmh

Signed-off-by: tanaka3 <ttatcoder@outlook.jp>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* feat(vehicle_info_util): add max_steer_angle (#740)

* feat(vehicle_info_util): add max_steer_angle

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* applied pre-commit

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* Added max_steer_angle in test config

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

Co-authored-by: Tomoya Kimura <tomoya.kimura@tier4.jp>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* fix(lidar_centerpoint): fix google drive url to avoid 404 (#889)

* fix(lidar_centerpoint): fix google drive url to avoid 404

* Update CMakeLists.txt

Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* chore: fix typos (#886)

Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* feat(state_rviz_plugin): add GateMode and PathChangeApproval Button (#894)

* feat(state_rviz_plugin): add GateMode and PathChangeApproval Button

* ci(pre-commit): autofix

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* feat(map_tf_generator): accelerate the 'viewer' coordinate calculation (#890)

* add random point sampling function to quickly calculate the 'viewer' coordinate

Signed-off-by: IshitaTakeshi <ishitah.takeshi@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* docs(obstacle_stop_planner): update documentation (#880)

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* ci(pre-commit): autofix

* fixed conflicts

* ci(pre-commit): autofix

* merged fork-origin

* merged

* resolve conflict

* ci(pre-commit): autofix

* deleted

* added "Voltage Monitor"

* merged with main->feature_battery_monitoring

* merge  main ->feature_battery_monitoring

* ci(pre-commit): autofix

* added default vlue of cmos_battery_voltage

* resolved conflict

* resolved conflict

* ci(pre-commit): autofix

* added topics_voltage_monitor.md)

* ci(pre-commit): autofix

* ci(pre-commit): autofix

* ci(pre-commit): autofix

* chore: sync files (#629)

* chore: sync files

Signed-off-by: GitHub <noreply@github.com>

* ci(pre-commit): autofix

Co-authored-by: kenji-miyake <kenji-miyake@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* fix(dummy_diag_publisher): use anon to make unique node name instead of diag name (#639)

Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* chore: sync files (#648)

* chore: sync files

Signed-off-by: GitHub <noreply@github.com>

* Revert "chore: sync files"

This reverts commit b24f530.

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* sync codecov.yaml

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

Co-authored-by: kenji-miyake <kenji-miyake@users.noreply.github.com>
Co-authored-by: Kenji Miyake <kenji.miyake@tier4.jp>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* fix(autoware_state_panel): fix message type for /api/autoware/get/engage (#666)

* fix(autoware_state_panel): fix message type for /api/autoware/get/engage

Signed-off-by: h-ohta <hiroki.ota@tier4.jp>

* ci(pre-commit): autofix

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* fix(behavior_velocity): avoid insert same point on trajectory utils (#834)

Signed-off-by: tanaka3 <ttatcoder@outlook.jp>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* refactor(behavior_velocity_planner): simplify CMakeLists.txt (#855)

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* docs: fix 404 error caused by typo in url (#871)

* docs: fix 404 error caused by typo in url

Signed-off-by: Shin-kyoto <aquashin0202@gmail.com>

* docs: fix typo in url for yolov4

Signed-off-by: Shin-kyoto <aquashin0202@gmail.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* fix(image_projection_based_fusion): set imagebuffersize (#820)

* fix: set imagebuffersize configured

Signed-off-by: suchang <chang.su@autocore.ai>

* ci(pre-commit): autofix

Co-authored-by: suchang <chang.su@autocore.ai>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* chore(avoidance_module): fix spell check (#732)

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* feat: isolate gtests in all packages (#693)

Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* docs(virtual traffic light): add documentation (#245)

* doc(behavior_velocity): add graph and fix link

* doc(behavior_velocity): update virtual traffic light doc

Signed-off-by: tanaka3 <ttatcoder@outlook.jp>

* doc(behavior_velocity): minor fix

Signed-off-by: tanaka3 <ttatcoder@outlook.jp>

* doc : mediate to coordinate

Signed-off-by: tanaka3 <ttatcoder@outlook.jp>

* doc: minor update

Signed-off-by: tanaka3 <ttatcoder@outlook.jp>

* doc: fix pre-commit

* doc: update docs

Signed-off-by: tanaka3 <ttatcoder@outlook.jp>

* apply suggestion

* doc: to intersection-coordination

Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* feat(surround_obstacle_checker): separate surround_obstacle_checker from hierarchical planning flow (#830)

* fix(surroud_obstacle_checker): use alias

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* feat(surround_obstacle_checker): use velocity limit

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* chore(surround_obstacle_checker): rename publisher, subscriber and callback functions

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* refactor(surround_obstacle_checker): use parameter struct

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(surround_obstacle_checker): use alias

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* refactor(surround_obstacle_checker): cleanup member functions

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* refactor(surround_obstacle_checker): cleanup polygon handling

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* refactor(surround_obstacle_checker): use marker helper

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* feat(planning_launch): separate surround_obstacle_checker from hierarchical motion planning flow

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* fix(surround_obstacle_checker): fix ego footprint polygon (#877)

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* fix: update nvinfer api (#863)

* fix(lidar_centerpoint): update nvinfer api

Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>

* fix(tensorrt_yolo): update nvinfer api

Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>

* fix(lidar_apollo_instance_segmentation): update nvinfer api

Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>

* fix(traffic_light_classifier): update nvinfer api

Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>

* fix(traffic_light_ssd_fine_detector): update nvinfer api

Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>

* pre-commit run

Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* fix(avoidance_module): ignore object instead of creating zero shift (#731)

* fix: ignore object instead of creating zero shift

instead of creating zero shift point, the object will be ignored.
no behavior changes should be observed.

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* refactor: sync continue with upstream

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* fix: fix debug message for insufficient lateral margin

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* fix(motion_velocity_smoother): curve deceleration not working with a specific parameter set (#738)

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* test(autoware_testing): fix smoke_test (#479)

* fix(autoware_testing): fix smoke_test

Signed-off-by: Keisuke Shima <19993104+KeisukeShima@users.noreply.github.com>

* restore smoke_test for trajectory_follower_nodes

Signed-off-by: Keisuke Shima <19993104+KeisukeShima@users.noreply.github.com>

* add support multiple parameter files

Signed-off-by: Keisuke Shima <19993104+KeisukeShima@users.noreply.github.com>

* ci(pre-commit): autofix

* minor fix

Signed-off-by: Keisuke Shima <19993104+KeisukeShima@users.noreply.github.com>

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* feat(rviz_plugins): add velocity limit to autoware state panel (#879)

* feat(rviz_plugins): add velocity limit to autoware state panel

Signed-off-by: tanaka3 <ttatcoder@outlook.jp>

* chore(rviz_plugin): change ms to kmh

Signed-off-by: tanaka3 <ttatcoder@outlook.jp>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* feat(vehicle_info_util): add max_steer_angle (#740)

* feat(vehicle_info_util): add max_steer_angle

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* applied pre-commit

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* Added max_steer_angle in test config

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

Co-authored-by: Tomoya Kimura <tomoya.kimura@tier4.jp>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* fix(lidar_centerpoint): fix google drive url to avoid 404 (#889)

* fix(lidar_centerpoint): fix google drive url to avoid 404

* Update CMakeLists.txt

Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* chore: fix typos (#886)

Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* feat(state_rviz_plugin): add GateMode and PathChangeApproval Button (#894)

* feat(state_rviz_plugin): add GateMode and PathChangeApproval Button

* ci(pre-commit): autofix

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* feat(map_tf_generator): accelerate the 'viewer' coordinate calculation (#890)

* add random point sampling function to quickly calculate the 'viewer' coordinate

Signed-off-by: IshitaTakeshi <ishitah.takeshi@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* docs(obstacle_stop_planner): update documentation (#880)

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* ci(pre-commit): autofix

* fixed conflicts

* ci(pre-commit): autofix

* resolve conflict

* ci(pre-commit): autofix

* merged with main->feature_battery_monitoring

* merge  main ->feature_battery_monitoring

* Added voltages are provisional values.

Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* ci(pre-commit): autofix

* feat(behavior_path_planner): add turn signal parameters (#2086)

* feat(behavior_path_planner): add and change parameters

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

* update

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

* update

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

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

* refactor(perception_utils): refactor matching function in perception_utils (#2045)

* refactor(perception_util): refactor matching function in perception_util

Signed-off-by: scepter914 <scepter914@gmail.com>

* fix namespace

Signed-off-by: scepter914 <scepter914@gmail.com>

* refactor

Signed-off-by: scepter914 <scepter914@gmail.com>

* refactor

Signed-off-by: scepter914 <scepter914@gmail.com>

* fix bug

Signed-off-by: scepter914 <scepter914@gmail.com>

* add const

Signed-off-by: scepter914 <scepter914@gmail.com>

* refactor function name

Signed-off-by: scepter914 <scepter914@gmail.com>

Signed-off-by: scepter914 <scepter914@gmail.com>

* refactor(perception_utils): refactor object_classification (#2042)

* refactor(perception_utils): refactor object_classification

Signed-off-by: scepter914 <scepter914@gmail.com>

* fix bug

Signed-off-by: scepter914 <scepter914@gmail.com>

* fix unittest

Signed-off-by: scepter914 <scepter914@gmail.com>

* refactor

Signed-off-by: scepter914 <scepter914@gmail.com>

* fix unit test

Signed-off-by: scepter914 <scepter914@gmail.com>

* remove redundant else

Signed-off-by: scepter914 <scepter914@gmail.com>

* refactor variable name

Signed-off-by: scepter914 <scepter914@gmail.com>

Signed-off-by: scepter914 <scepter914@gmail.com>

* feat(autoware_auto_perception_rviz_plugin): add accel text visualization (#2046)

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* refactor(motion_utils, obstacle_cruise_planner): add offset to virtual wall utils func (#2078)

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* refactor(osqp_interface, motion_velocity_smoother): unsolved status log (#2076)

* refactor(osqp_interface, motion_velocity_smoother): unsolved status log

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* Update common/osqp_interface/src/osqp_interface.cpp

Co-authored-by: Maxime CLEMENT <78338830+maxime-clem@users.noreply.github.com>

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
Co-authored-by: Maxime CLEMENT <78338830+maxime-clem@users.noreply.github.com>

* feat(lidar_centerpoint): eliminated the tf dependency for single frame detection (#1925)

Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp>

Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp>
Co-authored-by: Yusuke Muramatsu <yukke42@users.noreply.github.com>

* change name hardware_monitor -> voltage_monitor

* copy right 2020 -> 2022

* delete duplicated lines

* fix: catch exception, remove sensors_exists_

* adding error message output

* ci(pre-commit): autofix

* ci(pre-commit): autofix

* adding document for voltage monitor

* fixed for the issue of multithread

* ci(pre-commit): autofix

* Fixed the lack for  processing of Error case.

* deleted magic number 200

* moved voltage_mnitor to tha last

* minimizing between try-catch.

* ci(pre-commit): autofix

* added default vlue of cmos_battery_voltage

* changed the label name to cmos_battery_label.

* adding language specified

* resolved conflict

* resolved conflict

* ci(pre-commit): autofix

* added topics_voltage_monitor.md)

* ci(pre-commit): autofix

* chore: sync files (#629)

* chore: sync files

Signed-off-by: GitHub <noreply@github.com>

* ci(pre-commit): autofix

Co-authored-by: kenji-miyake <kenji-miyake@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* fix(dummy_diag_publisher): use anon to make unique node name instead of diag name (#639)

Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* chore: sync files (#648)

* chore: sync files

Signed-off-by: GitHub <noreply@github.com>

* Revert "chore: sync files"

This reverts commit b24f530.

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* sync codecov.yaml

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

Co-authored-by: kenji-miyake <kenji-miyake@users.noreply.github.com>
Co-authored-by: Kenji Miyake <kenji.miyake@tier4.jp>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* fix(autoware_state_panel): fix message type for /api/autoware/get/engage (#666)

* fix(autoware_state_panel): fix message type for /api/autoware/get/engage

Signed-off-by: h-ohta <hiroki.ota@tier4.jp>

* ci(pre-commit): autofix

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* fix(behavior_velocity): avoid insert same point on trajectory utils (#834)

Signed-off-by: tanaka3 <ttatcoder@outlook.jp>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* refactor(behavior_velocity_planner): simplify CMakeLists.txt (#855)

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* docs: fix 404 error caused by typo in url (#871)

* docs: fix 404 error caused by typo in url

Signed-off-by: Shin-kyoto <aquashin0202@gmail.com>

* docs: fix typo in url for yolov4

Signed-off-by: Shin-kyoto <aquashin0202@gmail.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* fix(image_projection_based_fusion): set imagebuffersize (#820)

* fix: set imagebuffersize configured

Signed-off-by: suchang <chang.su@autocore.ai>

* ci(pre-commit): autofix

Co-authored-by: suchang <chang.su@autocore.ai>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* chore(avoidance_module): fix spell check (#732)

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* feat: isolate gtests in all packages (#693)

Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* docs(virtual traffic light): add documentation (#245)

* doc(behavior_velocity): add graph and fix link

* doc(behavior_velocity): update virtual traffic light doc

Signed-off-by: tanaka3 <ttatcoder@outlook.jp>

* doc(behavior_velocity): minor fix

Signed-off-by: tanaka3 <ttatcoder@outlook.jp>

* doc : mediate to coordinate

Signed-off-by: tanaka3 <ttatcoder@outlook.jp>

* doc: minor update

Signed-off-by: tanaka3 <ttatcoder@outlook.jp>

* doc: fix pre-commit

* doc: update docs

Signed-off-by: tanaka3 <ttatcoder@outlook.jp>

* apply suggestion

* doc: to intersection-coordination

Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* feat(surround_obstacle_checker): separate surround_obstacle_checker from hierarchical planning flow (#830)

* fix(surroud_obstacle_checker): use alias

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* feat(surround_obstacle_checker): use velocity limit

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* chore(surround_obstacle_checker): rename publisher, subscriber and callback functions

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* refactor(surround_obstacle_checker): use parameter struct

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(surround_obstacle_checker): use alias

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* refactor(surround_obstacle_checker): cleanup member functions

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* refactor(surround_obstacle_checker): cleanup polygon handling

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* refactor(surround_obstacle_checker): use marker helper

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* feat(planning_launch): separate surround_obstacle_checker from hierarchical motion planning flow

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* fix(surround_obstacle_checker): fix ego footprint polygon (#877)

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* fix: update nvinfer api (#863)

* fix(lidar_centerpoint): update nvinfer api

Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>

* fix(tensorrt_yolo): update nvinfer api

Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>

* fix(lidar_apollo_instance_segmentation): update nvinfer api

Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>

* fix(traffic_light_classifier): update nvinfer api

Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>

* fix(traffic_light_ssd_fine_detector): update nvinfer api

Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>

* pre-commit run

Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* fix(avoidance_module): ignore object instead of creating zero shift (#731)

* fix: ignore object instead of creating zero shift

instead of creating zero shift point, the object will be ignored.
no behavior changes should be observed.

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* refactor: sync continue with upstream

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* fix: fix debug message for insufficient lateral margin

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* fix(motion_velocity_smoother): curve deceleration not working with a specific parameter set (#738)

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* test(autoware_testing): fix smoke_test (#479)

* fix(autoware_testing): fix smoke_test

Signed-off-by: Keisuke Shima <19993104+KeisukeShima@users.noreply.github.com>

* restore smoke_test for trajectory_follower_nodes

Signed-off-by: Keisuke Shima <19993104+KeisukeShima@users.noreply.github.com>

* add support multiple parameter files

Signed-off-by: Keisuke Shima <19993104+KeisukeShima@users.noreply.github.com>

* ci(pre-commit): autofix

* minor fix

Signed-off-by: Keisuke Shima <19993104+KeisukeShima@users.noreply.github.com>

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* feat(rviz_plugins): add velocity limit to autoware state panel (#879)

* feat(rviz_plugins): add velocity limit to autoware state panel

Signed-off-by: tanaka3 <ttatcoder@outlook.jp>

* chore(rviz_plugin): change ms to kmh

Signed-off-by: tanaka3 <ttatcoder@outlook.jp>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* feat(vehicle_info_util): add max_steer_angle (#740)

* feat(vehicle_info_util): add max_steer_angle

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* applied pre-commit

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* Added max_steer_angle in test config

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

Co-authored-by: Tomoya Kimura <tomoya.kimura@tier4.jp>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* fix(lidar_centerpoint): fix google drive url to avoid 404 (#889)

* fix(lidar_centerpoint): fix google drive url to avoid 404

* Update CMakeLists.txt

Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* chore: fix typos (#886)

Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* feat(state_rviz_plugin): add GateMode and PathChangeApproval Button (#894)

* feat(state_rviz_plugin): add GateMode and PathChangeApproval Button

* ci(pre-commit): autofix

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* feat(map_tf_generator): accelerate the 'viewer' coordinate calculation (#890)

* add random point sampling function to quickly calculate the 'viewer' coordinate

Signed-off-by: IshitaTakeshi <ishitah.takeshi@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* docs(obstacle_stop_planner): update documentation (#880)

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* ci(pre-commit): autofix

* fixed conflicts

* ci(pre-commit): autofix

* resolve conflict

* deleted

* added "Voltage Monitor"

* ci(pre-commit): autofix

* merged with main->feature_battery_monitoring

* merge  main ->feature_battery_monitoring

* ci(pre-commit): autofix

* added default vlue of cmos_battery_voltage

* resolved conflict

* resolved conflict

* added topics_voltage_monitor.md)

* ci(pre-commit): autofix

* ci(pre-commit): autofix

* ci(pre-commit): autofix

* chore: sync files (#629)

* chore: sync files

Signed-off-by: GitHub <noreply@github.com>

* ci(pre-commit): autofix

Co-authored-by: kenji-miyake <kenji-miyake@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* fix(dummy_diag_publisher): use anon to make unique node name instead of diag name (#639)

Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* chore: sync files (#648)

* chore: sync files

Signed-off-by: GitHub <noreply@github.com>

* Revert "chore: sync files"

This reverts commit b24f530.

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* sync codecov.yaml

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

Co-authored-by: kenji-miyake <kenji-miyake@users.noreply.github.com>
Co-authored-by: Kenji Miyake <kenji.miyake@tier4.jp>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* fix(autoware_state_panel): fix message type for /api/autoware/get/engage (#666)

* fix(autoware_state_panel): fix message type for /api/autoware/get/engage

Signed-off-by: h-ohta <hiroki.ota@tier4.jp>

* ci(pre-commit): autofix

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* fix(behavior_velocity): avoid insert same point on trajectory utils (#834)

Signed-off-by: tanaka3 <ttatcoder@outlook.jp>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* refactor(behavior_velocity_planner): simplify CMakeLists.txt (#855)

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* docs: fix 404 error caused by typo in url (#871)

* docs: fix 404 error caused by typo in url

Signed-off-by: Shin-kyoto <aquashin0202@gmail.com>

* docs: fix typo in url for yolov4

Signed-off-by: Shin-kyoto <aquashin0202@gmail.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* fix(image_projection_based_fusion): set imagebuffersize (#820)

* fix: set imagebuffersize configured

Signed-off-by: suchang <chang.su@autocore.ai>

* ci(pre-commit): autofix

Co-authored-by: suchang <chang.su@autocore.ai>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* chore(avoidance_module): fix spell check (#732)

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* feat: isolate gtests in all packages (#693)

Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* docs(virtual traffic light): add documentation (#245)

* doc(behavior_velocity): add graph and fix link

* doc(behavior_velocity): update virtual traffic light doc

Signed-off-by: tanaka3 <ttatcoder@outlook.jp>

* doc(behavior_velocity): minor fix

Signed-off-by: tanaka3 <ttatcoder@outlook.jp>

* doc : mediate to coordinate

Signed-off-by: tanaka3 <ttatcoder@outlook.jp>

* doc: minor update

Signed-off-by: tanaka3 <ttatcoder@outlook.jp>

* doc: fix pre-commit

* doc: update docs

Signed-off-by: tanaka3 <ttatcoder@outlook.jp>

* apply suggestion

* doc: to intersection-coordination

Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* feat(surround_obstacle_checker): separate surround_obstacle_checker from hierarchical planning flow (#830)

* fix(surroud_obstacle_checker): use alias

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* feat(surround_obstacle_checker): use velocity limit

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* chore(surround_obstacle_checker): rename publisher, subscriber and callback functions

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* refactor(surround_obstacle_checker): use parameter struct

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(surround_obstacle_checker): use alias

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* refactor(surround_obstacle_checker): cleanup member functions

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* refactor(surround_obstacle_checker): cleanup polygon handling

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* refactor(surround_obstacle_checker): use marker helper

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* feat(planning_launch): separate surround_obstacle_checker from hierarchical motion planning flow

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* fix(surround_obstacle_checker): fix ego footprint polygon (#877)

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* fix: update nvinfer api (#863)

* fix(lidar_centerpoint): update nvinfer api

Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>

* fix(tensorrt_yolo): update nvinfer api

Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>

* fix(lidar_apollo_instance_segmentation): update nvinfer api

Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>

* fix(traffic_light_classifier): update nvinfer api

Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>

* fix(traffic_light_ssd_fine_detector): update nvinfer api

Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>

* pre-commit run

Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* fix(avoidance_module): ignore object instead of creating zero shift (#731)

* fix: ignore object instead of creating zero shift

instead of creating zero shift point, the object will be ignored.
no behavior changes should be observed.

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* refactor: sync continue with upstream

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* fix: fix debug message for insufficient lateral margin

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* fix(motion_velocity_smoother): curve deceleration not working with a specific parameter set (#738)

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* test(autoware_testing): fix smoke_test (#479)

* fix(autoware_testing): fix smoke_test

Signed-off-by: Keisuke Shima <19993104+KeisukeShima@users.noreply.github.com>

* restore smoke_test for trajectory_follower_nodes

Signed-off-by: Keisuke Shima <19993104+KeisukeShima@users.noreply.github.com>

* add support multiple parameter files

Signed-off-by: Keisuke Shima <19993104+KeisukeShima@users.noreply.github.com>

* ci(pre-commit): autofix

* minor fix

Signed-off-by: Keisuke Shima <19993104+KeisukeShima@users.noreply.github.com>

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* feat(rviz_plugins): add velocity limit to autoware state panel (#879)

* feat(rviz_plugins): add velocity limit to autoware state panel

Signed-off-by: tanaka3 <ttatcoder@outlook.jp>

* chore(rviz_plugin): change ms to kmh

Signed-off-by: tanaka3 <ttatcoder@outlook.jp>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* feat(vehicle_info_util): add max_steer_angle (#740)

* feat(vehicle_info_util): add max_steer_angle

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* applied pre-commit

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* Added max_steer_angle in test config

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

Co-authored-by: Tomoya Kimura <tomoya.kimura@tier4.jp>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* fix(lidar_centerpoint): fix google drive url to avoid 404 (#889)

* fix(lidar_centerpoint): fix google drive url to avoid 404

* Update CMakeLists.txt

Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* chore: fix typos (#886)

Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* feat(state_rviz_plugin): add GateMode and PathChangeApproval Button (#894)

* feat(state_rviz_plugin): add GateMode and PathChangeApproval Button

* ci(pre-commit): autofix

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* feat(map_tf_generator): accelerate the 'viewer' coordinate calculation (#890)

* add random point sampling function to quickly calculate the 'viewer' coordinate

Signed-off-by: IshitaTakeshi <ishitah.takeshi@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* docs(obstacle_stop_planner): update documentation (#880)

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* ci(pre-commit): autofix

* fixed conflicts

* ci(pre-commit): autofix

* resolve conflict

* ci(pre-commit): autofix

* merged with main->feature_battery_monitoring

* merge  main ->feature_battery_monitoring

* Added voltages are provisional values.

Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* ci(pre-commit): autofix

* ci(pre-commit): autofix

* ci(pre-commit): autofix

* fixed conflict manually

Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* fixed conflict manually

Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* ci(pre-commit): autofix

* fixed conflict

Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* fixed conflict

Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>

* ci(pre-commit): autofix

Signed-off-by: Nobuo TAKAMASA <nobuo.takamasa@tier4.jp>
Signed-off-by: tanaka3 <ttatcoder@outlook.jp>
Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
Signed-off-by: Shin-kyoto <aquashin0202@gmail.com>
Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>
Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>
Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp>
Signed-off-by: IshitaTakeshi <ishitah.takeshi@gmail.com>
Signed-off-by: yutaka <purewater0901@gmail.com>
Signed-off-by: scepter914 <scepter914@gmail.com>
Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.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>
Co-authored-by: awf-autoware-bot[bot] <94889083+awf-autoware-bot[bot]@users.noreply.github.com>
Co-authored-by: kenji-miyake <kenji-miyake@users.noreply.github.com>
Co-authored-by: Hiroki OTA <hiroki.ota@tier4.jp>
Co-authored-by: Kenji Miyake <kenji.miyake@tier4.jp>
Co-authored-by: taikitanaka3 <65527974+taikitanaka3@users.noreply.github.com>
Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
Co-authored-by: Shintaro Tomie <58775300+Shin-kyoto@users.noreply.github.com>
Co-authored-by: storrrrrrrrm <103425473+storrrrrrrrm@users.noreply.github.com>
Co-authored-by: suchang <chang.su@autocore.ai>
Co-authored-by: Zulfaqar Azmi <93502286+zulfaqar-azmi-t4@users.noreply.github.com>
Co-authored-by: Maxime CLEMENT <78338830+maxime-clem@users.noreply.github.com>
Co-authored-by: Satoshi OTA <44889564+satoshi-ota@users.noreply.github.com>
Co-authored-by: Daisuke Nishimatsu <42202095+wep21@users.noreply.github.com>
Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com>
Co-authored-by: Keisuke Shima <19993104+KeisukeShima@users.noreply.github.com>
Co-authored-by: Takayuki Murooka <takayuki5168@gmail.com>
Co-authored-by: Tomoya Kimura <tomoya.kimura@tier4.jp>
Co-authored-by: badai nguyen <94814556+badai-nguyen@users.noreply.github.com>
Co-authored-by: Takeshi Ishita <ishitah.takeshi@gmail.com>
Co-authored-by: Yutaka Shimizu <43805014+purewater0901@users.noreply.github.com>
Co-authored-by: Satoshi Tanaka <16330533+scepter914@users.noreply.github.com>
Co-authored-by: Kenzo Lobos Tsunekawa <kenzo.lobos@tier4.jp>
Co-authored-by: Yusuke Muramatsu <yukke42@users.noreply.github.com>
  • Loading branch information
1 parent 5d11abd commit 29c3a2f
Show file tree
Hide file tree
Showing 12 changed files with 471 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,3 +171,13 @@
path: tasks_summary
contains: [": Tasks Summary"]
timeout: 3.0

hardware:
type: diagnostic_aggregator/AnalyzerGroup
path: voltage
analyzers:
cmos_battery:
type: diagnostic_aggregator/GenericAnalyzer
path: cmos_battery
contains: [": CMOS Battery Status"]
timeout: 3.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/**:
ros__parameters:
cmos_battery_warn: 2.90
cmos_battery_error: 2.70
cmos_battery_label: ""
Original file line number Diff line number Diff line change
Expand Up @@ -225,3 +225,13 @@
path: tasks_summary
contains: [": Tasks Summary"]
timeout: 3.0

hardware:
type: diagnostic_aggregator/AnalyzerGroup
path: voltage
analyzers:
cmos_battery:
type: diagnostic_aggregator/GenericAnalyzer
path: cmos_battery
contains: [": CMOS Battery Status"]
timeout: 3.0
10 changes: 10 additions & 0 deletions system/system_monitor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ ament_auto_add_library(gpu_monitor_lib SHARED
${GPU_MONITOR_SOURCE}
)

ament_auto_add_library(voltage_monitor_lib SHARED
src/voltage_monitor/voltage_monitor.cpp
)

ament_auto_add_executable(msr_reader
reader/msr_reader/msr_reader.cpp
)
Expand All @@ -129,6 +133,7 @@ find_package(Boost REQUIRED COMPONENTS
)

## Specify libraries to link a library or executable target against
target_link_libraries(voltage_monitor_lib ${Boost_LIBRARIES} ${LIBRARIES})
target_link_libraries(cpu_monitor_lib ${Boost_LIBRARIES} ${LIBRARIES})
target_link_libraries(hdd_monitor_lib ${Boost_LIBRARIES} ${LIBRARIES})
target_link_libraries(mem_monitor_lib ${LIBRARIES})
Expand Down Expand Up @@ -175,6 +180,11 @@ rclcpp_components_register_node(gpu_monitor_lib
EXECUTABLE gpu_monitor
)

rclcpp_components_register_node(voltage_monitor_lib
PLUGIN "VoltageMonitor"
EXECUTABLE voltage_monitor
)

# TODO(yunus.caliskan): Port the tests to ROS2, robustify the tests.
if(BUILD_TESTING)
# ament_add_ros_isolated_gtest(test_cpu_monitor
Expand Down
82 changes: 82 additions & 0 deletions system/system_monitor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ This package provides the following nodes for monitoring system:
- NTP Monitor
- Process Monitor
- GPU Monitor
- Voltage Monitor

### Supported architecture

Expand Down Expand Up @@ -50,6 +51,7 @@ Every topic is published in 1 minute interval.
- [NTP Monitor](docs/topics_ntp_monitor.md)
- [Process Monitor](docs/topics_process_monitor.md)
- [GPU Monitor](docs/topics_gpu_monitor.md)
- [Voltage Monitor](docs/topics_voltage_monitor.md)

[Usage] ✓:Supported, -:Not supported

Expand Down Expand Up @@ -83,6 +85,7 @@ Every topic is published in 1 minute interval.
| | GPU Memory Usage || - | - | |
| | GPU Thermal Throttling || - | - | |
| | GPU Frequency ||| - | For Intel platform, monitor whether current GPU clock is supported by the GPU. |
| Voltage Monitor | CMOS Battery Staus || - | - | Battery Health for RTC and BIOS - |

## ROS parameters

Expand Down Expand Up @@ -183,6 +186,85 @@ Currently GPU monitor for intel platform only supports NVIDIA GPU whose informat
Also you need to install CUDA libraries.
For installation instructions for CUDA 10.0, see [NVIDIA CUDA Installation Guide for Linux](https://docs.nvidia.com/cuda/archive/10.0/cuda-installation-guide-linux/index.html).

## <u>Voltage monitor for CMOS Battery</u>

Some platforms have built-in batteries for the RTC and CMOS. This node determines the battery status from the result of executing cat /proc/driver/rtc.
Also, if lm-sensors is installed, it is possible to use the results.
However, the return value of sensors varies depending on the chipset, so it is necessary to set a string to extract the corresponding voltage.
It is also necessary to set the voltage for warning and error.
For example, if you want a warning when the voltage is less than 2.9V and an error when it is less than 2.7V.
The execution result of sensors on the chipset nct6106 is as follows, and "in7:" is the voltage of the CMOS battery.

```txt
$ sensors
pch_cannonlake-virtual-0
Adapter: Virtual device
temp1: +42.0°C
nct6106-isa-0a10
Adapter: ISA adapter
in0: 728.00 mV (min = +0.00 V, max = +1.74 V)
in1: 1.01 V (min = +0.00 V, max = +2.04 V)
in2: 3.34 V (min = +0.00 V, max = +4.08 V)
in3: 3.34 V (min = +0.00 V, max = +4.08 V)
in4: 1.07 V (min = +0.00 V, max = +2.04 V)
in5: 1.05 V (min = +0.00 V, max = +2.04 V)
in6: 1.67 V (min = +0.00 V, max = +2.04 V)
in7: 3.06 V (min = +0.00 V, max = +4.08 V)
in8: 2.10 V (min = +0.00 V, max = +4.08 V)
fan1: 2789 RPM (min = 0 RPM)
fan2: 0 RPM (min = 0 RPM)
```

The setting value of voltage_monitor.param.yaml is as follows.

```yaml
/**:
ros__parameters:
cmos_battery_warn: 2.90
cmos_battery_error: 2.70
cmos_battery_label: "in7:"
```
The above values of 2.7V and 2.90V are hypothetical. Depending on the motherboard and chipset, the value may vary. However, if the voltage of the lithium battery drops below 2.7V, it is recommended to replace it.
In the above example, the message output to the topic /diagnostics is as follows.
If the voltage < 2.9V then:
```txt
name: /autoware/system/resource_monitoring/voltage/cmos_battery
message: Warning
hardware_id: ''
values:
- key: 'voltage_monitor: CMOS Battery Status'
value: Low Battery
```
If the voltage < 2.7V then:
```txt
name: /autoware/system/resource_monitoring/voltage/cmos_battery
message: Warning
hardware_id: ''
values:
- key: 'voltage_monitor: CMOS Battery Status'
value: Battery Died
```
If neither, then:
```txt
name: /autoware/system/resource_monitoring/voltage/cmos_battery
message: OK
hardware_id: ''
values:
- key: 'voltage_monitor: CMOS Battery Status'
value: OK
```
If the CMOS battery voltage drops less than voltage_error or voltage_warn,It will be a warning.
If the battery runs out, the RTC will stop working when the power is turned off. However, since the vehicle can run, it is not an error. The vehicle will stop when an error occurs, but there is no need to stop immediately.
It can be determined by the value of "Low Battery" or "Battery Died".
## UML diagrams
See [Class diagrams](docs/class_diagrams.md).
Expand Down
5 changes: 5 additions & 0 deletions system/system_monitor/config/voltage_monitor.param.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/**:
ros__parameters:
cmos_battery_warn: 2.90
cmos_battery_error: 2.70
cmos_battery_label: ""
10 changes: 10 additions & 0 deletions system/system_monitor/docs/ros_parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,13 @@ gpu_monitor:
| gpu_usage_error | float | %(1e-2) | 1.00 | Generates error when GPU usage reaches a specified value or higher. |
| memory_usage_warn | float | %(1e-2) | 0.90 | Generates warning when GPU memory usage reaches a specified value or higher. |
| memory_usage_error | float | %(1e-2) | 1.00 | Generates error when GPU memory usage reaches a specified value or higher. |

## <u>Voltage Monitor</u>

voltage_monitor:

| Name | Type | Unit | Default | Notes |
| :----------------- | :----: | :--: | :-----: | :------------------------------------------------------------------------------ |
| cmos_battery_warn | float | volt | 2.9 | Generates warning when voltage of CMOS Battery is lower. |
| cmos_battery_error | float | volt | 2.7 | Generates error when voltage of CMOS Battery is lower. |
| cmos_battery_label | string | n/a | "" | voltage string in sensors command outputs. if emtpy no voltage will be checked. |
42 changes: 42 additions & 0 deletions system/system_monitor/docs/topics_voltage_monitor.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# ROS topics: Voltage Monitor

"CMOS Battery Status" and "CMOS battey voltage" are exclusive.
Only one or the other is generated.
Which one is generated depends on the value of cmos_battery_label.

## <u>CMOS Battery Status</u>

/diagnostics/voltage_monitor: CMOS Battery Status

<b>[summary]</b>

| level | message |
| ----- | ------------ |
| OK | OK |
| WARN | Battery Dead |

<b>[values]</b>

| key (example) | value (example) |
| ------------------ | ----------------- |
| CMOS battey status | OK / Battery Dead |

\*key: thermal_zone[0-9] for ARM architecture.

## <u>CMOS Battery Voltage</u>

/diagnostics/voltage_monitor: CMOS battey voltage

<b>[summary]</b>

| level | message |
| ----- | ------------ |
| OK | OK |
| WARN | Low Battery |
| WARN | Battery Died |

<b>[values]</b>

| key | value (example) |
| ------------------- | --------------- |
| CMOS battey voltage | 3.06 |
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
// 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.

/**
* @file voltage_monitor.h
* @brief voltage monitor class
*/

#ifndef SYSTEM_MONITOR__VOLTAGE_MONITOR__VOLTAGE_MONITOR_HPP_
#define SYSTEM_MONITOR__VOLTAGE_MONITOR__VOLTAGE_MONITOR_HPP_

#include <diagnostic_updater/diagnostic_updater.hpp>

#include <climits>
#include <regex>
#include <string>
class VoltageMonitor : public rclcpp::Node
{
public:
/**
* @brief constructor
* @param [in] options Options associated with this node.
*/
explicit VoltageMonitor(const rclcpp::NodeOptions & options);

/**
* @brief Update the diagnostic state.
*/
void update();

protected:
using DiagStatus = diagnostic_msgs::msg::DiagnosticStatus;

diagnostic_updater::Updater updater_; //!< @brief Updater class which advertises to /diagnostics

char hostname_[HOST_NAME_MAX + 1]; //!< @brief host name

/**
* @brief check CMOS Battey
* @param [out] stat diagnostic message passed directly to diagnostic publish calls
* @note NOLINT syntax is needed since diagnostic_updater asks for a non-const reference
* to pass diagnostic message updated in this function to diagnostic publish calls.
*/
void checkVoltage(
diagnostic_updater::DiagnosticStatusWrapper & stat); // NOLINT(runtime/references)
/**
* @brief check CMOS Battey
* @param [out] stat diagnostic message passed directly to diagnostic publish calls
* @note NOLINT syntax is needed since diagnostic_updater asks for a non-const reference
* to pass diagnostic message updated in this function to diagnostic publish calls.
*/
void checkBatteryStatus(
diagnostic_updater::DiagnosticStatusWrapper & stat); // NOLINT(runtime/references)

float voltage_warn_;
float voltage_error_;
std::string voltage_string_;
std::regex voltage_regex_;
};

#endif // SYSTEM_MONITOR__VOLTAGE_MONITOR__VOLTAGE_MONITOR_HPP_
15 changes: 15 additions & 0 deletions system/system_monitor/launch/system_monitor.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,16 @@ def launch_setup(context, *args, **kwargs):
gpu_monitor_config,
],
)
with open(LaunchConfiguration("voltage_monitor_config_file").perform(context), "r") as f:
voltage_monitor_config = yaml.safe_load(f)["/**"]["ros__parameters"]
voltage_monitor = ComposableNode(
package="system_monitor",
plugin="VoltageMonitor",
name="voltage_monitor",
parameters=[
voltage_monitor_config,
],
)

# set container to run all required components in the same process
container = ComposableNodeContainer(
Expand All @@ -111,6 +121,7 @@ def launch_setup(context, *args, **kwargs):
ntp_monitor,
process_monitor,
gpu_monitor,
voltage_monitor,
],
output="screen",
)
Expand Down Expand Up @@ -151,6 +162,10 @@ def generate_launch_description():
"gpu_monitor_config_file",
default_value=os.path.join(system_monitor_path, "gpu_monitor.param.yaml"),
),
DeclareLaunchArgument(
"voltage_monitor_config_file",
default_value=os.path.join(system_monitor_path, "voltage_monitor.param.yaml"),
),
OpaqueFunction(function=launch_setup),
]
)
4 changes: 4 additions & 0 deletions system/system_monitor/launch/system_monitor.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<arg name="ntp_monitor_config_file" default="$(find-pkg-share system_monitor)/config/ntp_monitor.param.yaml"/>
<arg name="process_monitor_config_file" default="$(find-pkg-share system_monitor)/config/process_monitor.param.yaml"/>
<arg name="gpu_monitor_config_file" default="$(find-pkg-share system_monitor)/config/gpu_monitor.param.yaml"/>
<arg name="voltage_monitor_config_file" default="$(find-pkg-share system_monitor)/config/voltage_monitor.param.yaml"/>

<group>
<node pkg="system_monitor" exec="cpu_monitor" name="cpu_monitor" output="log" respawn="true">
Expand All @@ -29,5 +30,8 @@
<node pkg="system_monitor" exec="gpu_monitor" name="gpu_monitor" output="log" respawn="true">
<param from="$(var gpu_monitor_config_file)"/>
</node>
<node pkg="system_monitor" exec="voltage_monitor" name="voltage_monitor" output="log" respawn="true">
<param from="$(var voltage_monitor_config_file)"/>
</node>
</group>
</launch>
Loading

0 comments on commit 29c3a2f

Please sign in to comment.