Comments (3)
onRecord: GPS has not ready, can't start record
如果没有GPX文件,会出现如上错误,一定要事先准备.GPX,才能启动开始按钮吗 ?
from x-track.
代码路径:
X-Track\Simulator\LVGL.Simulator\HAL\HAL_GPS.cpp
static bool Parser_Init(GPX_Parser* parser, FileInfo_t* info) { ... lv_fs_res_t res = lv_fs_open(&info->file, CONFIG_TRACK_VIRTUAL_GPX_FILE_PATH, LV_FS_MODE_RD); ... }如果是第一次骑行,如何准备GPX文件?如果去GPX没有覆盖的地方,程序还会正常记录速度、耗时等数据信息吗?
如果第一次没有GPX文件,运动记录操作跑不起来,这种情况如何解决??一定要实现准备GPX吗?
这个是PC模拟器的逻辑。因为PC上没有真实的GPS设备来产生坐标数据,所以通过回放GPX文件的方式来模拟GPS数据。
在真实设备上,GPS数据取自GPS模块,见代码文件HAL_GPS.cpp,不需要准备GPX文件。
from x-track.
onRecord: GPS has not ready, can't start record
如果没有GPX文件,会出现如上错误,一定要事先准备.GPX,才能启动开始按钮吗 ?
这个报错的含义是,要求GPS要先定位上(有坐标数据产生),才能开始进行轨迹记录,轨迹记录器不关心实际的GPS数据源。PC模拟器需要导入GPX文件才能产生GPS数据,在真实设备上是GPS连接成功就能产生GPS数据。
from x-track.
Related Issues (20)
- AT32F403ACGU7 是QFN封裝,可以焊接嗎,板子兼容嗎 HOT 1
- 最小分辨率支持多少? HOT 2
- CH343貌似没有作用,是不是也不用焊了? HOT 1
- 请问作者如何实现测量剩余电量 HOT 2
- 低电压时电量电压显示不准确 HOT 1
- 不同的pcb文件格式
- 能否给欧洲用户更新点免费地图 HOT 2
- 编译的时候出现14个error HOT 3
- BOM AON3400 是否应该是 AO3400? HOT 2
- 可以正常开机和充电,但是按钮一松手就断电 HOT 1
- 无法定位程序输入点'PssCaptureSnapshot' 于动态链接库KERNEL32.dll
- 支持嵌入式linux平台么 HOT 12
- 页面的自定义出场动画不起作用 HOT 1
- Buy HOT 1
- 新版本页面管理器在页面退出动画不连续 HOT 18
- 请问支持ubuntu仿真运行吗 HOT 1
- 无法获取手势动作 HOT 3
- 这个页面管理框架会有内存泄漏的现象吗? HOT 2
- gpxsee查看历史轨迹的时候使用高德瓦片地图显示位置偏移 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from x-track.