uf-mil / ros_alarms

Alarm system implementation in ROS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Alarm handlers should set initial state of alarm

DSsoto opened this issue · comments

Alarm handlers should include a method that set's the initial state of that alarm.

Some alarm handlers, for example, in the case of SubjuGator, thruster-out, expect the alarm to have a certain set of parameters ('offline_thruster_names' in this case).

If the handler itself sets up the invariant it expects, the raise and clear functions won't have to deal with the special case of a blank alarm.

Addressed by #33.