@@ -75,8 +75,8 @@ monitors: #[]
7575 # timeout: 10
7676 # default_notifications: False
7777
78- - name : " /chatter/safety_critical "
79- message_type : " std_msgs /msg/String "
78+ - name : " /hunter_status "
79+ message_type : " hunter_msgs /msg/HunterStatus "
8080 rate : 10
8181 N : 5
8282 qos :
@@ -90,43 +90,13 @@ monitors: #[]
9090 safety_critical : true # ← leave false if this “published” check shouldn’t gate safety‐beat
9191 autonomy_critical : true # ← set true if you want mere “published” to gate warning‐beat
9292 signal_lambdas :
93- - expression : " lambda data: data.data == 'hello' "
93+ - expression : " lambda data: data.battery_voltage >= 20.0 "
9494 timeout : 2.0
95- safety_critical : false # affects safety beat
96- autonomy_critical : false # doesn’t affect warning beat
97- process_indices : [2] # indexes into `execute` list (optional)
98- repeat_exec : false # run every time satisfied?
99- tags : ["resolution "]
95+ safety_critical : false
96+ autonomy_critical : false
97+ process_indices : [2] # Optional
98+ repeat_exec : false # Only execute once when condition is met
99+ tags : ["battery_check "]
100100 execute : []
101101 timeout : 10
102102 default_notifications : False
103-
104- # ros2 topic pub --rate 10 /chatter/safety_critical std_msgs/msg/String "{data: 'hello'}"
105-
106- - name : " /chatter_autonomy_critical"
107- message_type : " std_msgs/msg/String"
108- rate : 10
109- N : 5
110- qos :
111- reliability : " reliable"
112- durability : " volatile"
113- depth : 5
114-
115- signal_when :
116- condition : " published"
117- timeout : 30
118- safety_critical : false # ← leave false if this “published” check shouldn’t gate safety‐beat
119- autonomy_critical : true # ← set true if you want mere “published” to gate warning‐beat
120- signal_lambdas :
121- - expression : " lambda data: data.data == 'hello'"
122- timeout : 2.0
123- safety_critical : false # affects safety beat
124- autonomy_critical : false # doesn’t affect warning beat
125- process_indices : [2] # indexes into `execute` list (optional)
126- repeat_exec : false # run every time satisfied?
127- tags : ["resolution"]
128- execute : []
129- timeout : 10
130- default_notifications : False
131-
132- # ros2 topic pub --rate 10 /chatter_autonomy_critical std_msgs/msg/String "{data: 'hello'}"
0 commit comments