mirror of
https://github.com/azaion/gps-denied-onboard.git
synced 2026-06-23 09:51:14 +00:00
refactor(01-06): split core/mavlink.py into components/mavlink_io
- Extract MAVLinkBridge + 3 private helpers to pymavlink_bridge.py (455 LOC) - Extract MockMAVConnection to mock_mavlink.py (30 LOC) - Replace core/mavlink.py with shim re-exporting all names including _confidence_to_fix_type, _eskf_to_gps_input, _unix_to_gps_time - Update components/mavlink_io/__init__.py with full public surface - 216 tests pass (regression floor maintained) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
from .protocol import MAVLinkBridgeProtocol
|
||||
from .pymavlink_bridge import (
|
||||
MAVLinkBridge,
|
||||
_PYMAVLINK_AVAILABLE,
|
||||
_unix_to_gps_time,
|
||||
_confidence_to_fix_type,
|
||||
_eskf_to_gps_input,
|
||||
)
|
||||
from .mock_mavlink import MockMAVConnection
|
||||
|
||||
__all__ = [
|
||||
"MAVLinkBridgeProtocol",
|
||||
"MAVLinkBridge",
|
||||
"_PYMAVLINK_AVAILABLE",
|
||||
"_unix_to_gps_time",
|
||||
"_confidence_to_fix_type",
|
||||
"_eskf_to_gps_input",
|
||||
"MockMAVConnection",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user