fix: smooth dual-station elevation curve

- Fix cubic Bezier control points (proper Catmull-Rom to Bezier conversion)
- Refine AOS/LOS more robustly by walking from edge into the pass window
- Still 5s sampling for smooth curves
This commit is contained in:
atsunatsu committed 2026-08-02 23:07:28 +08:00
1 parent 5de370983d
commit d7e1ce11c9
9 files changed
+437 -221

No files matched your search

@@ -206,7 +206,15 @@ fun MainScreen(navigateToRadar: () -> Unit = {}) {
}
entry<Screen.Mutual> {
val viewModel = MutualViewModel(container.satelliteRepo, container.settingsRepo)
MutualScreen(viewModel = viewModel)
MutualScreen(
viewModel = viewModel,
navigateUp = navigateBack,
navigateToRadar = { catNum, aosTime, pass ->
pass?.let { container.setMutualPassData(it) }
container.satelliteRepo.selectPass(catNum, aosTime)
backStack.add(Screen.Radar)
}
)
}
entry<Screen.Settings> {
SettingsDestination()