Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

feat: (system_monitor) adding a node for CMOS battery monitoring #1989

Merged
merged 352 commits into from
Oct 20, 2022
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
352 commits
Select commit Hold shift + click to select a range
404d482
Merge branch 'feature_battery_monitoring' of github.com:nobuotakamasa…
nobuotakamasa Sep 15, 2022
1127db0
Merge branch 'main' into feature_battery_monitoring
ito-san Sep 15, 2022
ac71858
adding document for voltage monitor
nobuotakamasa Sep 15, 2022
e9ac01b
Merge branch 'feature_battery_monitoring' of github.com:nobuotakamasa…
nobuotakamasa Sep 15, 2022
fe9a0e7
ci(pre-commit): autofix
pre-commit-ci[bot] Sep 15, 2022
130a26f
fixed for the issue of multithread
nobuotakamasa Sep 16, 2022
ac27afc
Merge branch 'feature_battery_monitoring' of github.com:nobuotakamasa…
nobuotakamasa Sep 16, 2022
a967023
Fixed the lack for processing of Error case.
nobuotakamasa Sep 16, 2022
1d6aec3
deleted magic number 200
nobuotakamasa Sep 17, 2022
4da19ec
ci(pre-commit): autofix
pre-commit-ci[bot] Sep 17, 2022
46ed333
moved voltage_mnitor to tha last
nobuotakamasa Sep 19, 2022
8777e99
minimizing between try-catch.
nobuotakamasa Sep 19, 2022
453f58b
Merge branch 'feature_battery_monitoring' of github.com:nobuotakamasa…
nobuotakamasa Sep 19, 2022
a1b5d34
ci(pre-commit): autofix
pre-commit-ci[bot] Sep 19, 2022
5a4305f
deleted unused files
nobuotakamasa Sep 19, 2022
87005a8
Merge branch 'feature_battery_monitoring' of github.com:nobuotakamasa…
nobuotakamasa Sep 20, 2022
d6bd81c
added default vlue of cmos_battery_voltage
nobuotakamasa Sep 20, 2022
50ffba3
changed the label name to cmos_battery_label.
nobuotakamasa Sep 20, 2022
d5d76f0
adding language specified
nobuotakamasa Sep 20, 2022
8a9c81a
Merge remote-tracking branch 'fork_master/main' into main
nobuotakamasa Sep 20, 2022
8c1f3bd
Merge branch 'main' into feature_battery_monitoring
nobuotakamasa Sep 20, 2022
249a92b
resolved conflict
nobuotakamasa Sep 20, 2022
21e2d11
resolved conflict
nobuotakamasa Sep 20, 2022
90d32eb
resolved conflict
nobuotakamasa Sep 20, 2022
5281ea1
Merge branch 'main' into feature_battery_monitoring
nobuotakamasa Sep 20, 2022
afb4dd5
ci(pre-commit): autofix
pre-commit-ci[bot] Sep 20, 2022
b8c2299
Merge branch 'feature_battery_monitoring' into main
nobuotakamasa Sep 22, 2022
48bba11
Merge branch 'feature_battery_monitoring' of github.com:nobuotakamasa…
nobuotakamasa Sep 22, 2022
f6b3435
Merge remote-tracking branch 'fork_master/main' into main
nobuotakamasa Sep 24, 2022
30c664d
Merge branch 'main' into feature_battery_monitoring
nobuotakamasa Sep 24, 2022
4c71fd9
added topics_voltage_monitor.md)
nobuotakamasa Sep 24, 2022
cb137ce
ci(pre-commit): autofix
pre-commit-ci[bot] Sep 24, 2022
669196c
Merge remote-tracking branch 'fork_master/main' into main
nobuotakamasa Sep 24, 2022
c399abd
Merge branch 'main' into feature_battery_monitoring
nobuotakamasa Sep 24, 2022
9173c77
Merge branch 'feature_battery_monitoring' of github.com:nobuotakamasa…
nobuotakamasa Sep 24, 2022
66f9d44
chore: sync files (#629)
awf-autoware-bot[bot] Apr 5, 2022
6d7caf2
fix(dummy_diag_publisher): use anon to make unique node name instead …
h-ohta Apr 6, 2022
332eeda
chore: sync files (#648)
awf-autoware-bot[bot] Apr 9, 2022
52117e5
fix(autoware_state_panel): fix message type for /api/autoware/get/eng…
h-ohta Apr 11, 2022
d72c094
fix(behavior_velocity): avoid insert same point on trajectory utils (…
taikitanaka3 May 9, 2022
49c81bd
refactor(behavior_velocity_planner): simplify CMakeLists.txt (#855)
kenji-miyake May 9, 2022
9a22fa8
docs: fix 404 error caused by typo in url (#871)
Shin-kyoto May 9, 2022
003545f
fix(image_projection_based_fusion): set imagebuffersize (#820)
storrrrrrrrm May 9, 2022
78527c9
chore(avoidance_module): fix spell check (#732)
zulfaqar-azmi-t4 May 9, 2022
17acf87
feat: isolate gtests in all packages (#693)
maxime-clem May 9, 2022
8b78fb2
docs(virtual traffic light): add documentation (#245)
taikitanaka3 May 9, 2022
c3de75d
feat(surround_obstacle_checker): separate surround_obstacle_checker f…
satoshi-ota May 9, 2022
0886ab5
fix(surround_obstacle_checker): fix ego footprint polygon (#877)
satoshi-ota May 10, 2022
85c13af
fix: update nvinfer api (#863)
wep21 May 10, 2022
ac3eb2a
fix(avoidance_module): ignore object instead of creating zero shift (…
zulfaqar-azmi-t4 May 10, 2022
26ef9e0
fix(motion_velocity_smoother): curve deceleration not working with a …
TakaHoribe May 10, 2022
ca7054e
test(autoware_testing): fix smoke_test (#479)
KeisukeShima May 10, 2022
2704f72
feat(rviz_plugins): add velocity limit to autoware state panel (#879)
taikitanaka3 May 11, 2022
f562dd2
feat(vehicle_info_util): add max_steer_angle (#740)
takayuki5168 May 11, 2022
2d9f066
fix(lidar_centerpoint): fix google drive url to avoid 404 (#889)
h-ohta May 12, 2022
d9565f4
chore: fix typos (#886)
badai-nguyen May 12, 2022
8a65f97
feat(state_rviz_plugin): add GateMode and PathChangeApproval Button (…
h-ohta May 13, 2022
d627ad3
feat(map_tf_generator): accelerate the 'viewer' coordinate calculatio…
IshitaTakeshi May 13, 2022
bf19eaf
docs(obstacle_stop_planner): update documentation (#880)
satoshi-ota May 13, 2022
5dd355d
ci(pre-commit): autofix
pre-commit-ci[bot] Sep 25, 2022
f621f1f
fixed conflicts
nobuotakamasa Sep 25, 2022
4145326
ci(pre-commit): autofix
pre-commit-ci[bot] Sep 25, 2022
d29f730
merged fork-origin
nobuotakamasa Sep 25, 2022
3cd5051
merged
nobuotakamasa Sep 25, 2022
dbf70c2
resolve conflict
nobuotakamasa Sep 25, 2022
9771e97
Merge branch 'main' into feature_battery_monitoring
nobuotakamasa Sep 25, 2022
e5ceb1f
ci(pre-commit): autofix
pre-commit-ci[bot] Sep 25, 2022
394d834
deleted
nobuotakamasa Sep 25, 2022
192bc14
added "Voltage Monitor"
nobuotakamasa Sep 25, 2022
d707778
Merge branch 'feature_battery_monitoring' of github.com:nobuotakamasa…
nobuotakamasa Sep 25, 2022
e63f26f
merged with main->feature_battery_monitoring
nobuotakamasa Sep 26, 2022
534e1f7
merge main ->feature_battery_monitoring
nobuotakamasa Sep 26, 2022
2ea2a7a
Merge remote-tracking branch 'fork_master/main' into main
nobuotakamasa Sep 26, 2022
1e303a9
Merge branch 'main' into feature_battery_monitoring
nobuotakamasa Sep 26, 2022
d9ea4d7
ci(pre-commit): autofix
pre-commit-ci[bot] Sep 17, 2022
9e800c9
added default vlue of cmos_battery_voltage
nobuotakamasa Sep 20, 2022
5783f60
Merge remote-tracking branch 'fork_master/main' into main
nobuotakamasa Sep 29, 2022
5520ce7
first commit
nobuotakamasa Sep 29, 2022
649c509
resolved conflict
nobuotakamasa Sep 20, 2022
80ba798
resolved conflict
nobuotakamasa Sep 20, 2022
6c49953
Merge remote-tracking branch 'fork_master/main' into main
nobuotakamasa Oct 3, 2022
9878fec
ci(pre-commit): autofix
pre-commit-ci[bot] Oct 3, 2022
9339a75
added topics_voltage_monitor.md)
nobuotakamasa Sep 24, 2022
856e2f1
Merge branch 'feature_battery_monitoring_2' of github.com:nobuotakama…
nobuotakamasa Oct 4, 2022
5890a08
ci(pre-commit): autofix
pre-commit-ci[bot] Oct 4, 2022
12a440f
ci(pre-commit): autofix
pre-commit-ci[bot] Sep 24, 2022
f15de2e
Merge branch 'feature_battery_monitoring_2' of github.com:nobuotakama…
nobuotakamasa Oct 4, 2022
ca607e1
ci(pre-commit): autofix
pre-commit-ci[bot] Oct 4, 2022
3793c91
chore: sync files (#629)
awf-autoware-bot[bot] Apr 5, 2022
1bd35b1
fix(dummy_diag_publisher): use anon to make unique node name instead …
h-ohta Apr 6, 2022
cb3649d
chore: sync files (#648)
awf-autoware-bot[bot] Apr 9, 2022
a09e394
fix(autoware_state_panel): fix message type for /api/autoware/get/eng…
h-ohta Apr 11, 2022
cd36213
fix(behavior_velocity): avoid insert same point on trajectory utils (…
taikitanaka3 May 9, 2022
28771e6
refactor(behavior_velocity_planner): simplify CMakeLists.txt (#855)
kenji-miyake May 9, 2022
4b9c76c
docs: fix 404 error caused by typo in url (#871)
Shin-kyoto May 9, 2022
4d978f8
fix(image_projection_based_fusion): set imagebuffersize (#820)
storrrrrrrrm May 9, 2022
51d54c5
chore(avoidance_module): fix spell check (#732)
zulfaqar-azmi-t4 May 9, 2022
147a0f6
feat: isolate gtests in all packages (#693)
maxime-clem May 9, 2022
60fc3ea
docs(virtual traffic light): add documentation (#245)
taikitanaka3 May 9, 2022
253d757
feat(surround_obstacle_checker): separate surround_obstacle_checker f…
satoshi-ota May 9, 2022
e9690d3
fix(surround_obstacle_checker): fix ego footprint polygon (#877)
satoshi-ota May 10, 2022
c0c6475
fix: update nvinfer api (#863)
wep21 May 10, 2022
a2f1caf
fix(avoidance_module): ignore object instead of creating zero shift (…
zulfaqar-azmi-t4 May 10, 2022
ddef6a5
fix(motion_velocity_smoother): curve deceleration not working with a …
TakaHoribe May 10, 2022
439ee3a
test(autoware_testing): fix smoke_test (#479)
KeisukeShima May 10, 2022
f4cf86e
feat(rviz_plugins): add velocity limit to autoware state panel (#879)
taikitanaka3 May 11, 2022
0e1eaee
feat(vehicle_info_util): add max_steer_angle (#740)
takayuki5168 May 11, 2022
8b7cbe9
fix(lidar_centerpoint): fix google drive url to avoid 404 (#889)
h-ohta May 12, 2022
686a6c1
chore: fix typos (#886)
badai-nguyen May 12, 2022
9bece5e
feat(state_rviz_plugin): add GateMode and PathChangeApproval Button (…
h-ohta May 13, 2022
517705f
feat(map_tf_generator): accelerate the 'viewer' coordinate calculatio…
IshitaTakeshi May 13, 2022
bacfef1
docs(obstacle_stop_planner): update documentation (#880)
satoshi-ota May 13, 2022
2594690
ci(pre-commit): autofix
pre-commit-ci[bot] Sep 25, 2022
c589aee
fixed conflicts
nobuotakamasa Sep 25, 2022
7152dfe
ci(pre-commit): autofix
pre-commit-ci[bot] Sep 25, 2022
b8c62e4
resolve conflict
nobuotakamasa Sep 25, 2022
9765ac4
ci(pre-commit): autofix
pre-commit-ci[bot] Sep 25, 2022
5749312
merged with main->feature_battery_monitoring
nobuotakamasa Sep 26, 2022
907d7eb
merge main ->feature_battery_monitoring
nobuotakamasa Sep 26, 2022
c595902
Added voltages are provisional values.
nobuotakamasa Oct 17, 2022
32779bc
Merge branch 'feature_battery_monitoring_2' of github.com:nobuotakama…
nobuotakamasa Oct 17, 2022
9bb3dce
ci(pre-commit): autofix
pre-commit-ci[bot] Oct 17, 2022
f025bbd
Merge branch 'main' into feature_battery_monitoring_2
ito-san Oct 17, 2022
658a735
Merge remote-tracking branch 'fork_master/main' into main
nobuotakamasa Oct 18, 2022
45fdda9
feat(behavior_path_planner): add turn signal parameters (#2086)
purewater0901 Oct 18, 2022
7016803
refactor(perception_utils): refactor matching function in perception_…
scepter914 Oct 18, 2022
5d0aef2
refactor(perception_utils): refactor object_classification (#2042)
scepter914 Oct 18, 2022
51c2e7e
feat(autoware_auto_perception_rviz_plugin): add accel text visualizat…
takayuki5168 Oct 18, 2022
8a7f72a
refactor(motion_utils, obstacle_cruise_planner): add offset to virtua…
takayuki5168 Oct 18, 2022
9c1d01f
refactor(osqp_interface, motion_velocity_smoother): unsolved status l…
takayuki5168 Oct 18, 2022
e77c89c
feat(lidar_centerpoint): eliminated the tf dependency for single fram…
knzo25 Oct 18, 2022
24d1e32
Merge branch 'main' into feature_battery_monitoring_2
nobuotakamasa Oct 18, 2022
d79dce1
change name hardware_monitor -> voltage_monitor
nobuotakamasa Sep 12, 2022
a7d1250
copy right 2020 -> 2022
nobuotakamasa Sep 13, 2022
cbf9960
delete duplicated lines
nobuotakamasa Sep 13, 2022
e2bfb24
fix: catch exception, remove sensors_exists_
nobuotakamasa Sep 14, 2022
2dad904
adding error message output
nobuotakamasa Sep 15, 2022
80557a4
ci(pre-commit): autofix
pre-commit-ci[bot] Sep 14, 2022
8edbd5c
ci(pre-commit): autofix
pre-commit-ci[bot] Sep 15, 2022
1162c16
adding document for voltage monitor
nobuotakamasa Sep 15, 2022
1bb564a
fixed for the issue of multithread
nobuotakamasa Sep 16, 2022
06960ce
ci(pre-commit): autofix
pre-commit-ci[bot] Sep 15, 2022
95e08b2
Fixed the lack for processing of Error case.
nobuotakamasa Sep 16, 2022
555d43a
deleted magic number 200
nobuotakamasa Sep 17, 2022
536a058
moved voltage_mnitor to tha last
nobuotakamasa Sep 19, 2022
4c88105
minimizing between try-catch.
nobuotakamasa Sep 19, 2022
d5c6804
ci(pre-commit): autofix
pre-commit-ci[bot] Sep 19, 2022
dc56934
added default vlue of cmos_battery_voltage
nobuotakamasa Sep 20, 2022
f21a08a
changed the label name to cmos_battery_label.
nobuotakamasa Sep 20, 2022
a38025e
adding language specified
nobuotakamasa Sep 20, 2022
581f236
resolved conflict
nobuotakamasa Sep 20, 2022
7e4caf8
resolved conflict
nobuotakamasa Sep 20, 2022
61dded1
ci(pre-commit): autofix
pre-commit-ci[bot] Sep 20, 2022
fbf9d41
added topics_voltage_monitor.md)
nobuotakamasa Sep 24, 2022
3aba8d8
ci(pre-commit): autofix
pre-commit-ci[bot] Sep 24, 2022
e4258aa
chore: sync files (#629)
awf-autoware-bot[bot] Apr 5, 2022
a37250d
fix(dummy_diag_publisher): use anon to make unique node name instead …
h-ohta Apr 6, 2022
1943653
chore: sync files (#648)
awf-autoware-bot[bot] Apr 9, 2022
2782a44
fix(autoware_state_panel): fix message type for /api/autoware/get/eng…
h-ohta Apr 11, 2022
f9ad5e9
fix(behavior_velocity): avoid insert same point on trajectory utils (…
taikitanaka3 May 9, 2022
f226870
refactor(behavior_velocity_planner): simplify CMakeLists.txt (#855)
kenji-miyake May 9, 2022
be3f7a1
docs: fix 404 error caused by typo in url (#871)
Shin-kyoto May 9, 2022
2902218
fix(image_projection_based_fusion): set imagebuffersize (#820)
storrrrrrrrm May 9, 2022
509e68b
chore(avoidance_module): fix spell check (#732)
zulfaqar-azmi-t4 May 9, 2022
53e6189
feat: isolate gtests in all packages (#693)
maxime-clem May 9, 2022
6e79c3c
docs(virtual traffic light): add documentation (#245)
taikitanaka3 May 9, 2022
6e0cfa6
feat(surround_obstacle_checker): separate surround_obstacle_checker f…
satoshi-ota May 9, 2022
3ea1622
fix(surround_obstacle_checker): fix ego footprint polygon (#877)
satoshi-ota May 10, 2022
2559ca9
fix: update nvinfer api (#863)
wep21 May 10, 2022
9a18486
fix(avoidance_module): ignore object instead of creating zero shift (…
zulfaqar-azmi-t4 May 10, 2022
0f0803e
fix(motion_velocity_smoother): curve deceleration not working with a …
TakaHoribe May 10, 2022
d2e8c09
test(autoware_testing): fix smoke_test (#479)
KeisukeShima May 10, 2022
ac5b4c3
feat(rviz_plugins): add velocity limit to autoware state panel (#879)
taikitanaka3 May 11, 2022
15187a7
feat(vehicle_info_util): add max_steer_angle (#740)
takayuki5168 May 11, 2022
df11567
fix(lidar_centerpoint): fix google drive url to avoid 404 (#889)
h-ohta May 12, 2022
1bcc40b
chore: fix typos (#886)
badai-nguyen May 12, 2022
3330007
feat(state_rviz_plugin): add GateMode and PathChangeApproval Button (…
h-ohta May 13, 2022
53a365c
feat(map_tf_generator): accelerate the 'viewer' coordinate calculatio…
IshitaTakeshi May 13, 2022
9ba9eb4
docs(obstacle_stop_planner): update documentation (#880)
satoshi-ota May 13, 2022
3f56eb6
ci(pre-commit): autofix
pre-commit-ci[bot] Sep 25, 2022
d78ee75
fixed conflicts
nobuotakamasa Sep 25, 2022
e420d2b
ci(pre-commit): autofix
pre-commit-ci[bot] Sep 25, 2022
7339ec9
resolve conflict
nobuotakamasa Sep 25, 2022
6d42402
deleted
nobuotakamasa Sep 25, 2022
7ce51e2
added "Voltage Monitor"
nobuotakamasa Sep 25, 2022
b73c08b
ci(pre-commit): autofix
pre-commit-ci[bot] Sep 25, 2022
20d35af
merged with main->feature_battery_monitoring
nobuotakamasa Sep 26, 2022
f4a4aff
merge main ->feature_battery_monitoring
nobuotakamasa Sep 26, 2022
2a93285
ci(pre-commit): autofix
pre-commit-ci[bot] Sep 17, 2022
9115ade
added default vlue of cmos_battery_voltage
nobuotakamasa Sep 20, 2022
f0c979a
resolved conflict
nobuotakamasa Sep 20, 2022
889797a
resolved conflict
nobuotakamasa Sep 20, 2022
cfa7935
added topics_voltage_monitor.md)
nobuotakamasa Sep 24, 2022
97a6fe5
ci(pre-commit): autofix
pre-commit-ci[bot] Oct 3, 2022
1678173
ci(pre-commit): autofix
pre-commit-ci[bot] Sep 24, 2022
6633801
ci(pre-commit): autofix
pre-commit-ci[bot] Oct 4, 2022
65e840f
chore: sync files (#629)
awf-autoware-bot[bot] Apr 5, 2022
d42229d
fix(dummy_diag_publisher): use anon to make unique node name instead …
h-ohta Apr 6, 2022
f4bd3f3
chore: sync files (#648)
awf-autoware-bot[bot] Apr 9, 2022
53a873c
fix(autoware_state_panel): fix message type for /api/autoware/get/eng…
h-ohta Apr 11, 2022
1cab1cd
fix(behavior_velocity): avoid insert same point on trajectory utils (…
taikitanaka3 May 9, 2022
c0c6ef9
refactor(behavior_velocity_planner): simplify CMakeLists.txt (#855)
kenji-miyake May 9, 2022
2cc0e80
docs: fix 404 error caused by typo in url (#871)
Shin-kyoto May 9, 2022
0ddd037
fix(image_projection_based_fusion): set imagebuffersize (#820)
storrrrrrrrm May 9, 2022
62dfdc5
chore(avoidance_module): fix spell check (#732)
zulfaqar-azmi-t4 May 9, 2022
a867b05
feat: isolate gtests in all packages (#693)
maxime-clem May 9, 2022
c20ec2e
docs(virtual traffic light): add documentation (#245)
taikitanaka3 May 9, 2022
b7b816f
feat(surround_obstacle_checker): separate surround_obstacle_checker f…
satoshi-ota May 9, 2022
d7b1ffd
fix(surround_obstacle_checker): fix ego footprint polygon (#877)
satoshi-ota May 10, 2022
6933c98
fix: update nvinfer api (#863)
wep21 May 10, 2022
9a2d227
fix(avoidance_module): ignore object instead of creating zero shift (…
zulfaqar-azmi-t4 May 10, 2022
7fc67e2
fix(motion_velocity_smoother): curve deceleration not working with a …
TakaHoribe May 10, 2022
c4feddb
test(autoware_testing): fix smoke_test (#479)
KeisukeShima May 10, 2022
77e04ca
feat(rviz_plugins): add velocity limit to autoware state panel (#879)
taikitanaka3 May 11, 2022
cbf6cfa
feat(vehicle_info_util): add max_steer_angle (#740)
takayuki5168 May 11, 2022
a1ddbef
fix(lidar_centerpoint): fix google drive url to avoid 404 (#889)
h-ohta May 12, 2022
f19958a
chore: fix typos (#886)
badai-nguyen May 12, 2022
353f4e8
feat(state_rviz_plugin): add GateMode and PathChangeApproval Button (…
h-ohta May 13, 2022
f97b3c5
feat(map_tf_generator): accelerate the 'viewer' coordinate calculatio…
IshitaTakeshi May 13, 2022
1b1d9b9
docs(obstacle_stop_planner): update documentation (#880)
satoshi-ota May 13, 2022
4bbc7e4
ci(pre-commit): autofix
pre-commit-ci[bot] Sep 25, 2022
7cf977d
fixed conflicts
nobuotakamasa Sep 25, 2022
1726f51
ci(pre-commit): autofix
pre-commit-ci[bot] Sep 25, 2022
5688175
resolve conflict
nobuotakamasa Sep 25, 2022
451b27d
ci(pre-commit): autofix
pre-commit-ci[bot] Sep 25, 2022
8c066e8
merged with main->feature_battery_monitoring
nobuotakamasa Sep 26, 2022
1bab3d1
merge main ->feature_battery_monitoring
nobuotakamasa Sep 26, 2022
3fdd45e
Added voltages are provisional values.
nobuotakamasa Oct 17, 2022
78c3936
ci(pre-commit): autofix
pre-commit-ci[bot] Oct 4, 2022
b43e198
ci(pre-commit): autofix
pre-commit-ci[bot] Oct 17, 2022
da703c3
Merge branch 'feature_battery_monitoring_2' of github.com:nobuotakama…
nobuotakamasa Oct 18, 2022
75cb8f8
Merge branch 'main' into feature_battery_monitoring_2
nobuotakamasa Oct 18, 2022
e9c8482
ci(pre-commit): autofix
pre-commit-ci[bot] Oct 18, 2022
f9557a8
fixed conflict manually
nobuotakamasa Oct 18, 2022
edf70cf
fixed conflict manually
nobuotakamasa Oct 18, 2022
e62484e
Merge branch 'feature_battery_monitoring_2' of github.com:nobuotakama…
nobuotakamasa Oct 18, 2022
6ea4b47
ci(pre-commit): autofix
pre-commit-ci[bot] Oct 18, 2022
f6df460
fixed conflict
nobuotakamasa Oct 18, 2022
a523653
Merge branch 'feature_battery_monitoring_2' of github.com:nobuotakama…
nobuotakamasa Oct 18, 2022
f8d489e
Merge branch 'main' into feature_battery_monitoring_2
nobuotakamasa Oct 19, 2022
bbdbbac
Merge branch 'main' into feature_battery_monitoring_2
ito-san Oct 20, 2022
6167492
Merge remote-tracking branch 'fork_master/main' into main
nobuotakamasa Oct 20, 2022
5d4f813
Merge branch 'main' into feature_battery_monitoring_2
nobuotakamasa Oct 20, 2022
5d1a215
Merge branch 'feature_battery_monitoring_2' of github.com:nobuotakama…
nobuotakamasa Oct 20, 2022
210f2f8
fixed conflict
nobuotakamasa Oct 20, 2022
a79bf98
Merge branch 'main' into feature_battery_monitoring_2
ito-san Oct 20, 2022
de2ae66
ci(pre-commit): autofix
pre-commit-ci[bot] Oct 20, 2022
71009b7
Merge remote-tracking branch 'fork_master/main' into main
nobuotakamasa Oct 20, 2022
0c0a586
Merge branch 'main' into feature_battery_monitoring_2
nobuotakamasa Oct 20, 2022
35a4d76
Merge branch 'feature_battery_monitoring_2' of github.com:nobuotakama…
nobuotakamasa Oct 20, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,78 @@
// 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>
<<<<<<< HEAD
=======
== == == =
>>>>>>> 24d1e32bf92ddae1a1a7b5d93ae54ab99099bd8d
>>>>>>> e9c848290a1c083b8c0d81b195b0398f5ce301d9

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