Androidthings Robocar Save Abandoned

Android Things robot car controlled by a companion app using local Nearby APIs

Project README

Android Things Robocar

Introduction

This project contains all the code required to build a robot car that runs on Android Things, as well as a companion "controller" Android app.

This sample uses the following Google platforms and APIs:

  • Android Things - The car's onboard operating system.
  • Nearby APIs - Local communication API used for pairing the robocar to a companion app which controls the car.

Note: The Android Things Console will be turned down for non-commercial use on January 5, 2022. For more details, see the FAQ page.

Pre-requisites

To build the car, you will need the following hardware:

(Optional) To assist in distinguishing between multiple robocars during the pairing process, the robocar also supports alphanumeric displays or RGB LED's for displaying a pairing code. Note that this is meant to assist the user, and is not intended or sufficient as a security measure. If you'd like to add these to your setup, you'll need:

Support and Discussion

If you've found an error in this sample, please file an issue: https://github.com/androidthings/robocar/issues

Patches are encouraged, and may be submitted by forking this project and submitting a pull request through GitHub.

Enable auto-launch behavior

This Android Things app is currently configured to launch only when deployed from your development machine. To enable the main activity to launch automatically on boot, add the following intent-filter to the app's manifest file:

<activity ...>

    <intent-filter>
        <action android:name="android.intent.action.MAIN"/>
        <category android:name="android.intent.category.HOME"/>
        <category android:name="android.intent.category.DEFAULT"/>
    </intent-filter>

</activity>

License

Copyright 2017 Google, Inc.

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Open Source Agenda is not affiliated with "Androidthings Robocar" Project. README Source: androidthings/robocar
Stars
32
Open Issues
0
Last Commit
3 years ago
License

Open Source Agenda Badge

Open Source Agenda Rating