-
Notifications
You must be signed in to change notification settings - Fork 75
Description
I try send message data following the picture
But I got the error
ERROR] [1768292250.809850875] [get_message_class]: Malformed message_type: sequence
Python eval failed for expression "array('d', [1.57, 0.0])" with an exception "name 'array' is not defined"
Publisher._evaluate_expression(): failed to evaluate expression: "array('d', [1.57, 0.0])" as Python type "None"
Traceback (most recent call last):
File "/opt/ros/humble/lib/python3.10/site-packages/rqt_publisher/publisher.py", line 161, in change_publisher
new_text = handler(self._publishers[publisher_id], topic_name, new_value)
File "/opt/ros/humble/lib/python3.10/site-packages/rqt_publisher/publisher.py", line 262, in _change_publisher_expression
expression, error_prefix, slot_type.name)
AttributeError: 'NoneType' object has no attribute 'name'. Did you mean: 'ne'?
I try send by command (Success)
ros2 topic pub /forward_position_controller/commands std_msgs/msg/Float64MultiArray "data:
- 0
- 0"
publisher: beginning loop
publishing rqt_robot_dashboard: initial import from external #1: std_msgs.msg.Float64MultiArray(layout=std_msgs.msg.MultiArrayLayout(dim=[], data_offset=0), data=[0.0, 0.0])
publishing #2: std_msgs.msg.Float64MultiArray(layout=std_msgs.msg.MultiArrayLayout(dim=[], data_offset=0), data=[0.0, 0.0])