YasuChiba / ROS2-Mobile-Android

Visualization and controlling application for Android
30 stars 7 forks source link

!!!!WIP!!!!

This project trying to port ROS-Mobile-Android to ros2

Supporting Widgets

How to run

  1. clone this repository
  2. build rcljava
    • follow the instruction of this repo
    • copy all the generated .jar files and .so files into app/libs and src/main/jniLibs/arm64-v8a directories.
  3. now you can run :)



ROS-Mobile

ROS-Mobile is an Android application designed for dynamic control and visualization of mobile robotic system operated by the Robot Operating System (ROS). The application uses ROS nodes initializing publisher and subscriber with standard ROS messages. The overall code architecture pattern is Model View ViewModel (MVVM), which stabilizes the application and makes it highly customizable. For a detailed overview of the functionality, we refer to our wiki.

Cite

If you use ROS-Mobile for your research, please cite

@article{rottmann2020ros,
  title={ROS-Mobile: An Android application for the Robot Operating System},
  author={Rottmann, Nils and Studt, Nico and Ernst, Floris and Rueckert, Elmar},
  journal={arXiv preprint arXiv:2011.02781},
  year={2020}
}

Requirements

Installing Instructions

There are three different ways for installing ROS-Mobile onto your mobile device: Built from source, install current apk, download from Google Playstore. We highly recommend to use the download function from the Google Playstore.

Built from Source:
Install current APK:
Download from Google Playstore:

Introduction Video

Introduction Video

Currently available ROS Nodes

The following Nodes are currently supported by ROS-Mobile. For a comprehensive overview over the functionality of each node have a look into Nodes Description in the wiki. Additional Nodes will be available in upcoming Versions or can be easily added independently. See the How to add your own Nodes section in the wiki.

Short Example Usage

Manually map an apartment environment using a differential drive robot. Therefore, we connected the application with the ROS master running the differential drive robot over wireless LAN by inserting the correct IP address in the MASTER configuration tab, first figure. Adding ROS nodes in the DETAILS tab, second figure and third figure, enables the control of the differential drive robot via a joystick method sending geometry_msgs/Twist to a cmd_vel topic and the visualization of the generated occupancy grid map by subscribing to the map topic via a gridmap method. In the VIZ tab, most right figure, the recorded occupancy grid map is displayed as well as the joystick. The joystick can be used via touch for sending control inputs over the cmd_vel topic to the differential drive robot. For a more detailed examples, we refer to our wiki.

License

The MIT License (MIT) Copyright (c) 2020 Nils Rottmann, Nico Studt

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Contributor / Maintainer

Main-Developer:

Nico Studt, Nils Rottmann

Contributor:

Marcus Davi, Dragos Circa, Sarthak Mittal