21 Commits

Author SHA1 Message Date
茂之钳 c416ffb853 fix: compilation errors — val reassign + missing import
Build APK / build (push) Failing after 4s
v1.2.2
2026-05-30 06:12:54 +00:00
茂之钳 b172564a81 fix: stable crash fixes — EKF singularity, NaN guard, chart lifecycle, service binding
Build APK / build (push) Failing after 6s
2026-05-30 05:39:36 +00:00
茂之钳 756da44f4f feat: global crash handler saves log to app files dir
Build APK / build (push) Failing after 4s
SensToolsApp now installs a default uncaught exception handler that
writes crash stack traces to filesDir/crashes/crash_YYYY-MM-DD_HH-mm-ss.txt
before passing to the default handler. This makes debugging easy without
adb/root.
v1.2.1
2026-05-28 10:44:16 +00:00
茂之钳 d3791c5514 fix: EKFAttitude array index out of bounds in Kalman gain calculation
Build APK / build (push) Failing after 3s
P[i][k] accessed k up to 5, but P is 4x4 (only indices 0..3 valid).
Split P * H^T multiplication into two explicit steps:
1. PHT = P * H^T (4x6, k over 0..3)
2. K = PHT * SInv (4x6, k over 0..5)
2026-05-28 06:42:08 +00:00
茂之钳 b40552616e feat: add compass view to dashboard
Build APK / build (push) Failing after 3s
- CompassView: custom View with rotating dial, N/E/S/W labels,
  degree markings, red north / gray south pointer, bearing display
- Inserted compass card between Flight Dashboard and GPS Data cards
- CompassView driven by EKF attitude yaw from existing data pipeline
v1.2.0
2026-05-28 04:23:39 +00:00
茂之钳 ad4ca849b1 feat: auto-start sensor collection on app launch
Build APK / build (push) Failing after 3s
- DataCollectionService now starts collection automatically in onStartCommand
- DashboardFragment binds service + starts service on creation
- Recording button only controls file writing, not sensor collection
- Renamed btnStartRecording to btnRecord, updated layout and string resources
- stopRecording no longer stops sensor collection, only stops file writes
v1.1.0
2026-05-27 06:11:09 +00:00
茂之钳 9b254b6510 feat: Complete full sensor data collection, EKF filtering, data storage, visualization, and analysis modules
Build APK / build (push) Failing after 16m57s
2026-05-26 05:35:00 +00:00
茂之钳 afec7edf75 chore: upgrade build system to AGP 8.7.3 + Kotlin 2.0.21
Build APK / build (push) Failing after 3s
- Upgrade AGP from 8.2.0 to 8.7.3 for Gradle 9.x compatibility
- Upgrade Kotlin from 1.9.20 to 2.0.21
- Use explicit dependency strings (remove old version catalog)
- Remove old gradle wrapper (useless without internet download)
- Use system Gradle 9.4.1 directly

feat: Airbus-style PFD attitude indicator + map dropdown selector

- Rewrite ArtificialHorizonView as Airbus A320 PFD style:
  Central artificial horizon, fixed yellow aircraft, pitch scale,
  roll arc indicator, speed tape, altitude tape, compass rose
- Map: Spinner dropdown with 百度卫星图(default)/高德卫星图/Google卫星图 etc
v1.0.2
2026-05-25 16:23:13 +00:00
茂之钳 27873c2544 feat: Airbus-style PFD attitude indicator + map dropdown selector
Build APK / build (push) Failing after 7s
- Rewrite ArtificialHorizonView as Airbus A320 PFD style:
  - Central artificial horizon with pitch scale
  - Fixed yellow aircraft symbol on moving sky/ground
  - Roll scale arc with triangular indicator at top
  - Speed tape (knots) on left side
  - Altitude tape (meters) on right side
  - Heading compass rose at bottom (N/E/S/W)
  - Supports additional flight data display

- Map selection:
  - Replace TabLayout with Spinner dropdown
  - Options: 百度卫星图/普通/混合, 高德卫星图/普通, Google卫星/普通/地形/混合
  - Default: 百度卫星图
  - Each option includes provider + map type in one selection

- Fix Chinese map type names (was garbled in repo)
2026-05-25 15:24:58 +00:00
茂之钳 2ac5c75cf3 fix: add FileProvider for share, fix DataViewModel share intent
Build APK / build (push) Failing after 4s
v1.0.1
2026-05-25 07:41:09 +00:00
茂之钳 d738609f68 feat: complete DataViewModel with DataRepository integration and export/delete functionality
Build APK / build (push) Failing after 16m57s
2026-05-25 07:08:54 +00:00
茂之钳 6154104f1a feat: update DashboardViewModel and Fragment with service binding 2026-05-25 07:07:16 +00:00
茂之钳 99dcc8d86c feat: complete DataCollectionService with SensorCollector and DataRepository 2026-05-25 07:05:50 +00:00
茂之钳 70cb4ea803 feat: add DataRepository for binary storage and export 2026-05-25 07:05:15 +00:00
茂之钳 912f1ea461 feat: add SensorCollector for sensor data acquisition 2026-05-25 07:04:23 +00:00
茂之钳 95c7ac2e72 ci: add Gitea Actions workflow for automatic APK build
Build APK / build (push) Failing after 16m51s
2026-05-25 04:44:58 +00:00
茂之钳 595b6a72ce fix-build: APK compilation fixes
- Fix XML encoding issues (corrupted degree symbols, non-UTF8 bytes)
- Add swiperefreshlayout dependency for SwipeRefreshLayout
- Add missing string resources (language_*, select_map_type, select_language)
- Fix SettingsFragment ViewBinding AutoCompleteTextView compatibility
- Replace Material AutoCompleteTextView with android.widget version
- Add jitpack.io repo for MPAndroidChart dependency
- Add gradle wrapper (8.2) for reproducible builds
- Update .gitignore for build artifacts
v1.0.0
2026-05-25 04:43:42 +00:00
hm f5789e0d7d feat: Add multi-language support
- Create Chinese, English, Japanese, Korean string resources
- Add LanguageManager for language management
- Add language selection dropdown in Settings
- Update all layouts to use string resources
- Support app restart prompt for language change
2026-05-24 13:29:16 +08:00
hm 48fbf1564d feat: Add multi-map support with Google, Baidu, and Gaode providers
- Implement MapProvider interface with Google, Baidu, Gaode map providers
- Support satellite and normal map types for all providers
- Add coordinate conversion (WGS84 to BD09/GCJ02)
- Add tab-based map type and provider switching UI
- Add map settings with default provider and type configuration
- Add location button widget
- Add webview-based Baidu and Gaode map HTML assets
2026-05-24 12:45:06 +08:00
hm 15c5fb4dbd feat: Add Android project structure and documentation
- Add Software Design Specification (Word)
- Add Software Test Plan (Word)
- Create Android project with Kotlin + Clean Architecture
- Implement MVVM pattern with ViewModels
- Create Dashboard, Data, Map, Settings fragments
- Add custom ArtificialHorizonView for flight display
- Configure navigation and bottom navigation
- Add GPS and sensor data collection service
2026-05-24 10:24:34 +08:00
hm 43f79dac37 feat: 添加项目初始文件
- 添加 .gitignore 忽略文件
- 添加 doc/ 设计需求文档
2026-05-24 09:51:05 +08:00