GithubHelp home page GithubHelp logo

yanjingang / robotca Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ros-autom/robotca

0.0 1.0 0.0 21.1 MB

远程控制ROS机器人的Android应用-Android app for remote controlling a ROS robot - University of South Carolina Capstone Project - Currently maintained by ros autom team

License: GNU General Public License v3.0

Python 3.78% Shell 1.10% CMake 2.78% Java 89.12% HTML 3.21%

robotca's Introduction

RobotCA

=======================

NEVER ALLOW ANDROID STUDIO TO UPDATE YOUR BUILD TOOLS.SELECT 'DO NOT ASK AGAIN FOR THIS PROJECT

=======================

ROS-autom Team

This project is active again.

Prepare your distro for compile:
  • Download Android Studio from https://developer.android.com/studio/index.html#linux-bundle

  • Extract the zip file into a folder at your home dir(i.e. android_ide) and run the bin/studio.sh script

  • Select Standard setup and finish the installation.

  • When the download is done, press on the Configure option on the bottom side and select SDK manager

  • From SDK platforms select all API levels from 26 to 22

  • From SDK Tools select 'Show package details'

  • Select 21.1.2 ,25.0.2 and 26.0.0

  • Press apply and ok

  • Accept the license and let it download the required files

  • Press ok to SDK manager and close the Android Studio

  • Install the JDK8 by running

    $ sudo add-apt-repository ppa:openjdk-r/ppa $ sudo apt-get update $ sudo apt-get install openjdk-8-jdk

  • Run the android studio: . /path/to/studio/bin/studio.sh

  • File->Open->RobotCA/src/android_foo folder and press OK.

  • Wait until Gradle is being initialized.

  • On the plugin update window,select "Dont remind me again for this project".

  • File->Other Settings->Default Project Structure->Untick default JDK and add this directory: /usr/lib/jvm/java-1.8.0-openjdk-amd64

  • Close Android Studio and run $ sudo apt-get install lib32z1 lib32ncurses5 lib32stdc++6

  • Open Android Studio again and wait gradle to be initialized

Optional: Run

  • touch ~/.gradle/gradle.properties && echo "org.gradle.daemon=true" >> ~/.gradle/gradle.properties
  • echo "org.gradle.parallel=true" >> ~/.gradle/gradle.properties

This is highly experimental and its not recommended

  • echo "org.gradle.configureondemand=true" >> ~/.gradle/gradle.properties

to speed up the build process.

Troubleshoot

1)====================================== If you get aapt exited with code 127 or Error:Execution failed for task ':control_app_lib:processReleaseResources'.

A problem occurred starting process 'command '/home/USERNAME/Android/Sdk/build-tools/21.1.2/aapt'' please run sudo apt-get install lib32z1 lib32ncurses5 lib32stdc++6

2)====================================== Never Fix the Gradle Version that is mentioned in Messages.

Pin Android Studio to your launcher tab

  • Create a file called "AndroidStudio.desktop" and paste the following code:
[Desktop Entry]
Version=1.0
Type=Application
Name=Android Studio
Exec="/home/YOURNAME/FOLDER_TO_IDE/bin/studio.sh" %f
Icon=/home/YOURNAME/FOLDER_TO_IDE/bin/studio.png
Categories=Development;IDE;
Terminal=true
StartupNotify=false
StartupWMClass=jetbrains-android-studio
Name[en_GB]=android-studio.desktop
  • save it and then drag and drop that file on the launcher.
  • Click it to run the IDE.
  • When the IDE is opened right click on the new-second one icon that created on launcher
  • Press 'Lock to launcher'
  • exit the IDE
  • Remove the first icon

Credits

ros-autom team, Thessaloniki of Greece 2017

Originally posted by:

University of South Carolina

CSCE 490 & 492 Capstone Design

Our project is to design an Android application to control a robot. Specifically, the goal is to create a native Android tablet application to interface with a Robot Operating System (ROS) robot, Clearpath Robotics' HUSKY model, for direct drive, diagnostic, and navigation information. The application will have to process data from various sensors on the robot and display the information in a user understandable fashion. For example, the robot will have a laser ranging system which will be collecting data on the environment. The application must parse this data and display the environment that the robot "sees".

Dependencies:

  • ROS
  • ROSJava
  • Android 4.0+ (API level 13+)

Master Chooser

Main Layout

Client Information:
Dr. Ioannis Rekleitis
Assistant Professor
University of South Carolina

robotca's People

Contributors

mtbii avatar nlstone1 avatar dkati avatar playerfour avatar lightyz avatar cstewart89 avatar mcfadden-rd avatar

Watchers

James Cloos 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.