rqt_publisher does not work

asked 2017-08-15 09:35:31 -0600

Sergey Kravchenko gravatar image

updated 2017-08-15 09:38:38 -0600

I use ROS Kinetic under Ubuntu 16.04 I run rqt_publisher. Then I add a message of any type, for example std_msgs/Int64 and enable publishing I see errors in roscore terminal window:

[ERROR] [1502807351.816563062]: Exception thrown when deserializing message of length [8] from [/rqt_gui_py_node_3721]: Buffer Overrun

One error per one message sent.

If I try to change data values, the rqt_publisher window immediately closes and I see these errors in terminal in that I opened rqt_publisher

Traceback (most recent call last):
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_publisher/publisher.py", line 122, in change_publisher
    new_text = handler(self._publishers[publisher_id], topic_name, new_value)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_publisher/publisher.py", line 189, in _change_publisher_expression
    success, _ = self._evaluate_expression(expression, slot_type)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_publisher/publisher.py", line 261, in _evaluate_expression
    if successful_eval and isinstance(value, slot_type):
TypeError: isinstance() arg 2 must be a class, type, or tuple of classes and types

No other nodes are running. It does not matter what message type I select: the result is the same.

What it might be?

edit retag flag offensive close merge delete