Giter Club home page Giter Club logo

tango's Introduction

ROSTango - ROS on Project Tango

Everything related to Google Project Tango and open software OLogic has released to the public. Most of this work is related to ROS on Project Tango. Be sure to read the Wiki for instructions on working with ROS, ROSJava, and Tango.

https://github.com/ologic/Tango/wiki

Obviously this repo is a work-in-progress. We are making changes daily to everything here, improving the documentation, and working toward making the examples more complete. Please be patient and don't hesitate to message us if we have broken something along the way and you are trying to build or having trouble with the code.

tango's People

Contributors

bblodget avatar rohbotics avatar simonlynen avatar tedlarson 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tango's Issues

Build failed when installing the ROS Java Android workspace

After following the step install the ROS Java Android workspace in @https://github.com/ologic/Tango/wiki/Getting-Started-with-Tango-and-ROS , I encountered a build failed problem.

:android_tutorial_hokuyo:processReleaseResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':android_tutorial_hokuyo:processReleaseResources'.
> com.android.ide.common.process.ProcessException: Failed to execute aapt

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

For the trace, I found a list of errors retrieving parent for item ...

Here are several errors:

/home/jxu7/rjandroid/src/android_extras/android_tutorial_hokuyo/build/intermediates/res/merged/release/values-v21/values-v21.xml:15: AAPT: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Large.Inverse'.
    
/home/jxu7/rjandroid/src/android_extras/android_tutorial_hokuyo/build/intermediates/res/merged/release/values-v21/values-v21.xml:21: AAPT: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Medium.Inverse'.
    
/home/jxu7/rjandroid/src/android_extras/android_tutorial_hokuyo/build/intermediates/res/merged/release/values-v21/values-v21.xml:28: AAPT: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Small.Inverse'.

I am using the latest Android Studio and Kinetic Ros. Is this the problem??

Build appears to require Build Tools revision 17.0.0 as well

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':tf2_ros:compileReleaseAidl'.

    failed to find Build Tools revision 17.0.0

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

No permission

Hi everyone,

I sucessfully compiled everything, and tango publishes to the /tango_pose topic. However, when I do rostopic echo, the position and orientation data are all 0, only the time stamp is changing. Also, I checked {}Project Tango in Settings, none of the ologic app (TangoVio,TangoDepthImage) has permission on Motion Tracking (I don't think any of them ask me for permission, after I hit the connect button I only see "Hello World, TangoVio"). Can anybody explain why?

Tango Vio app doesn't work on tablet

Hi everyone,

First a big thank you for putting out your repository for free and also for documenting everything.

I ran into a little bit of an issue with my Tango Tablet (running on 4.4.2): I can't find the launch file for it (tango_vio_ys.launch) as described in the wiki. I tried with the regular one, however, I am getting 0s for all elements in the position and orientation messages, so the vio app doesn't work. Could somebody provide some help for getting this set up? The depth map app works properly, by the way.

Thanks a lot!
Marc

Build failure on tango nodes

Loading > 118 KB/2.21 MB downloaded > Resolving dependencies ':TangoNodes:_rel
FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring project ':tango_vio'.

    Could not resolve all dependencies for configuration ':tango_vio:_debugCompile'.
    Could not resolve org.ros.tf2:tf2_ros:0.0.0-SNAPSHOT.
    Required by:
    com.github.rosjava.rostango:tango_vio:0.1.0
    java.lang.NullPointerException (no error message)

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Update MAVLink message set

With this PR the mainline MAVLink repo will have gained the ability to generate Java messages:
mavlink/mavlink#228

We will need to update to this message set soon, as this is the standardised, long-term stable variant.

Update to more recent AndroidStudio version

Because of an incompatibility between studio 0.6.1 and 0.9 it is not possible to use the projects from this repo with a recent android studio version. I am happy helping with this.

Let app survive screensaver

Currently the app stops if the screensaver enables. This may have adverse consequences during flight, as suddenly position information is lost. Could we please allow the app to continue to run even if the screen is locked?

ROSTango fails to import on Android 1.0.0

Seems like the same issue as issue #2 but this time with the latest version of Android.

I have the latest version of repo and just started.
First I get the error

the project is using an unsupported version of the android gradle plug-in (0.12.2). the recommended version is 1.0.0

So I changed the build.gradle to

 classpath group: 'org.ros.rosjava_bootstrap', name: 'gradle_plugins', version: '1.0.0'

Now I get this error

Could not resolve org.ros.rosjava_bootstrap:gradle_plugins:1.0.0.
Required by:

:rostango:unspecified

What would you recommend? Downgrading Android?

Monitor battery life

this is more of a medium term thing, but it will be soon relevant to keep an eye on battery life / status remotely, as a sudden loss of position will have adverse effects on the flight 8).

Imposible to do catkin_make (UNEXPECTED TOP-LEVEL EXCEPTION:)

follow this tutorial https://github.com/ologic/Tango/wiki/... to import the project. When I try to make the project with catkin_make, I have this error:

UNEXPECTED TOP-LEVEL EXCEPTION:
com.android.dex.DexException: Multiple dex files define Lorg/ros/android/MessageCallable;
at com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:594)
at com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:552)
at com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:533)
at com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:170)
at com.android.dx.merge.DexMerger.merge(DexMerger.java:188)
at com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:439)
at com.android.dx.command.dexer.Main.runMonoDex(Main.java:287)
at com.android.dx.command.dexer.Main.run(Main.java:230)
at com.android.dx.command.dexer.Main.main(Main.java:199)
at com.android.dx.command.Main.main(Main.java:103)

I try many issue to try to fix it, with no result. My distro is Hydro and I use Android Studio 0.6.1 like the tutorial say.

the project's build.gradle :

task wrapper(type: Wrapper) {
gradleVersion = '1.11'
}

buildscript {
def rosMavenPath = "$System.env.ROS_MAVEN_PATH".split(':').collect { 'file://' + it }
def rosMavenRepository = "$System.env.ROS_MAVEN_REPOSITORY"
repositories {
rosMavenPath.each { p ->
maven {
url p
}
}
mavenLocal()
maven {
url rosMavenRepository
}
}
dependencies {
classpath group: 'org.ros.rosjava_bootstrap', name: 'gradle_plugins', version: '[0.1,0.2)'
}
}

apply plugin: 'catkin'

allprojects {
group 'com.github.rosjava.android_extras'
version = project.catkin.pkg.version
}

subprojects {
apply plugin: 'ros-android'
}
and subproject's build.gradle which poses problem:

dependencies {
compile 'org.ros.android_core:android_gingerbread_mr1:[0.1,)'
compile 'org.ros.android_core:android_acm_serial:[0.1,)'
compile 'com.github.rosjava.rosjava_extras:hokuyo:[0.1,)'
}

apply plugin: 'android'

android {
packagingOptions {
/* rosjava/android_core#194 */
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
}
compileSdkVersion 13

}
Please, anybody can help me ? (Sorry for my poor english)

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.