AMONITOR: display problem description / parameters
kev-the-dev opened this issue · comments
Kevin Allen commented
In the amonitor curses TUI, display the alarm problem description (and maybe the parameters) in the screen
Kevin Allen commented
This is the program. Look at the _draw function for where your stuff goes. The extra lines will come from self.last_alarm
Kevin Allen commented
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}"
Kevin Allen commented
I got this one. PRing in a sec
Kevin Allen commented