Skip to content

Commit

Permalink
feat: (system_monitor) adding a node for CMOS battery monitoring (aut…
Browse files Browse the repository at this point in the history
…owarefoundation#1989)

* 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 (tier4#629)

* chore: sync files

Signed-off-by: GitHub <[email protected]>

* ci(pre-commit): autofix

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

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

Signed-off-by: Nobuo TAKAMASA <[email protected]>

* chore: sync files (tier4#648)

* chore: sync files

Signed-off-by: GitHub <[email protected]>

* Revert "chore: sync files"

This reverts commit b24f530.

Signed-off-by: Kenji Miyake <[email protected]>

* sync codecov.yaml

Signed-off-by: Kenji Miyake <[email protected]>

Co-authored-by: kenji-miyake <[email protected]>
Co-authored-by: Kenji Miyake <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

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

Signed-off-by: h-ohta <[email protected]>

* 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 <[email protected]>

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

Signed-off-by: tanaka3 <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

Signed-off-by: Kenji Miyake <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

* docs: fix 404 error caused by typo in url

Signed-off-by: Shin-kyoto <[email protected]>

* docs: fix typo in url for yolov4

Signed-off-by: Shin-kyoto <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

* fix: set imagebuffersize configured

Signed-off-by: suchang <[email protected]>

* ci(pre-commit): autofix

Co-authored-by: suchang <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

Signed-off-by: Muhammad Zulfaqar Azmi <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

Signed-off-by: Maxime CLEMENT <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

* doc(behavior_velocity): add graph and fix link

* doc(behavior_velocity): update virtual traffic light doc

Signed-off-by: tanaka3 <[email protected]>

* doc(behavior_velocity): minor fix

Signed-off-by: tanaka3 <[email protected]>

* doc : mediate to coordinate

Signed-off-by: tanaka3 <[email protected]>

* doc: minor update

Signed-off-by: tanaka3 <[email protected]>

* doc: fix pre-commit

* doc: update docs

Signed-off-by: tanaka3 <[email protected]>

* apply suggestion

* doc: to intersection-coordination

Co-authored-by: Kenji Miyake <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

* fix(surroud_obstacle_checker): use alias

Signed-off-by: satoshi-ota <[email protected]>

* feat(surround_obstacle_checker): use velocity limit

Signed-off-by: satoshi-ota <[email protected]>

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

Signed-off-by: satoshi-ota <[email protected]>

* refactor(surround_obstacle_checker): use parameter struct

Signed-off-by: satoshi-ota <[email protected]>

* fix(surround_obstacle_checker): use alias

Signed-off-by: satoshi-ota <[email protected]>

* refactor(surround_obstacle_checker): cleanup member functions

Signed-off-by: satoshi-ota <[email protected]>

* refactor(surround_obstacle_checker): cleanup polygon handling

Signed-off-by: satoshi-ota <[email protected]>

* refactor(surround_obstacle_checker): use marker helper

Signed-off-by: satoshi-ota <[email protected]>

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

Signed-off-by: satoshi-ota <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

Signed-off-by: satoshi-ota <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

* fix: update nvinfer api (tier4#863)

* fix(lidar_centerpoint): update nvinfer api

Signed-off-by: Daisuke Nishimatsu <[email protected]>

* fix(tensorrt_yolo): update nvinfer api

Signed-off-by: Daisuke Nishimatsu <[email protected]>

* fix(lidar_apollo_instance_segmentation): update nvinfer api

Signed-off-by: Daisuke Nishimatsu <[email protected]>

* fix(traffic_light_classifier): update nvinfer api

Signed-off-by: Daisuke Nishimatsu <[email protected]>

* fix(traffic_light_ssd_fine_detector): update nvinfer api

Signed-off-by: Daisuke Nishimatsu <[email protected]>

* pre-commit run

Signed-off-by: Daisuke Nishimatsu <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

* fix(avoidance_module): ignore object instead of creating zero shift (tier4#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 <[email protected]>

* refactor: sync continue with upstream

Signed-off-by: Muhammad Zulfaqar Azmi <[email protected]>

* fix: fix debug message for insufficient lateral margin

Signed-off-by: Muhammad Zulfaqar Azmi <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

Signed-off-by: Takamasa Horibe <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

* fix(autoware_testing): fix smoke_test

Signed-off-by: Keisuke Shima <[email protected]>

* restore smoke_test for trajectory_follower_nodes

Signed-off-by: Keisuke Shima <[email protected]>

* add support multiple parameter files

Signed-off-by: Keisuke Shima <[email protected]>

* ci(pre-commit): autofix

* minor fix

Signed-off-by: Keisuke Shima <[email protected]>

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

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

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

Signed-off-by: tanaka3 <[email protected]>

* chore(rviz_plugin): change ms to kmh

Signed-off-by: tanaka3 <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

* feat(vehicle_info_util): add max_steer_angle

Signed-off-by: Takayuki Murooka <[email protected]>

* applied pre-commit

Signed-off-by: Takayuki Murooka <[email protected]>

* Added max_steer_angle in test config

Signed-off-by: Takayuki Murooka <[email protected]>

Co-authored-by: Tomoya Kimura <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

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

* Update CMakeLists.txt

Co-authored-by: Kenji Miyake <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

* chore: fix typos (tier4#886)

Signed-off-by: badai-nguyen <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

* feat(state_rviz_plugin): add GateMode and PathChangeApproval Button (tier4#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 <[email protected]>

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

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

Signed-off-by: IshitaTakeshi <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Kenji Miyake <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

Signed-off-by: satoshi-ota <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

* 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 (tier4#629)

* chore: sync files

Signed-off-by: GitHub <[email protected]>

* ci(pre-commit): autofix

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

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

Signed-off-by: Nobuo TAKAMASA <[email protected]>

* chore: sync files (tier4#648)

* chore: sync files

Signed-off-by: GitHub <[email protected]>

* Revert "chore: sync files"

This reverts commit b24f530.

Signed-off-by: Kenji Miyake <[email protected]>

* sync codecov.yaml

Signed-off-by: Kenji Miyake <[email protected]>

Co-authored-by: kenji-miyake <[email protected]>
Co-authored-by: Kenji Miyake <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

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

Signed-off-by: h-ohta <[email protected]>

* 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 <[email protected]>

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

Signed-off-by: tanaka3 <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

Signed-off-by: Kenji Miyake <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

* docs: fix 404 error caused by typo in url

Signed-off-by: Shin-kyoto <[email protected]>

* docs: fix typo in url for yolov4

Signed-off-by: Shin-kyoto <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

* fix: set imagebuffersize configured

Signed-off-by: suchang <[email protected]>

* ci(pre-commit): autofix

Co-authored-by: suchang <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

Signed-off-by: Muhammad Zulfaqar Azmi <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

Signed-off-by: Maxime CLEMENT <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

* doc(behavior_velocity): add graph and fix link

* doc(behavior_velocity): update virtual traffic light doc

Signed-off-by: tanaka3 <[email protected]>

* doc(behavior_velocity): minor fix

Signed-off-by: tanaka3 <[email protected]>

* doc : mediate to coordinate

Signed-off-by: tanaka3 <[email protected]>

* doc: minor update

Signed-off-by: tanaka3 <[email protected]>

* doc: fix pre-commit

* doc: update docs

Signed-off-by: tanaka3 <[email protected]>

* apply suggestion

* doc: to intersection-coordination

Co-authored-by: Kenji Miyake <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

* fix(surroud_obstacle_checker): use alias

Signed-off-by: satoshi-ota <[email protected]>

* feat(surround_obstacle_checker): use velocity limit

Signed-off-by: satoshi-ota <[email protected]>

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

Signed-off-by: satoshi-ota <[email protected]>

* refactor(surround_obstacle_checker): use parameter struct

Signed-off-by: satoshi-ota <[email protected]>

* fix(surround_obstacle_checker): use alias

Signed-off-by: satoshi-ota <[email protected]>

* refactor(surround_obstacle_checker): cleanup member functions

Signed-off-by: satoshi-ota <[email protected]>

* refactor(surround_obstacle_checker): cleanup polygon handling

Signed-off-by: satoshi-ota <[email protected]>

* refactor(surround_obstacle_checker): use marker helper

Signed-off-by: satoshi-ota <[email protected]>

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

Signed-off-by: satoshi-ota <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

Signed-off-by: satoshi-ota <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

* fix: update nvinfer api (tier4#863)

* fix(lidar_centerpoint): update nvinfer api

Signed-off-by: Daisuke Nishimatsu <[email protected]>

* fix(tensorrt_yolo): update nvinfer api

Signed-off-by: Daisuke Nishimatsu <[email protected]>

* fix(lidar_apollo_instance_segmentation): update nvinfer api

Signed-off-by: Daisuke Nishimatsu <[email protected]>

* fix(traffic_light_classifier): update nvinfer api

Signed-off-by: Daisuke Nishimatsu <[email protected]>

* fix(traffic_light_ssd_fine_detector): update nvinfer api

Signed-off-by: Daisuke Nishimatsu <[email protected]>

* pre-commit run

Signed-off-by: Daisuke Nishimatsu <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

* fix(avoidance_module): ignore object instead of creating zero shift (tier4#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 <[email protected]>

* refactor: sync continue with upstream

Signed-off-by: Muhammad Zulfaqar Azmi <[email protected]>

* fix: fix debug message for insufficient lateral margin

Signed-off-by: Muhammad Zulfaqar Azmi <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

Signed-off-by: Takamasa Horibe <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

* fix(autoware_testing): fix smoke_test

Signed-off-by: Keisuke Shima <[email protected]>

* restore smoke_test for trajectory_follower_nodes

Signed-off-by: Keisuke Shima <[email protected]>

* add support multiple parameter files

Signed-off-by: Keisuke Shima <[email protected]>

* ci(pre-commit): autofix

* minor fix

Signed-off-by: Keisuke Shima <[email protected]>

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

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

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

Signed-off-by: tanaka3 <[email protected]>

* chore(rviz_plugin): change ms to kmh

Signed-off-by: tanaka3 <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

* feat(vehicle_info_util): add max_steer_angle

Signed-off-by: Takayuki Murooka <[email protected]>

* applied pre-commit

Signed-off-by: Takayuki Murooka <[email protected]>

* Added max_steer_angle in test config

Signed-off-by: Takayuki Murooka <[email protected]>

Co-authored-by: Tomoya Kimura <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

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

* Update CMakeLists.txt

Co-authored-by: Kenji Miyake <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

* chore: fix typos (tier4#886)

Signed-off-by: badai-nguyen <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

* feat(state_rviz_plugin): add GateMode and PathChangeApproval Button (tier4#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 <[email protected]>

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

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

Signed-off-by: IshitaTakeshi <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Kenji Miyake <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

Signed-off-by: satoshi-ota <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

* 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 <[email protected]>

* ci(pre-commit): autofix

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

* feat(behavior_path_planner): add and change parameters

Signed-off-by: yutaka <[email protected]>

* update

Signed-off-by: yutaka <[email protected]>

* update

Signed-off-by: yutaka <[email protected]>

Signed-off-by: yutaka <[email protected]>

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

* refactor(perception_util): refactor matching function in perception_util

Signed-off-by: scepter914 <[email protected]>

* fix namespace

Signed-off-by: scepter914 <[email protected]>

* refactor

Signed-off-by: scepter914 <[email protected]>

* refactor

Signed-off-by: scepter914 <[email protected]>

* fix bug

Signed-off-by: scepter914 <[email protected]>

* add const

Signed-off-by: scepter914 <[email protected]>

* refactor function name

Signed-off-by: scepter914 <[email protected]>

Signed-off-by: scepter914 <[email protected]>

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

* refactor(perception_utils): refactor object_classification

Signed-off-by: scepter914 <[email protected]>

* fix bug

Signed-off-by: scepter914 <[email protected]>

* fix unittest

Signed-off-by: scepter914 <[email protected]>

* refactor

Signed-off-by: scepter914 <[email protected]>

* fix unit test

Signed-off-by: scepter914 <[email protected]>

* remove redundant else

Signed-off-by: scepter914 <[email protected]>

* refactor variable name

Signed-off-by: scepter914 <[email protected]>

Signed-off-by: scepter914 <[email protected]>

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

Signed-off-by: Takayuki Murooka <[email protected]>

Signed-off-by: Takayuki Murooka <[email protected]>

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

Signed-off-by: Takayuki Murooka <[email protected]>

Signed-off-by: Takayuki Murooka <[email protected]>

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

* refactor(osqp_interface, motion_velocity_smoother): unsolved status log

Signed-off-by: Takayuki Murooka <[email protected]>

* Update common/osqp_interface/src/osqp_interface.cpp

Co-authored-by: Maxime CLEMENT <[email protected]>

Signed-off-by: Takayuki Murooka <[email protected]>
Co-authored-by: Maxime CLEMENT <[email protected]>

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

Signed-off-by: Kenzo Lobos-Tsunekawa <[email protected]>

Signed-off-by: Kenzo Lobos-Tsunekawa <[email protected]>
Co-authored-by: Yusuke Muramatsu <[email protected]>

* 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 (tier4#629)

* chore: sync files

Signed-off-by: GitHub <[email protected]>

* ci(pre-commit): autofix

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

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

Signed-off-by: Nobuo TAKAMASA <[email protected]>

* chore: sync files (tier4#648)

* chore: sync files

Signed-off-by: GitHub <[email protected]>

* Revert "chore: sync files"

This reverts commit b24f530.

Signed-off-by: Kenji Miyake <[email protected]>

* sync codecov.yaml

Signed-off-by: Kenji Miyake <[email protected]>

Co-authored-by: kenji-miyake <[email protected]>
Co-authored-by: Kenji Miyake <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

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

Signed-off-by: h-ohta <[email protected]>

* 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 <[email protected]>

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

Signed-off-by: tanaka3 <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

Signed-off-by: Kenji Miyake <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

* docs: fix 404 error caused by typo in url

Signed-off-by: Shin-kyoto <[email protected]>

* docs: fix typo in url for yolov4

Signed-off-by: Shin-kyoto <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

* fix: set imagebuffersize configured

Signed-off-by: suchang <[email protected]>

* ci(pre-commit): autofix

Co-authored-by: suchang <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

Signed-off-by: Muhammad Zulfaqar Azmi <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

Signed-off-by: Maxime CLEMENT <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

* doc(behavior_velocity): add graph and fix link

* doc(behavior_velocity): update virtual traffic light doc

Signed-off-by: tanaka3 <[email protected]>

* doc(behavior_velocity): minor fix

Signed-off-by: tanaka3 <[email protected]>

* doc : mediate to coordinate

Signed-off-by: tanaka3 <[email protected]>

* doc: minor update

Signed-off-by: tanaka3 <[email protected]>

* doc: fix pre-commit

* doc: update docs

Signed-off-by: tanaka3 <[email protected]>

* apply suggestion

* doc: to intersection-coordination

Co-authored-by: Kenji Miyake <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

* fix(surroud_obstacle_checker): use alias

Signed-off-by: satoshi-ota <[email protected]>

* feat(surround_obstacle_checker): use velocity limit

Signed-off-by: satoshi-ota <[email protected]>

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

Signed-off-by: satoshi-ota <[email protected]>

* refactor(surround_obstacle_checker): use parameter struct

Signed-off-by: satoshi-ota <[email protected]>

* fix(surround_obstacle_checker): use alias

Signed-off-by: satoshi-ota <[email protected]>

* refactor(surround_obstacle_checker): cleanup member functions

Signed-off-by: satoshi-ota <[email protected]>

* refactor(surround_obstacle_checker): cleanup polygon handling

Signed-off-by: satoshi-ota <[email protected]>

* refactor(surround_obstacle_checker): use marker helper

Signed-off-by: satoshi-ota <[email protected]>

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

Signed-off-by: satoshi-ota <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

Signed-off-by: satoshi-ota <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

* fix: update nvinfer api (tier4#863)

* fix(lidar_centerpoint): update nvinfer api

Signed-off-by: Daisuke Nishimatsu <[email protected]>

* fix(tensorrt_yolo): update nvinfer api

Signed-off-by: Daisuke Nishimatsu <[email protected]>

* fix(lidar_apollo_instance_segmentation): update nvinfer api

Signed-off-by: Daisuke Nishimatsu <[email protected]>

* fix(traffic_light_classifier): update nvinfer api

Signed-off-by: Daisuke Nishimatsu <[email protected]>

* fix(traffic_light_ssd_fine_detector): update nvinfer api

Signed-off-by: Daisuke Nishimatsu <[email protected]>

* pre-commit run

Signed-off-by: Daisuke Nishimatsu <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

* fix(avoidance_module): ignore object instead of creating zero shift (tier4#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 <[email protected]>

* refactor: sync continue with upstream

Signed-off-by: Muhammad Zulfaqar Azmi <[email protected]>

* fix: fix debug message for insufficient lateral margin

Signed-off-by: Muhammad Zulfaqar Azmi <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

Signed-off-by: Takamasa Horibe <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

* fix(autoware_testing): fix smoke_test

Signed-off-by: Keisuke Shima <[email protected]>

* restore smoke_test for trajectory_follower_nodes

Signed-off-by: Keisuke Shima <[email protected]>

* add support multiple parameter files

Signed-off-by: Keisuke Shima <[email protected]>

* ci(pre-commit): autofix

* minor fix

Signed-off-by: Keisuke Shima <[email protected]>

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

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

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

Signed-off-by: tanaka3 <[email protected]>

* chore(rviz_plugin): change ms to kmh

Signed-off-by: tanaka3 <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

* feat(vehicle_info_util): add max_steer_angle

Signed-off-by: Takayuki Murooka <[email protected]>

* applied pre-commit

Signed-off-by: Takayuki Murooka <[email protected]>

* Added max_steer_angle in test config

Signed-off-by: Takayuki Murooka <[email protected]>

Co-authored-by: Tomoya Kimura <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

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

* Update CMakeLists.txt

Co-authored-by: Kenji Miyake <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

* chore: fix typos (tier4#886)

Signed-off-by: badai-nguyen <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

* feat(state_rviz_plugin): add GateMode and PathChangeApproval Button (tier4#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 <[email protected]>

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

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

Signed-off-by: IshitaTakeshi <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Kenji Miyake <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

Signed-off-by: satoshi-ota <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

* 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 (tier4#629)

* chore: sync files

Signed-off-by: GitHub <[email protected]>

* ci(pre-commit): autofix

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

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

Signed-off-by: Nobuo TAKAMASA <[email protected]>

* chore: sync files (tier4#648)

* chore: sync files

Signed-off-by: GitHub <[email protected]>

* Revert "chore: sync files"

This reverts commit b24f530.

Signed-off-by: Kenji Miyake <[email protected]>

* sync codecov.yaml

Signed-off-by: Kenji Miyake <[email protected]>

Co-authored-by: kenji-miyake <[email protected]>
Co-authored-by: Kenji Miyake <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

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

Signed-off-by: h-ohta <[email protected]>

* 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 <[email protected]>

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

Signed-off-by: tanaka3 <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

Signed-off-by: Kenji Miyake <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

* docs: fix 404 error caused by typo in url

Signed-off-by: Shin-kyoto <[email protected]>

* docs: fix typo in url for yolov4

Signed-off-by: Shin-kyoto <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

* fix: set imagebuffersize configured

Signed-off-by: suchang <[email protected]>

* ci(pre-commit): autofix

Co-authored-by: suchang <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

Signed-off-by: Muhammad Zulfaqar Azmi <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

Signed-off-by: Maxime CLEMENT <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

* doc(behavior_velocity): add graph and fix link

* doc(behavior_velocity): update virtual traffic light doc

Signed-off-by: tanaka3 <[email protected]>

* doc(behavior_velocity): minor fix

Signed-off-by: tanaka3 <[email protected]>

* doc : mediate to coordinate

Signed-off-by: tanaka3 <[email protected]>

* doc: minor update

Signed-off-by: tanaka3 <[email protected]>

* doc: fix pre-commit

* doc: update docs

Signed-off-by: tanaka3 <[email protected]>

* apply suggestion

* doc: to intersection-coordination

Co-authored-by: Kenji Miyake <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

* fix(surroud_obstacle_checker): use alias

Signed-off-by: satoshi-ota <[email protected]>

* feat(surround_obstacle_checker): use velocity limit

Signed-off-by: satoshi-ota <[email protected]>

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

Signed-off-by: satoshi-ota <[email protected]>

* refactor(surround_obstacle_checker): use parameter struct

Signed-off-by: satoshi-ota <[email protected]>

* fix(surround_obstacle_checker): use alias

Signed-off-by: satoshi-ota <[email protected]>

* refactor(surround_obstacle_checker): cleanup member functions

Signed-off-by: satoshi-ota <[email protected]>

* refactor(surround_obstacle_checker): cleanup polygon handling

Signed-off-by: satoshi-ota <[email protected]>

* refactor(surround_obstacle_checker): use marker helper

Signed-off-by: satoshi-ota <[email protected]>

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

Signed-off-by: satoshi-ota <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

Signed-off-by: satoshi-ota <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

* fix: update nvinfer api (tier4#863)

* fix(lidar_centerpoint): update nvinfer api

Signed-off-by: Daisuke Nishimatsu <[email protected]>

* fix(tensorrt_yolo): update nvinfer api

Signed-off-by: Daisuke Nishimatsu <[email protected]>

* fix(lidar_apollo_instance_segmentation): update nvinfer api

Signed-off-by: Daisuke Nishimatsu <[email protected]>

* fix(traffic_light_classifier): update nvinfer api

Signed-off-by: Daisuke Nishimatsu <[email protected]>

* fix(traffic_light_ssd_fine_detector): update nvinfer api

Signed-off-by: Daisuke Nishimatsu <[email protected]>

* pre-commit run

Signed-off-by: Daisuke Nishimatsu <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

* fix(avoidance_module): ignore object instead of creating zero shift (tier4#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 <[email protected]>

* refactor: sync continue with upstream

Signed-off-by: Muhammad Zulfaqar Azmi <[email protected]>

* fix: fix debug message for insufficient lateral margin

Signed-off-by: Muhammad Zulfaqar Azmi <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

Signed-off-by: Takamasa Horibe <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

* fix(autoware_testing): fix smoke_test

Signed-off-by: Keisuke Shima <[email protected]>

* restore smoke_test for trajectory_follower_nodes

Signed-off-by: Keisuke Shima <[email protected]>

* add support multiple parameter files

Signed-off-by: Keisuke Shima <[email protected]>

* ci(pre-commit): autofix

* minor fix

Signed-off-by: Keisuke Shima <[email protected]>

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

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

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

Signed-off-by: tanaka3 <[email protected]>

* chore(rviz_plugin): change ms to kmh

Signed-off-by: tanaka3 <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

* feat(vehicle_info_util): add max_steer_angle

Signed-off-by: Takayuki Murooka <[email protected]>

* applied pre-commit

Signed-off-by: Takayuki Murooka <[email protected]>

* Added max_steer_angle in test config

Signed-off-by: Takayuki Murooka <[email protected]>

Co-authored-by: Tomoya Kimura <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

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

* Update CMakeLists.txt

Co-authored-by: Kenji Miyake <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

* chore: fix typos (tier4#886)

Signed-off-by: badai-nguyen <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

* feat(state_rviz_plugin): add GateMode and PathChangeApproval Button (tier4#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 <[email protected]>

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

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

Signed-off-by: IshitaTakeshi <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Kenji Miyake <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

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

Signed-off-by: satoshi-ota <[email protected]>
Signed-off-by: Nobuo TAKAMASA <[email protected]>

* 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 <[email protected]>

* ci(pre-commit): autofix

* ci(pre-commit): autofix

* ci(pre-commit): autofix

* fixed conflict manually

Signed-off-by: Nobuo TAKAMASA <[email protected]>

* fixed conflict manually

Signed-off-by: Nobuo TAKAMASA <[email protected]>

* ci(pre-commit): autofix

* fixed conflict

Signed-off-by: Nobuo TAKAMASA <[email protected]>

* fixed conflict

Signed-off-by: Nobuo TAKAMASA <[email protected]>

* ci(pre-commit): autofix

Signed-off-by: Nobuo TAKAMASA <[email protected]>
Signed-off-by: tanaka3 <[email protected]>
Signed-off-by: Kenji Miyake <[email protected]>
Signed-off-by: Shin-kyoto <[email protected]>
Signed-off-by: Muhammad Zulfaqar Azmi <[email protected]>
Signed-off-by: Maxime CLEMENT <[email protected]>
Signed-off-by: satoshi-ota <[email protected]>
Signed-off-by: Daisuke Nishimatsu <[email protected]>
Signed-off-by: Takamasa Horibe <[email protected]>
Signed-off-by: badai-nguyen <[email protected]>
Signed-off-by: IshitaTakeshi <[email protected]>
Signed-off-by: yutaka <[email protected]>
Signed-off-by: scepter914 <[email protected]>
Signed-off-by: Takayuki Murooka <[email protected]>
Signed-off-by: Kenzo Lobos-Tsunekawa <[email protected]>
Co-authored-by: ito-san <[email protected]>
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 <[email protected]>
Co-authored-by: Hiroki OTA <[email protected]>
Co-authored-by: Kenji Miyake <[email protected]>
Co-authored-by: taikitanaka3 <[email protected]>
Co-authored-by: Kenji Miyake <[email protected]>
Co-authored-by: Shintaro Tomie <[email protected]>
Co-authored-by: storrrrrrrrm <[email protected]>
Co-authored-by: suchang <[email protected]>
Co-authored-by: Zulfaqar Azmi <[email protected]>
Co-authored-by: Maxime CLEMENT <[email protected]>
Co-authored-by: Satoshi OTA <[email protected]>
Co-authored-by: Daisuke Nishimatsu <[email protected]>
Co-authored-by: Takamasa Horibe <[email protected]>
Co-authored-by: Keisuke Shima <[email protected]>
Co-authored-by: Takayuki Murooka <[email protected]>
Co-authored-by: Tomoya Kimura <[email protected]>
Co-authored-by: badai nguyen <[email protected]>
Co-authored-by: Takeshi Ishita <[email protected]>
Co-authored-by: Yutaka Shimizu <[email protected]>
Co-authored-by: Satoshi Tanaka <[email protected]>
Co-authored-by: Kenzo Lobos Tsunekawa <[email protected]>
Co-authored-by: Yusuke Muramatsu <[email protected]>
  • 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.