ROS Image Viewer – Android Client for ROS Image Viewer

ROS Image Viewer

Android Client for ROS Image Viewer

ROS Image Viewer screenshot 0ROS Image Viewer screenshot 1

Android app for subscribing and displaying ROS image topic

1. Run camera node on your machine:

rosetip ;; this set ROS_IP with ip address (export ex, ROS_IP=192.168.111.5)
rosrun usb_cam usb_cam_node

2. Run ‘ROS Image Viewer’ on your Android device

3. It also publishes the touch event

rostopic echo /touchEvent

You can check the semantics of the data by following command

$ rosmsg show jsk_gui_msgs/TouchEvent
byte DOWN=0
byte UP=1
byte MOVE=2
byte state
float32 x
float32 y
float32 w
float32 h

= Limitation

Current version only subscribes image topic named `/usb_cam/image_raw/compressed`, so you need to use topic relay tool (wiki.ros.org/topic_tools/relay) to rename the image

= Trouble Shooting

If you can not get any images on your android device, please make sure that your IP address can be reached from the android device. So set ROS_IP before you run camera node may solve this problem

See more information and download apk file for your android phone: googleplaystoreapks.com/category/libraries-demo

Advertisements

ROS Sensor Message – Android Client for ROS Sensor Publisher

ROS Sensor Message

Android Client for ROS Sensor Publisher

ROS Sensor Message screenshot 0ROS Sensor Message screenshot 1

Android app for publishing and device’s sensor data as ROS message.

This app publishes folloiwng sensor informations

$ rosnode info android_sensor_message
——————————————————————————–
Node [/android_sensor_message]
Publications:
* /gravity [jsk_gui_msgs/Gravity]
* /rosout [rosgraph_msgs/Log]
* /imu [sensor_msgs/Imu]
* /device [jsk_gui_msgs/DeviceSensor]
* /magneticfield [jsk_gui_msgs/MagneticField]

See more information and download apk file: googleplaystoreapks.com/category/libraries-demo