Skip to content

Type UAV runtime annotations#249

Closed
ethayu wants to merge 1 commit into
mainfrom
user/ethayu/workspace-pylance-uav-runtime-annotations
Closed

Type UAV runtime annotations#249
ethayu wants to merge 1 commit into
mainfrom
user/ethayu/workspace-pylance-uav-runtime-annotations

Conversation

@ethayu

@ethayu ethayu commented May 27, 2026

Copy link
Copy Markdown
Collaborator

Fixes #248.
Part of #201.

Summary

  • Add structural typing for managed publisher/client delegation.
  • Validate UAV camera offset parameters before converting them to floats.

Verification

  • python3 -m py_compile controls/sae_2025_ws/src/uav/uav/runtime/managed_entities.py controls/sae_2025_ws/src/uav/uav/runtime/uav_mission.py
  • npx --yes pyright controls/sae_2025_ws/src/uav/uav/runtime/managed_entities.py controls/sae_2025_ws/src/uav/uav/runtime/uav_mission.py --outputjson => 0 errors
  • ruff format controls/sae_2025_ws/src/uav/uav/runtime/managed_entities.py controls/sae_2025_ws/src/uav/uav/runtime/uav_mission.py
  • ruff check controls/sae_2025_ws/src/uav/uav/runtime/managed_entities.py controls/sae_2025_ws/src/uav/uav/runtime/uav_mission.py
  • python3 -m pytest -q controls/sae_2025_ws/src/uav/test/test_peer_runtime_contract.py controls/sae_2025_ws/src/uav/test/test_runtime_behavior.py::test_uav_bootstrap_bool_parameter_and_manager_validation controls/sae_2025_ws/src/uav/test/test_auto_launch.py::test_uav_bootstrap_forwards_auto_launch => 15 passed

@ethayu

ethayu commented May 27, 2026

Copy link
Copy Markdown
Collaborator Author

Folded into #233 as a separate commit; closing to keep UAV runtime typing in one PR.

@ethayu ethayu closed this May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pylance: type UAV runtime annotations

1 participant