FOC-Sensorless-EKF-STM32G474
无感FOC项目,采用EKF观测器或非线性磁链观测器(Nonlinear Flux Observer)或滑模观测器(SMO),MCU采用STM32G474RET6,板子使用ST的X-NUCLEO-IHM07M1评估板,项目为Clion的CMAKE项目,可以使用Clion或VSCode打开。
What XERJ indexed
Snapshot
The whole repository at commit 5a17053062 (2026-10-12). main is 3 commits ahead.
Selected work

“改回单ADC采样,防止中断触发错误”. 108 files, 3,350 lines in Drivers, the project root, Core/Src.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-16. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
bldcbldc-controlbldc-driverbldc-motorbldc-motor-controlbldc-motor-controllerbldc-motorsekf
Example questions
- How does FOC-Sensorless-EKF-STM32G474 implement bldc?
- Where does FOC-Sensorless-EKF-STM32G474 handle “改回单ADC采样,防止中断触发错误”?
- What does Drivers do in FOC-Sensorless-EKF-STM32G474?
Inside the indexed corpus
- 1,251 files, 76.5 MB in total, about 62.6 KB per file.
- The selected commit changed 108 of those files (8.6%).
- Languages by size: C 97%, Assembly 2.7%, C++ 0.1%, CMake 0.1%, Linker Script 0%.
- On GitHub since 2025-10-30, last push 2026-10-16, 69 commits on main.
- The pin is 3 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported MIT for lxcy-tiger/FOC-Sensorless-EKF-STM32G474 on 2026-10-31, and the LICENSE file at commit 5a17053062 was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
lxcy (@lxcy-tiger) has 1 selected repository on the hub.
Using XERJ with FOC-Sensorless-EKF-STM32G474
- Search an OpenAPI spec so an agent can find endpoints The hub files it under API design and specification.
- ripgrep vs a code index for coding agents: 30 tasks
- Best MCP servers for local code search in 2026, compared
- Best grep alternative for AI coding agents (2026)
The prompt
Paste it into your AI agent. It clones lxcy-tiger/FOC-Sensorless-EKF-STM32G474 at the pinned commit and indexes it on your machine.
Search the GitHub repository lxcy-tiger/FOC-Sensorless-EKF-STM32G474 with XERJ (https://hub.xerj.org/corpus/lxcy-tiger--foc-sensorless-ekf-stm32g474). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/lxcy-tiger/FOC-Sensorless-EKF-STM32G474 FOC-Sensorless-EKF-STM32G474 && git -C FOC-Sensorless-EKF-STM32G474 checkout 5a17053062a1d925c912f5a4f85794e8dc89f523 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./FOC-Sensorless-EKF-STM32G474 --url http://127.0.0.1:9200 --prefix foc-sensorless-ekf-stm32 --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: MIT. Keep the copyright notice and credit the authors.
Related
lxcyAPI design and specification corporaKeliWontKeil/HYWfoc
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.