File tree 1 file changed +22
-0
lines changed
clearpath_generator_common/clearpath_generator_common/param
1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -236,6 +236,28 @@ def generate_parameters(self, use_sim_time: bool = False) -> None:
236
236
],
237
237
'contains' : ['MCU' ]}}}}})
238
238
239
+ # Add cooling for A300 only for now
240
+ if self .clearpath_config .get_platform_model () == Platform .A300 :
241
+ self .param_file .update (
242
+ {self .DIAGNOSTIC_AGGREGATOR_NODE : {
243
+ 'platform' : {
244
+ 'analyzers' : {
245
+ 'cooling' : {
246
+ 'type' : 'diagnostic_aggregator/GenericAnalyzer' ,
247
+ 'path' : 'Cooling' ,
248
+ 'contains' : [ 'Fan' , 'Thermal' ]}}}}})
249
+
250
+ if self .clearpath_config .platform .enable_ekf :
251
+ self .param_file .update (
252
+ {self .DIAGNOSTIC_AGGREGATOR_NODE : {
253
+ 'platform' : {
254
+ 'analyzers' : {
255
+ 'odometry' : {
256
+ 'expected' : [
257
+ 'ekf_node: Filter diagnostic updater' ,
258
+ 'ekf_node: odometry/filtered topic status' ,
259
+ ]}}}}})
260
+
239
261
sensor_analyzers = {}
240
262
241
263
# List all topics to be monitored from each launched sensor
You can’t perform that action at this time.
0 commit comments