GithubHelp home page GithubHelp logo

eborghi10 / androidsensors Goto Github PK

View Code? Open in Web Editor NEW
24.0 6.0 3.0 189 KB

ROS node publisher of Android phone sensors

License: Apache License 2.0

Java 100.00%
ros android sensors imu rosjava accelerometer gyroscope

androidsensors's Introduction

Rosjava Project Template for Android Studio

This project template makes it easy to get started with Android programming for ROS.org. Its structure complies with the new Gradle-based build system and can be opened and assembled in Android Studio with no further changes.

Project Structure

The example Android application can be found in rosandroid-example-app. It contains a simple Activity which extends RosActivity and starts a node publishing messages on a ROS topic named time. You can use all ROS Java components here because the rosandroid-core is declared as a dependency (libraries/rosandroid-core). The rosandroid-core consists of Android specific Java code only. All other dependencies (mainly rosjava itself and common messages for ROS) are integrated through ROS's maven repository on GitHub.

ROS automatically launches a MasterChooser activity to establish a connection to a running ROS instance. This comes in handy for most developers but if you prefer a custom approach or design to connect to your ROS master you need to change these classes, which is why I've included the ROS Android source code.

Requirements

This template has been tested with ROS Lunar, it may not work with older or newer versions of ROS. Previously, it has successfully been used with ROS Hydro and Indigo.

It is optimized to work with the latest release of Android Studio (currently 3.0.1) but can also be build from the command-line. As this is plain Android/Java/Gradle no local installation of ROS is needed to compile, therefore you can not only use Ubuntu but also Windows or Mac.

Contribution

Feel free to contribute to this project by either raising issues or handing in pull requests.

androidsensors's People

Contributors

eborghi10 avatar ollide avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

androidsensors's Issues

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.