ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You are right: it doesn't depend on the source language.
First of all, you're publishing an imu message, but you're subscribing to a std_msgs::String. It'll probably fuss at you for that.
Once you fix the message types to be the same, I'd suggest using the rostopic command line tool to echo what your publisher is publishing and publish dummy messages to your subscriber. That way you can test and debug the nodes independently.