Skip to content

Locate your classroom in seconds, using your phone's compass and map for seamless guidance. 兰的找教室,使用室内地图和指南针帮忙快速在错综复杂的教学楼里找到教室。

License

Notifications You must be signed in to change notification settings

Acfboy/LazyClass-Finder

Repository files navigation

兰的找教室

拍摄导览图并在上面方便地打些标记,然后再也不用担心找不到教室了! IMG_20250503_175904


Refactoring completed.

重构已经完成,代码质量高了些,操作逻辑也正常了很多。在陇山堂的实践表明,挺有用的。

This is a hands - on project of mine to create an indoor navigation app based on a mobile compass. I'm using Tauri for the backend, with Vue + TypeScript for the frontend and Rust for the backend.

I've already implemented the original features, but there are still some issues:

  1. Poor Module Division: Some parts have a lot of code in a single function or component, which reduces readability and maintainability.
  2. Lack of Documentation and Testing: I didn't get into the habit of writing documentation and tests, focusing only on getting the project done quickly.
  3. Inadequate Error Handling: Although it generally works fine, the app crashes if given a map that's mostly correct but has some issues.
  4. Low Practicality: In practical testing in Qinling Hall, the navigation is not very effective.
  5. Pretentious: There's no need to write in English in the README at all.

As a learning exercise, I'll gradually refactor some code to make it more elegant and improve its practicality.

这是我的一个练手项目,实现一个基于手机罗盘的室内导航 APP,使用 tauri 实现,前端 Vue + Typescript,后端 Rust。

原定功能已经实现完成,但是还有以下问题:

  1. 模块划分不够好。有几个部分单个函数单个组件写了一大堆东西,可读性可维护性较低。
  2. 缺少文档和测试。习惯不够好,没有随手写文档和测试,就想着快点把东西做出来。
  3. 没有考虑好错误处理。虽然一般不会出问题,但是若给个大部分对但有点问题的地图直接爆炸。
  4. 实用性低。在秦岭堂的实战测试表明,这导航一点也不好用。

作为练习,我会慢慢重构部分代码,使实现更加优雅,并提高实用性。

About

Locate your classroom in seconds, using your phone's compass and map for seamless guidance. 兰的找教室,使用室内地图和指南针帮忙快速在错综复杂的教学楼里找到教室。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published