File tree 1 file changed +15
-0
lines changed
clearpath_generator_common/clearpath_generator_common/param
1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -221,6 +221,21 @@ def __init__(self,
221
221
def generate_parameters (self , use_sim_time : bool = False ) -> None :
222
222
super ().generate_parameters (use_sim_time )
223
223
224
+ # Add MCU diagnostic category for all platforms except A200
225
+ if self .clearpath_config .get_platform_model () != Platform .A200 :
226
+ self .param_file .update (
227
+ {self .DIAGNOSTIC_AGGREGATOR_NODE : {
228
+ 'platform' : {
229
+ 'analyzers' : {
230
+ 'mcu' : {
231
+ 'type' : 'diagnostic_aggregator/GenericAnalyzer' ,
232
+ 'path' : 'MCU' ,
233
+ 'expected' : [
234
+ 'clearpath_diagnostic_updater: MCU Firmware Version' ,
235
+ 'clearpath_diagnostic_updater: MCU Status'
236
+ ],
237
+ 'contains' : ['MCU' ]}}}}})
238
+
224
239
sensor_analyzers = {}
225
240
226
241
# List all topics to be monitored from each launched sensor
You can’t perform that action at this time.
0 commit comments