Skip to content

Refactor :: Sensor related, map related modules#2

Open
Bol-C14 wants to merge 1 commit intorefactorfrom
codex/refactor-trajectorymapmaker-to-factory-pattern
Open

Refactor :: Sensor related, map related modules#2
Bol-C14 wants to merge 1 commit intorefactorfrom
codex/refactor-trajectorymapmaker-to-factory-pattern

Conversation

@Bol-C14
Copy link
Owner

@Bol-C14 Bol-C14 commented Jun 4, 2025

Summary

  • introduce MovementSensorFactory to centralize sensor creation
  • make MovementSensor immutable with private constructor and getters
  • add SensorInfo.unavailable() helper
  • update SensorFusion to use the new factory and getters
  • adjust SensorFusionUtils accordingly

Testing

  • ./gradlew test

@Bol-C14 Bol-C14 changed the title Refactor MovementSensor with factory Refactor :: Sensor related, map related modules Jun 4, 2025
@Bol-C14 Bol-C14 marked this pull request as ready for review June 4, 2025 15:33
@Bol-C14 Bol-C14 added the refactor Improve code structure label Jun 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

codex refactor Improve code structure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant