zugaldia / android-robocar Goto Github PK
View Code? Open in Web Editor NEWBuild your own robocar, remote-controlled or autonomous, with Android Things.
License: BSD 2-Clause "Simplified" License
Build your own robocar, remote-controlled or autonomous, with Android Things.
License: BSD 2-Clause "Simplified" License
I got a bunch of build error in three modules: libcv, libhardware, and libsoftware. It is the same error in all three, and it looks something like this:
robocar\libhardware\src\androidTest\java\com\zugaldia\robocar\hardware\ExampleInstrumentedTest.java:4: error: package android.support.test does not exist
import android.support.test.InstrumentationRegistry;
The solution that worked for me was to add the following to all three build.gradle files of the above mentioned modules under the dependencies sections
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
At the end of http://www.androidrobocar.com/pages/hardware, the link to continue reading points to http://www.androidrobocar.com/pages/pages/build, and I get a 404 error.
Currently we're hardcoding values, like the Bluetooth MAC address, which developer should be able to customize.
cc: @hsalameh
Links to Twitter and Hackster.io.
We have a fancy new domain (http://www.androidrobocar.com) that we could host here on GitHub, but there's no content yet. Let's build a basic website.
We're currently taking one picture every second, we should take pics more often. For that, we need to keep the camera session open between shots.
Android Things can use a standard speaker to talk to the Robocar user. We'd like to build the following:
Thanks for this code. But, after opening app in device
screen shows searching for robocar. Please guide us..
Let's use the wiki (https://github.com/zugaldia/android-robocar/wiki) to have the basics covered, for example, how to build a basic robocar from scratch and install the demo app on it.
Hi, I'm having trouble building both the mobile and robocar apps, the build project went OK but when trying to run "app", it has the following error in Android Studio. Appreciate your help!
Information:Gradle tasks [:app:assembleDebug]
Error:Execution failed for task ':app:transformNativeLibsWithMergeJniLibsForDebug'.
com.android.build.api.transform.TransformException: com.android.builder.packaging.DuplicateFileException: Duplicate files copied in APK lib/x86/libjniopencv_shape.so
File1: /Users/me/.gradle/caches/modules-2/files-2.1/org.bytedeco.javacpp-presets/opencv/3.2.0-1.3/2a562ef4d4408c1dea5d4190b6bbd151a83c8eae/opencv-3.2.0-1.3-android-x86.jar
File2: /Users/me/AndroidStudioProjects/android-robocar-master/robocar/libcv/build/intermediates/bundles/default/jni
Information:BUILD FAILED
We should either use the mobile app or the NES30 Pro to set more fine-grained speeds. This would improve the quality of the input we'll provide to TensorFlow. Currently, we only move forward at either 255 or 95 speed.
I'd love to see LIDAR support for the Robocar eventually.
The device from http://scanse.io seems like a developer and budget friendly option that we could start with. It has an open source SDK (https://github.com/scanse/sweep-sdk) and comes with a dummy libsweep.so
file that always returns static point cloud data and does not need a hardware device. This allows starting to hack on it quickly, and once you have a device just switch out the libsweep.so
lib.
I hear from a developer that this set up works well too, let's update the hardware section to include any missing items:
1x Raspberry Pi 3 Board Pack for Android Things™ https://www.adafruit.com/product/3292
1x Motor Controller, 4 Channel, 4.5A, 4.5-12V - For Rover 5 Chassis (Supports Encoder Mixing) https://www.amazon.com/gp/product/B00B88F2A6/
1x Pololu RP5/Rover 5 Expansion Plate RRC07A (Narrow) Transparent Clear https://www.pololu.com/product/1535
1x Rover 5 Robot Platform ROB-10336 https://www.sparkfun.com/products/10336
1x Raspberry Pi Camera Board v2 - 8 Megapixels https://www.adafruit.com/product/3099
1x Adafruit Raspberry Pi Camera Board Case with 1/4" Tripod Mount https://www.adafruit.com/product/3253
Fotasy SCX2 1/4-Inch 20 Tripod Screw to Hot Shoe Adapter with Premier Cleaning Cloth (Black) https://www.amazon.com/gp/product/B00HPAPFNU/
1x Pan/Tilt Bracket ROB-10335 https://www.sparkfun.com/products/10335
2x Servo - Generic (Sub-Micro Size) ROB-09065 https://www.sparkfun.com/products/9065
1x 8bitdo NES30 Pro Bluetooth Controller https://www.amazon.com/gp/product/B01LW7JJPJ/
Flag this message Delete this message
cc: @hsalameh
As mentioned on Wikipedia,
If both the wheels are driven in the same direction and speed, the robot will go in a straight line. If both wheels are turned with equal speed in opposite directions, as is clear from the diagram shown, the robot will rotate about the central point of the axis
You are currently only turning on one side of the wheels to turn instead of reversing the other side.
We've added checkstyle support, but we aren't using it during the CI flow.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.