diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3d82e88 --- /dev/null +++ b/.gitignore @@ -0,0 +1,83 @@ +# tc +/.idea/* +/build/* + + + +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 + +# User-specific stuff +.idea/**/workspace.xml +.idea/**/tasks.xml +.idea/**/usage.statistics.xml +.idea/**/dictionaries +.idea/**/shelf + +# AWS User-specific +.idea/**/aws.xml + +# Generated files +.idea/**/contentModel.xml + +# Sensitive or high-churn files +.idea/**/dataSources/ +.idea/**/dataSources.ids +.idea/**/dataSources.local.xml +.idea/**/sqlDataSources.xml +.idea/**/dynamic.xml +.idea/**/uiDesigner.xml +.idea/**/dbnavigator.xml + +# Gradle +.idea/**/gradle.xml +.idea/**/libraries + +# Gradle and Maven with auto-import +# When using Gradle or Maven with auto-import, you should exclude module files, +# since they will be recreated, and may cause churn. Uncomment if using +# auto-import. +# .idea/artifacts +# .idea/compiler.xml +# .idea/jarRepositories.xml +# .idea/modules.xml +# .idea/*.iml +# .idea/modules +# *.iml +# *.ipr + +# CMake +cmake-build-*/ + +# Mongo Explorer plugin +.idea/**/mongoSettings.xml + +# File-based project format +*.iws + +# IntelliJ +out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Cursive Clojure plugin +.idea/replstate.xml + +# SonarLint plugin +.idea/sonarlint/ + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties + +# Editor-based Rest Client +.idea/httpRequests + +# Android studio 3.1+ serialized cache file +.idea/caches/build_file_checksums.ser diff --git a/samples/sample_c/platform/linux/manifold2/application/dji_sdk_app_info.h b/samples/sample_c/platform/linux/manifold2/application/dji_sdk_app_info.h index 7330d8d..efe3881 100644 --- a/samples/sample_c/platform/linux/manifold2/application/dji_sdk_app_info.h +++ b/samples/sample_c/platform/linux/manifold2/application/dji_sdk_app_info.h @@ -35,12 +35,12 @@ extern "C" { /* Exported constants --------------------------------------------------------*/ // ATTENTION: User must goto https://developer.dji.com/user/apps/#all to create your own dji sdk application, get dji sdk application // information then fill in the application information here. -#define USER_APP_NAME "your_app_name" -#define USER_APP_ID "your_app_id" -#define USER_APP_KEY "your_app_key" -#define USER_APP_LICENSE "your_app_license" -#define USER_DEVELOPER_ACCOUNT "your_developer_account" -#define USER_BAUD_RATE "460800" +#define USER_APP_NAME "imager" +#define USER_APP_ID "90210" +#define USER_APP_KEY "2c309ca22fb1e67cc166ccc9dc261f4" +#define USER_APP_LICENSE "JYdEUQRW5lsZANuJnMr9qGsD/1I3KyJL+es97f0qkC4QuCITbCjTIzQNkjk63nuShBtjtC4cCf9PdlLfGCGQWQ5rJDBURg9JbotJEXejpXJgTV/1Jq3ZAp9Jp7ajOhvClcKDzfOllPj/216BtYrC7G92CED39p4iUec5p4cG/ClHYAEKys+1cyHWufcV3COgqqCdxlveY0LlWXP44Q1e4vcFMfo4AqN4LghOO7fMdqsN6CLWNN0WEZu8GnU1TWzXAUE9uLjzqxH8WJLDJChBQvXdsxm/RTuER2mCu8NflMNDhnl+sWASiqTXJyZwN8gdu2fuDkU8umlhxQP+1Gk8ig==" +#define USER_DEVELOPER_ACCOUNT "735056338@qq.com" +#define USER_BAUD_RATE "115200" /* Exported types ------------------------------------------------------------*/ diff --git a/samples/sample_c/platform/linux/manifold2/hal/hal_network.h b/samples/sample_c/platform/linux/manifold2/hal/hal_network.h index 302f8a9..3d1e830 100644 --- a/samples/sample_c/platform/linux/manifold2/hal/hal_network.h +++ b/samples/sample_c/platform/linux/manifold2/hal/hal_network.h @@ -42,7 +42,7 @@ extern "C" { #ifdef PLATFORM_ARCH_x86_64 #define LINUX_NETWORK_DEV "enxf8e43b7bbc2c" #else -#define LINUX_NETWORK_DEV "l4tbr0" +#define LINUX_NETWORK_DEV "eth1" #endif /** * @attention diff --git a/samples/sample_c/platform/linux/manifold2/hal/hal_uart.h b/samples/sample_c/platform/linux/manifold2/hal/hal_uart.h index f30a661..700e56b 100644 --- a/samples/sample_c/platform/linux/manifold2/hal/hal_uart.h +++ b/samples/sample_c/platform/linux/manifold2/hal/hal_uart.h @@ -45,7 +45,7 @@ extern "C" { /* Exported constants --------------------------------------------------------*/ //User can config dev based on there environmental conditions -#define LINUX_UART_DEV1 "/dev/ttyUSB0" +#define LINUX_UART_DEV1 "/dev/ttyUSB1" #define LINUX_UART_DEV2 "/dev/ttyACM0" /* Exported types ------------------------------------------------------------*/