uf-mil / ros_alarms

Alarm system implementation in ROS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AMONITOR: display problem description / parameters

kev-the-dev opened this issue · comments

In the amonitor curses TUI, display the alarm problem description (and maybe the parameters) in the screen

This is the program. Look at the _draw function for where your stuff goes. The extra lines will come from self.last_alarm

For testing:

  • Launch the alarms in one terminal roslaunch navigator_launch alarms.launch
  • In another terminal run the program amonitor kill
  • Trigger the alarm with a test problem description rosservice call /alarm/set "alarm: {alarm_name: 'kill', raised: True, node_name: '', problem_description: 'TEST STRING SHOULD APPEAR IN AMONITOR', parameters: '', severity: 0}"

I got this one. PRing in a sec