Converting String to sensor_msgs IMU in Android

asked 2016-02-26 13:56:10 -0500

Kaushik Nath gravatar image

I got one of the ROS Android code and modified to get all the phone sensors data into ROS Master running on the PC. But my talkers(Activity Talker) are publishing in the form of strings(Three values(x,y,z) separated by commas). I want that the Accelerometer readings be published in the form of Sensor_msgs/IMU, so that the code on my PC can directly subscribe to the topic and work upon it, without have to change the format.

Is there any way that I can publish it in form of sensor_msgs/IMU

edit retag flag offensive close merge delete