Robotics StackExchange | Archived questions

Android cannot display compressedimage feed from kinect?

Hi all. I am running ROS indigo on ubuntu 14.04. I have been attempting to stream compressedimage sensor messages from my xbox kinect using opennicamera to my Android device where i would hope to view them. I have used a multitude of apps to try to achieve video streaming: ROS teleop (indigo), ROS image viewer, and ROS control. However none of these apps will display the video from the /camera/rgb/imagecolor/compressed topic. I have made sure to set both ROSIP and ROSHOSTNAME on the computer connected to the kinect but that did not fix my problem. In the ROS control app you can set the compressedimage topic that it will subscribe to, however in the other two you cannot, for those two I used topictools relay and i also tried imagetransport republish to forward the compressed topic to the correct subscribed topic. none of this was successful. When i use rqtgraph to see how the nodes and topics are set up, the android device is subscribing from the kinects published topic in the nodes/topics (all) view within rqtgraph, but they are unnattached in the nodes/topics(active) view. I have confirmed that the kinect is publishing the images properly using rviz and imageview to visualize the compressedimage messages from the imagecolor/compressed topic, I have used rostopic info on the /camera/rgb/imagecolor/compressed topic and this is what i see: thomas@thomas-ThinkPad-X230:~$ rostopic info /camera/rgb/imagecolor/compressed Type: sensor_msgs/CompressedImage

Publishers: * /camera/cameranodeletmanager (http://thomas-ThinkPad-X230:38221/)

Subscribers: * /android/robot_controller (http://xxx.xx.xxx.xxx:58817/)

This is the same scenario for all apps that I have tried. I would greatly appreciate any ideas or thoughts about how i could resolve my issue!

links to apps: https://play.google.com/store/apps/details?id=com.github.rosjava.android_apps.teleop.indigo&hl=en https://play.google.com/store/apps/details?id=org.ros.android.android_image_view&hl=en https://play.google.com/store/apps/details?id=com.robotca.ControlApp

Asked by tgilmour on 2016-06-20 12:29:40 UTC

Comments

Answers