MCPcopy Index your code
hub / github.com/FASTSHIFT/X-TRACK

github.com/FASTSHIFT/X-TRACK @v2.7

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.7 ↗ · + Follow
9,152 symbols 27,505 edges 1,760 files 2,723 documented · 30%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

X-TRACK

开源GPS自行车码表。

拥有可显示实时位置的离线地图。

支持记录和显示实时轨迹以及导出标准GPX格式的轨迹文件。

全新设计的"页面生命周期管理""消息订阅发布框架"

演示视频:https://www.bilibili.com/video/BV1GB4y1K7VV

image

GUI

LVGL V8

硬件配置

  • 1.主控: AT32F435CGU7 (主频:288MHz RAM:512KB ROM:1MB)
  • 2.屏幕: ST7789 IPS 1.54inch SPI接口 240x240分辨率 60Hz刷新率
  • 3.储存器: Micro SD CARD 32GB
  • 4.输入设备: 旋转编码器
  • 5.RTC: MCU内置RTC时钟
  • 6.加速度计: LSM6DSM (支持硬件计步输出)
  • 7.地磁计: LIS3MDL
  • 8.GPS: ATGM336H (BDS + GPS + GLONASS + GALILEO + QZSS + SBAS)
  • 9.电池: Li-ion 3.7V 683030 700mAh
  • 10.电源管理: LP5907-3.3 + MCP73831
  • 11.外壳: 3D打印 光固化

功能

  • 1.支持速度、距离、时间、卡路里、航向显示
  • 2.拥有离线地图,支持显示实时位置,支持缩放
  • 3.支持计步
  • 4.支持经纬度、海拔显示
  • 5.支持RTC自动根据GPS校准
  • 6.支持记录轨迹,可导出GPX格式的文件
  • 7.支持掉电自动保存数据(JSON格式文件)
  • 8.四小时续航 (持续工作,始终亮屏)
  • 9.支持在PC模拟器模拟,脱离硬件调试(配置为Release x86)
  • 10.支持显示实时轨迹
  • 11.待续...

实物演示

测速

https://user-images.githubusercontent.com/26767803/120889722-1f8d8e80-c631-11eb-8294-df79f151dedb.mp4

历史轨迹显示(GPXSee)

image

致谢

感谢@davidce贡献的参考设计“自制基于arduino的GPS地图导航系统3.0”。

感谢@W-Mai改进的地图下载链接生成工具地图下载器LVGL图片转换器(Python版)批量文件重命名工具

感谢@Trigger-CNUI设计

感谢@MouriNaruto的LVGL Visual Studio模拟器lv_sim_visual_studio

感谢@dj140编写地图下载教程

Core symbols most depended-on inside this repo

lv_obj_add_style
called by 565
Software/X-Track/Simulator/LVGL.Simulator/lvgl/src/core/lv_obj_style.c
deserializeJson
called by 330
Software/X-Track/USER/App/Utils/ArduinoJson/src/ArduinoJson/Json/JsonDeserializer.hpp
lv_scr_act
called by 322
Software/X-Track/Simulator/LVGL.Simulator/lvgl/src/core/lv_disp.h
lv_event_send
called by 233
Software/X-Track/Simulator/LVGL.Simulator/lvgl/src/core/lv_event.c
lv_area_get_width
called by 233
Software/X-Track/Simulator/LVGL.Simulator/lvgl/src/misc/lv_area.h
lv_label_create
called by 223
Software/X-Track/Simulator/LVGL.Simulator/lvgl/src/widgets/lv_label.c
lv_label_set_text
called by 221
Software/X-Track/Simulator/LVGL.Simulator/lvgl/src/widgets/lv_label.c
memoryUsage
called by 216
Software/X-Track/USER/App/Utils/ArduinoJson/src/ArduinoJson/Collection/CollectionImpl.hpp

Shape

Function 5,108
Method 3,017
Class 967
Enum 60

Languages

C++50%
C45%
Python4%
TypeScript1%
Ruby1%

Modules by API surface

Software/X-Track/USER/App/Utils/ArduinoJson/extras/tests/catch/catch.hpp1,060 symbols
Software/X-Track/Simulator/LVGL.Simulator/lvgl/src/extra/libs/png/lodepng.c247 symbols
Software/X-Track/Libraries/SdFat/extras/cpplint.py170 symbols
Software/X-Track/Simulator/LVGL.Simulator/lv_drivers/wayland/wayland.c131 symbols
Software/X-Track/Simulator/LVGL.Simulator/lvgl/src/core/lv_obj_style_gen.h95 symbols
Software/X-Track/Simulator/LVGL.Simulator/lvgl/src/core/lv_obj_style_gen.c85 symbols
Software/X-Track/Simulator/LVGL.Simulator/lvgl/src/misc/lv_style_gen.c84 symbols
Software/X-Track/Simulator/LVGL.Simulator/lvgl/src/misc/lv_tlsf.c71 symbols
Software/X-Track/Libraries/SdFat/extras/html/jquery.js65 symbols
Software/X-Track/Simulator/LVGL.Simulator/lvgl/demos/benchmark/lv_demo_benchmark.c63 symbols
Software/X-Track/Libraries/Adafruit_GFX_Library/Adafruit_GFX.cpp60 symbols
Software/X-Track/MDK-ARM_F435/RTE/Device/-AT32F435CGU7/at32f435_437_tmr.c58 symbols

For agents

$ claude mcp add X-TRACK \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact