Robotics StackExchange | Archived questions

rosbridge error while publishing PoseArray

I'm using:

I'm publishing a PoseArray from Unity to ROS using ros-sharp. The ROS-connector in Unity is configured as

With the same setup I have been successful transmitting primitive message types such as an std_msgs/Int32, and also a std_msgs/Float32MultiArray (rostopic echo shows the transmitted messages correctly).

But when I try to transmit a geometry_msgs/PoseArray, I get an error after launching the rosbridgeserver with `roslaunch rosbridgeserver rosbridge_websocket.launch`:

[ERROR] [1683636575.384166]: [Client 10] [id: /joint_poses] publish: geometry_msgs/PoseArray message requires a geometry_msgs/Pose for field poses, but got a <class 'NoneType'>

What am I missing here?

Thanks in advance for your help!

Asked by wetoo_cando on 2023-05-09 08:04:39 UTC

Comments

Answers