refactor(firmware): make control tick data flow explicit (LOS-166) - #310
Merged
Merged
Conversation
LostPointer
marked this pull request as ready for review
July 28, 2026 11:52
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Описание
Второй этап LOS-166: делает data flow одного 500 Hz control tick явным и оставляет в
ControlLoopProcessorтолько намеренно межтиковое состояние. Математика стабилизации, порядок safety-стадий и внешние контракты не меняются.Тип изменений
Что было сделано
ControlSetpoint,ControlTickInputиControlTickState.PersistentStateоставлены только данные, реально живущие между тиками.CalibrationEffectsявно сообщает о смене reference frame и сбросе EKF; cached estimate синхронизируется до auto-drive.GetConfig()на тик.Как тестировать
unit_tests --gtest_brief=1— 998 тестов должны пройти.sim_host.RC_PROFILE_LOOP=ONи запустить Processor/Estimator/Calibration suites.clang-format-20.Checklist
Breaking Changes
Performance Impact
На host подтверждена профильная сборка; измерение 2 ms budget на ESP32-S3 не выполнялось, поскольку
idf.pyнедоступен.Связанные задачи
Related to LOS-166.
Follow-up to #309.
Для reviewer
PersistentState, calibration reset synchronization и Kids motor-model path.Автор: @LostPointer