ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Well, since I had checked the API-for-image-sensor_msgs-transport-in-ROS-based-on-C++/Python, I have to acknowledged that there's no way to make this come true besides deal the source image with OpenCV (which called OpenCVImages in ROS) . So anyway, before you try to do this, you have to import your OpenCV-tool in your project (for me, just need OpenCV-for-Android). And, just as the API suggested, we need the cv_bridge as a node to transform the OpenCVImages into ROS-image-messages. Fortunately, I found this android_cv_bridge can be the best solution to solve my problem. In addition, it's really an available way to try this in JNI-way, cause it' not complicated in original-C++/Python-coding. So, guys if you're new to this, you really should take a glimpse of these good suggestions.

(PS: Still hoping for good suggestions in JNI-way.)