Commit 22d9b55
committed
fix: address review feedback on warning infrastructure
- Separate ParameterErrorCode::NONE from error cases in
classify_error_code with comment explaining it is unreachable
- Add comment to ros2_medkit_msgs explaining why ROS2MedkitWarnings
is not included (rosidl-generated code)
- Simplify format specifier in fault_manager_node: use %ld directly
instead of PRId64 + static_cast (declare_parameter<int> returns long)1 parent d2e55eb commit 22d9b55
3 files changed
Lines changed: 8 additions & 3 deletions
File tree
- src
- ros2_medkit_fault_manager/src
- ros2_medkit_gateway/src/http/handlers
- ros2_medkit_msgs
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
| |||
111 | 110 | | |
112 | 111 | | |
113 | 112 | | |
114 | | - | |
115 | | - | |
| 113 | + | |
116 | 114 | | |
117 | 115 | | |
118 | 116 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
137 | 142 | | |
138 | 143 | | |
139 | 144 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| |||
0 commit comments