Robotics StackExchange | Archived questions

rqt_publisher does not work

I use ROS Kinetic under Ubuntu 16.04 I run rqtpublisher. Then I add a message of any type, for example stdmsgs/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 rqtpublisher window immediately closes and I see these errors in terminal in that I opened rqtpublisher

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?

Asked by Sergey Kravchenko on 2017-08-15 09:35:31 UTC

Comments

Answers