Doubt regarding android rosjava publishers and subscribers for sensor_msgs.imu
Hi! I am relatively new to the android and rosjava development environment. I am carrying out an experiment in which I am using the android_sensors_driver to publish the phone sensor readings to the master running on my Ubuntu PC. Now, I want to subscribe to the topic /android/imu (as published by the android_sensors_driver) carry out a couple of operations (inside the phone) and finally re-publish the readings as /android/modified_imu. Can someone please give me some advice on how to write the publisher and subscriber nodes? Can I somehow modify the pubsub tutorial for my purpose?
Any help would be greatly appreciated. Thanks!