Skip to content

test(aircraft): pure ros2 topic info parser with unit tests#164

Closed
Bartok9 wants to merge 1 commit into
JacopoPan:mainfrom
Bartok9:test/inspect-topics-parse
Closed

test(aircraft): pure ros2 topic info parser with unit tests#164
Bartok9 wants to merge 1 commit into
JacopoPan:mainfrom
Bartok9:test/inspect-topics-parse

Conversation

@Bartok9

@Bartok9 Bartok9 commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Extract `parse_topic_info_lines` so topic/type/pub/sub parsing is covered offline without a live ROS graph.

Motivation

inspect_topics parsing mixed section markers is easy to regress. Move pure line parsing behind offline unittest while keeping CLI behavior.

Verification

  • `cd aircraft/aircraft_resources/scripts && python3 -m unittest test_inspect_topics_parse -v` → 3 passed

  • Did NOT change: sim_run/sim_build/deploy_* env validation (maintainer check_env_vars), geofence/arm paths

Notes

  • One logical change; minimal additive diff
  • Human-authored and reviewed; AI-assisted drafting only where noted in campaign process
  • DCO signed-off

Agent-Owner: sera · Platform: hermes · Claim-TTL: 24h

Extract parse_topic_info_lines so topic/type/pub/sub parsing is
covered offline without a live ROS graph.

Signed-off-by: Daniel Pike <daniel@team-of-light.org>
@JacopoPan JacopoPan closed this Jul 23, 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.

2 participants