Giter Club home page Giter Club logo

android_sensor_bridge's Introduction

Android sensor bridge for ROS

Publish sensor data from your phone (connected via WiFi or USB) to ROS.

Overview

Android sensor bridge for ROS

A collection of python scripts that publish sensor data from your phone (connected via WiFi or USB) to ROS. Supports a small variety of data logging apps (no dedicated Android app required):

  • ip_webcam_bridge.py: Connects to IP Webcam and publishes camera images as sensor_msgs/CompressedImage. Launch http://<phone_ip>:<port> in the browser to configure or use service calls als follows

    • use service <node>/<setting>/<get> to retrieve the current value of a setting (e.g. $ rosservice call /ip_webcam_bridge/video_size/get returns 720x480)
    • use service <node>/<setting>/<options> to list all available options for a setting (e.g $ rosservice call /ip_webcam_bridge/video_size/options returns 1920x1080; 1440x1080; 1088x1088; 1280x720; 1056x704; 1024x768; 960x720; 800x450; 720x720; 720x480; 640x480; 352x288; 320x240; 256x144; 176x144)
    • use service <node>/<setting>/<set> to change a setting (e.g. $ rosservice call /ip_webcam_bridge/video_size/set "value: {data: '720x480'}")
  • sensrec_bridge.py: Connects to Sensors Record and publishes:

    • sensor_msgs/Imu inertial measurement based on phone's rotation vector, linear acceleration and gyroscope
    • sensor_msgs/MagneticField magnetic field based on phone's magnetometer
    • nmea_msgs/Sentence low-level GPS NMEA sentecnes for processing with 3rd party tools (e.g. nmea_navsat_driver)
    • sensor_msgs/NavSatFix location based on phone's location API
    • geometry_msgs/TwistStamped velocity based on phones location API
    • battery info
    • pressure
    • ambient light intensity

    Check the Android Sensor Types documentation for detais!

Related projects

android_sensor_bridge's People

Contributors

robbeofficial avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.