the "highlight" function in rqt_console is useless

asked 2018-08-08 08:41:42 -0500

zhuqingzhang gravatar image

updated 2018-08-08 11:06:01 -0500

allenh1 gravatar image

In the rqt_console interface, I used "exclude" function to filter message and it worked. So, in the interface, there were no messages shown. However, when I want to re-show the messages, i used "highlight" function. But it was no use! the messages that were shown beforehand didn't re-show. And in the terminal, the following information were typed:

Traceback (most recent call last):
  File "/opt/ros/indigo/lib/python2.7/dist-packages/rqt_console/console_widget.py", line 689, in _handle_mouse_press
    self._rightclick_menu(event)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/rqt_console/console_widget.py", line 479, in _rightclick_menu
    self._process_highlight_exclude_filter(action.text(), action.parentWidget().title(), False)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/rqt_console/console_widget.py", line 395, in _process_highlight_exclude_filter
    filter_index = self._add_highlight_filter(col)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/rqt_console/console_widget.py", line 282, in _add_highlight_filter
    newfilter = self.filter_factory[filter_index][1]()
KeyError: 1

Anyone know what should I do? By the way, the ROS distribution is Indigo and I'm working on Ubuntu 14.04 on an x86

edit retag flag offensive close merge delete