From ab1076a5c68b7337f258e1d0fa002a7a506991f6 Mon Sep 17 00:00:00 2001 From: Lavender-Tree Date: Fri, 29 Nov 2019 01:00:36 +0800 Subject: [PATCH] update readme --- README.md | 18 +++++++++++++++++- {bt_control => core}/client/BTRC/.gitignore | 0 .../client/BTRC/.idea/codeStyles/Project.xml | 0 .../client/BTRC/.idea/gradle.xml | 0 .../client/BTRC/.idea/misc.xml | 0 .../client/BTRC/.idea/runConfigurations.xml | 0 .../client/BTRC/app/.gitignore | 0 .../client/BTRC/app/build.gradle | 0 .../client/BTRC/app/proguard-rules.pro | 0 .../com/lt/btrc/ExampleInstrumentedTest.java | 0 .../BTRC/app/src/main/AndroidManifest.xml | 0 .../main/java/com/lt/btrc/MainActivity.java | 0 .../drawable-v24/ic_launcher_foreground.xml | 0 .../res/drawable/ic_launcher_background.xml | 0 .../app/src/main/res/layout/activity_main.xml | 0 .../res/mipmap-anydpi-v26/ic_launcher.xml | 0 .../mipmap-anydpi-v26/ic_launcher_round.xml | 0 .../src/main/res/mipmap-hdpi/ic_launcher.png | Bin .../res/mipmap-hdpi/ic_launcher_round.png | Bin .../src/main/res/mipmap-mdpi/ic_launcher.png | Bin .../res/mipmap-mdpi/ic_launcher_round.png | Bin .../src/main/res/mipmap-xhdpi/ic_launcher.png | Bin .../res/mipmap-xhdpi/ic_launcher_round.png | Bin .../main/res/mipmap-xxhdpi/ic_launcher.png | Bin .../res/mipmap-xxhdpi/ic_launcher_round.png | Bin .../main/res/mipmap-xxxhdpi/ic_launcher.png | Bin .../res/mipmap-xxxhdpi/ic_launcher_round.png | Bin .../BTRC/app/src/main/res/values/colors.xml | 0 .../BTRC/app/src/main/res/values/strings.xml | 0 .../BTRC/app/src/main/res/values/styles.xml | 0 .../java/com/lt/btrc/ExampleUnitTest.java | 0 {bt_control => core}/client/BTRC/build.gradle | 0 .../client/BTRC/gradle.properties | 0 .../BTRC/gradle/wrapper/gradle-wrapper.jar | Bin .../gradle/wrapper/gradle-wrapper.properties | 0 {bt_control => core}/client/BTRC/gradlew | 0 {bt_control => core}/client/BTRC/gradlew.bat | 0 .../client/BTRC/settings.gradle | 0 {bt_control => core}/mcu/pi.c | 0 {bt_control => core}/mcu/protocol.h | 0 40 files changed, 17 insertions(+), 1 deletion(-) rename {bt_control => core}/client/BTRC/.gitignore (100%) rename {bt_control => core}/client/BTRC/.idea/codeStyles/Project.xml (100%) rename {bt_control => core}/client/BTRC/.idea/gradle.xml (100%) rename {bt_control => core}/client/BTRC/.idea/misc.xml (100%) rename {bt_control => core}/client/BTRC/.idea/runConfigurations.xml (100%) rename {bt_control => core}/client/BTRC/app/.gitignore (100%) rename {bt_control => core}/client/BTRC/app/build.gradle (100%) rename {bt_control => core}/client/BTRC/app/proguard-rules.pro (100%) rename {bt_control => core}/client/BTRC/app/src/androidTest/java/com/lt/btrc/ExampleInstrumentedTest.java (100%) rename {bt_control => core}/client/BTRC/app/src/main/AndroidManifest.xml (100%) rename {bt_control => core}/client/BTRC/app/src/main/java/com/lt/btrc/MainActivity.java (100%) rename {bt_control => core}/client/BTRC/app/src/main/res/drawable-v24/ic_launcher_foreground.xml (100%) rename {bt_control => core}/client/BTRC/app/src/main/res/drawable/ic_launcher_background.xml (100%) rename {bt_control => core}/client/BTRC/app/src/main/res/layout/activity_main.xml (100%) rename {bt_control => core}/client/BTRC/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml (100%) rename {bt_control => core}/client/BTRC/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml (100%) rename {bt_control => core}/client/BTRC/app/src/main/res/mipmap-hdpi/ic_launcher.png (100%) rename {bt_control => core}/client/BTRC/app/src/main/res/mipmap-hdpi/ic_launcher_round.png (100%) rename {bt_control => core}/client/BTRC/app/src/main/res/mipmap-mdpi/ic_launcher.png (100%) rename {bt_control => core}/client/BTRC/app/src/main/res/mipmap-mdpi/ic_launcher_round.png (100%) rename {bt_control => core}/client/BTRC/app/src/main/res/mipmap-xhdpi/ic_launcher.png (100%) rename {bt_control => core}/client/BTRC/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png (100%) rename {bt_control => core}/client/BTRC/app/src/main/res/mipmap-xxhdpi/ic_launcher.png (100%) rename {bt_control => core}/client/BTRC/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png (100%) rename {bt_control => core}/client/BTRC/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png (100%) rename {bt_control => core}/client/BTRC/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png (100%) rename {bt_control => core}/client/BTRC/app/src/main/res/values/colors.xml (100%) rename {bt_control => core}/client/BTRC/app/src/main/res/values/strings.xml (100%) rename {bt_control => core}/client/BTRC/app/src/main/res/values/styles.xml (100%) rename {bt_control => core}/client/BTRC/app/src/test/java/com/lt/btrc/ExampleUnitTest.java (100%) rename {bt_control => core}/client/BTRC/build.gradle (100%) rename {bt_control => core}/client/BTRC/gradle.properties (100%) rename {bt_control => core}/client/BTRC/gradle/wrapper/gradle-wrapper.jar (100%) rename {bt_control => core}/client/BTRC/gradle/wrapper/gradle-wrapper.properties (100%) rename {bt_control => core}/client/BTRC/gradlew (100%) rename {bt_control => core}/client/BTRC/gradlew.bat (100%) rename {bt_control => core}/client/BTRC/settings.gradle (100%) rename {bt_control => core}/mcu/pi.c (100%) rename {bt_control => core}/mcu/protocol.h (100%) diff --git a/README.md b/README.md index 5a863e4..839277f 100644 --- a/README.md +++ b/README.md @@ -1 +1,17 @@ -# robot \ No newline at end of file +# 巡线 & 蓝牙控制机器人 + +## 功能 +1. 蓝牙实时控制 +2. 自动巡线 + + +## 目录结构 + +### core +主要实现代码(包括客户端和服务端)。 + +### raspberrypi l298n hc-02 +相关硬件文档与测试 + +### SerialRW +Windows 下串口通信工具 diff --git a/bt_control/client/BTRC/.gitignore b/core/client/BTRC/.gitignore similarity index 100% rename from bt_control/client/BTRC/.gitignore rename to core/client/BTRC/.gitignore diff --git a/bt_control/client/BTRC/.idea/codeStyles/Project.xml b/core/client/BTRC/.idea/codeStyles/Project.xml similarity index 100% rename from bt_control/client/BTRC/.idea/codeStyles/Project.xml rename to core/client/BTRC/.idea/codeStyles/Project.xml diff --git a/bt_control/client/BTRC/.idea/gradle.xml b/core/client/BTRC/.idea/gradle.xml similarity index 100% rename from bt_control/client/BTRC/.idea/gradle.xml rename to core/client/BTRC/.idea/gradle.xml diff --git a/bt_control/client/BTRC/.idea/misc.xml b/core/client/BTRC/.idea/misc.xml similarity index 100% rename from bt_control/client/BTRC/.idea/misc.xml rename to core/client/BTRC/.idea/misc.xml diff --git a/bt_control/client/BTRC/.idea/runConfigurations.xml b/core/client/BTRC/.idea/runConfigurations.xml similarity index 100% rename from bt_control/client/BTRC/.idea/runConfigurations.xml rename to core/client/BTRC/.idea/runConfigurations.xml diff --git a/bt_control/client/BTRC/app/.gitignore b/core/client/BTRC/app/.gitignore similarity index 100% rename from bt_control/client/BTRC/app/.gitignore rename to core/client/BTRC/app/.gitignore diff --git a/bt_control/client/BTRC/app/build.gradle b/core/client/BTRC/app/build.gradle similarity index 100% rename from bt_control/client/BTRC/app/build.gradle rename to core/client/BTRC/app/build.gradle diff --git a/bt_control/client/BTRC/app/proguard-rules.pro b/core/client/BTRC/app/proguard-rules.pro similarity index 100% rename from bt_control/client/BTRC/app/proguard-rules.pro rename to core/client/BTRC/app/proguard-rules.pro diff --git a/bt_control/client/BTRC/app/src/androidTest/java/com/lt/btrc/ExampleInstrumentedTest.java b/core/client/BTRC/app/src/androidTest/java/com/lt/btrc/ExampleInstrumentedTest.java similarity index 100% rename from bt_control/client/BTRC/app/src/androidTest/java/com/lt/btrc/ExampleInstrumentedTest.java rename to core/client/BTRC/app/src/androidTest/java/com/lt/btrc/ExampleInstrumentedTest.java diff --git a/bt_control/client/BTRC/app/src/main/AndroidManifest.xml b/core/client/BTRC/app/src/main/AndroidManifest.xml similarity index 100% rename from bt_control/client/BTRC/app/src/main/AndroidManifest.xml rename to core/client/BTRC/app/src/main/AndroidManifest.xml diff --git a/bt_control/client/BTRC/app/src/main/java/com/lt/btrc/MainActivity.java b/core/client/BTRC/app/src/main/java/com/lt/btrc/MainActivity.java similarity index 100% rename from bt_control/client/BTRC/app/src/main/java/com/lt/btrc/MainActivity.java rename to core/client/BTRC/app/src/main/java/com/lt/btrc/MainActivity.java diff --git a/bt_control/client/BTRC/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/core/client/BTRC/app/src/main/res/drawable-v24/ic_launcher_foreground.xml similarity index 100% rename from bt_control/client/BTRC/app/src/main/res/drawable-v24/ic_launcher_foreground.xml rename to core/client/BTRC/app/src/main/res/drawable-v24/ic_launcher_foreground.xml diff --git a/bt_control/client/BTRC/app/src/main/res/drawable/ic_launcher_background.xml b/core/client/BTRC/app/src/main/res/drawable/ic_launcher_background.xml similarity index 100% rename from bt_control/client/BTRC/app/src/main/res/drawable/ic_launcher_background.xml rename to core/client/BTRC/app/src/main/res/drawable/ic_launcher_background.xml diff --git a/bt_control/client/BTRC/app/src/main/res/layout/activity_main.xml b/core/client/BTRC/app/src/main/res/layout/activity_main.xml similarity index 100% rename from bt_control/client/BTRC/app/src/main/res/layout/activity_main.xml rename to core/client/BTRC/app/src/main/res/layout/activity_main.xml diff --git a/bt_control/client/BTRC/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/core/client/BTRC/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml similarity index 100% rename from bt_control/client/BTRC/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml rename to core/client/BTRC/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml diff --git a/bt_control/client/BTRC/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/core/client/BTRC/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml similarity index 100% rename from bt_control/client/BTRC/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml rename to core/client/BTRC/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml diff --git a/bt_control/client/BTRC/app/src/main/res/mipmap-hdpi/ic_launcher.png b/core/client/BTRC/app/src/main/res/mipmap-hdpi/ic_launcher.png similarity index 100% rename from bt_control/client/BTRC/app/src/main/res/mipmap-hdpi/ic_launcher.png rename to core/client/BTRC/app/src/main/res/mipmap-hdpi/ic_launcher.png diff --git a/bt_control/client/BTRC/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/core/client/BTRC/app/src/main/res/mipmap-hdpi/ic_launcher_round.png similarity index 100% rename from bt_control/client/BTRC/app/src/main/res/mipmap-hdpi/ic_launcher_round.png rename to core/client/BTRC/app/src/main/res/mipmap-hdpi/ic_launcher_round.png diff --git a/bt_control/client/BTRC/app/src/main/res/mipmap-mdpi/ic_launcher.png b/core/client/BTRC/app/src/main/res/mipmap-mdpi/ic_launcher.png similarity index 100% rename from bt_control/client/BTRC/app/src/main/res/mipmap-mdpi/ic_launcher.png rename to core/client/BTRC/app/src/main/res/mipmap-mdpi/ic_launcher.png diff --git a/bt_control/client/BTRC/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/core/client/BTRC/app/src/main/res/mipmap-mdpi/ic_launcher_round.png similarity index 100% rename from bt_control/client/BTRC/app/src/main/res/mipmap-mdpi/ic_launcher_round.png rename to core/client/BTRC/app/src/main/res/mipmap-mdpi/ic_launcher_round.png diff --git a/bt_control/client/BTRC/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/core/client/BTRC/app/src/main/res/mipmap-xhdpi/ic_launcher.png similarity index 100% rename from bt_control/client/BTRC/app/src/main/res/mipmap-xhdpi/ic_launcher.png rename to core/client/BTRC/app/src/main/res/mipmap-xhdpi/ic_launcher.png diff --git a/bt_control/client/BTRC/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/core/client/BTRC/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png similarity index 100% rename from bt_control/client/BTRC/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png rename to core/client/BTRC/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png diff --git a/bt_control/client/BTRC/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/core/client/BTRC/app/src/main/res/mipmap-xxhdpi/ic_launcher.png similarity index 100% rename from bt_control/client/BTRC/app/src/main/res/mipmap-xxhdpi/ic_launcher.png rename to core/client/BTRC/app/src/main/res/mipmap-xxhdpi/ic_launcher.png diff --git a/bt_control/client/BTRC/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/core/client/BTRC/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png similarity index 100% rename from bt_control/client/BTRC/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png rename to core/client/BTRC/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png diff --git a/bt_control/client/BTRC/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/core/client/BTRC/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png similarity index 100% rename from bt_control/client/BTRC/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png rename to core/client/BTRC/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png diff --git a/bt_control/client/BTRC/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/core/client/BTRC/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png similarity index 100% rename from bt_control/client/BTRC/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png rename to core/client/BTRC/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png diff --git a/bt_control/client/BTRC/app/src/main/res/values/colors.xml b/core/client/BTRC/app/src/main/res/values/colors.xml similarity index 100% rename from bt_control/client/BTRC/app/src/main/res/values/colors.xml rename to core/client/BTRC/app/src/main/res/values/colors.xml diff --git a/bt_control/client/BTRC/app/src/main/res/values/strings.xml b/core/client/BTRC/app/src/main/res/values/strings.xml similarity index 100% rename from bt_control/client/BTRC/app/src/main/res/values/strings.xml rename to core/client/BTRC/app/src/main/res/values/strings.xml diff --git a/bt_control/client/BTRC/app/src/main/res/values/styles.xml b/core/client/BTRC/app/src/main/res/values/styles.xml similarity index 100% rename from bt_control/client/BTRC/app/src/main/res/values/styles.xml rename to core/client/BTRC/app/src/main/res/values/styles.xml diff --git a/bt_control/client/BTRC/app/src/test/java/com/lt/btrc/ExampleUnitTest.java b/core/client/BTRC/app/src/test/java/com/lt/btrc/ExampleUnitTest.java similarity index 100% rename from bt_control/client/BTRC/app/src/test/java/com/lt/btrc/ExampleUnitTest.java rename to core/client/BTRC/app/src/test/java/com/lt/btrc/ExampleUnitTest.java diff --git a/bt_control/client/BTRC/build.gradle b/core/client/BTRC/build.gradle similarity index 100% rename from bt_control/client/BTRC/build.gradle rename to core/client/BTRC/build.gradle diff --git a/bt_control/client/BTRC/gradle.properties b/core/client/BTRC/gradle.properties similarity index 100% rename from bt_control/client/BTRC/gradle.properties rename to core/client/BTRC/gradle.properties diff --git a/bt_control/client/BTRC/gradle/wrapper/gradle-wrapper.jar b/core/client/BTRC/gradle/wrapper/gradle-wrapper.jar similarity index 100% rename from bt_control/client/BTRC/gradle/wrapper/gradle-wrapper.jar rename to core/client/BTRC/gradle/wrapper/gradle-wrapper.jar diff --git a/bt_control/client/BTRC/gradle/wrapper/gradle-wrapper.properties b/core/client/BTRC/gradle/wrapper/gradle-wrapper.properties similarity index 100% rename from bt_control/client/BTRC/gradle/wrapper/gradle-wrapper.properties rename to core/client/BTRC/gradle/wrapper/gradle-wrapper.properties diff --git a/bt_control/client/BTRC/gradlew b/core/client/BTRC/gradlew similarity index 100% rename from bt_control/client/BTRC/gradlew rename to core/client/BTRC/gradlew diff --git a/bt_control/client/BTRC/gradlew.bat b/core/client/BTRC/gradlew.bat similarity index 100% rename from bt_control/client/BTRC/gradlew.bat rename to core/client/BTRC/gradlew.bat diff --git a/bt_control/client/BTRC/settings.gradle b/core/client/BTRC/settings.gradle similarity index 100% rename from bt_control/client/BTRC/settings.gradle rename to core/client/BTRC/settings.gradle diff --git a/bt_control/mcu/pi.c b/core/mcu/pi.c similarity index 100% rename from bt_control/mcu/pi.c rename to core/mcu/pi.c diff --git a/bt_control/mcu/protocol.h b/core/mcu/protocol.h similarity index 100% rename from bt_control/mcu/protocol.h rename to core/mcu/protocol.h