Compare commits

...

5 Commits

Author SHA1 Message Date
Zhengyu Peng 4478b11968 Update body_bottom.f3d 2 years ago
Zhengyu Peng 6dc79edb06 update 2 years ago
Zhengyu Peng c6b6becd5e Update build.gradle 2 years ago
Zhengyu Peng ad8a1b78d8
Update README.md 2 years ago
Zhengyu Peng d10a062432 Update hexapod.py 2 years ago

@ -25,6 +25,8 @@ The table below shows the difference between this project and the original one.
https://user-images.githubusercontent.com/471808/148647807-02e3e901-6181-4473-8ac4-3b5998fa8d17.mp4
https://user-images.githubusercontent.com/471808/158099495-1caeb903-a2e6-4e8d-9f13-54728d7d255a.mp4
## Software
### Raspberry Pi

@ -13,7 +13,6 @@
<option value="$PROJECT_DIR$/app" />
</set>
</option>
<option name="resolveModulePerSourceSet" value="false" />
</GradleProjectSettings>
</option>
</component>

@ -4,12 +4,12 @@ plugins {
}
android {
compileSdk 31
compileSdk 32
defaultConfig {
applicationId "com.rookiedev.hexapod"
minSdk 30
targetSdk 31
targetSdk 32
versionCode 3
versionName "1.2"
@ -29,13 +29,14 @@ android {
kotlinOptions {
jvmTarget = '1.8'
}
namespace 'com.rookiedev.hexapod'
}
dependencies {
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0'
implementation 'androidx.core:core-ktx:1.7.0'
implementation 'androidx.appcompat:appcompat:1.4.1'
implementation 'com.google.android.material:material:1.5.0'
implementation 'com.google.android.material:material:1.6.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.rookiedev.hexapod">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
<uses-permission android:name="android.permission.BLUETOOTH_SCAN" />

@ -5,8 +5,8 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.1.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10"
classpath 'com.android.tools.build:gradle:7.2.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.21"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files

@ -1,6 +1,6 @@
#Wed Feb 09 11:03:31 EST 2022
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME

@ -350,7 +350,8 @@ class Hexapod(Thread):
def save_config(self):
try:
json.dump(self.config, open('/home/pi/hexapod/software/raspberry pi/config.json', 'w+'), indent=4)
json.dump(self.config, open(
'/home/pi/hexapod/software/raspberry pi/config.json', 'w+'), indent=4)
except PermissionError as err:
pass

Loading…
Cancel
Save