Skip to content

Expand doctor checklist to detect ROS2 distro + workspace state #3

@rylinjames

Description

@rylinjames

what

reflex doctor currently checks hardware, cuda, model availability. for users running the ros2 bridge, a common failure mode is a mismatched distro (humble vs jazzy) or an unsourced workspace, and doctor doesn't catch it.

scope

in src/reflex/runtime/ (or wherever doctor lives), add a check that:

  • detects if ros2 is installed (which ros2, ROS_DISTRO env)
  • reports the distro version
  • warns if a colcon workspace exists but isn't sourced
  • marks this check as optional (pass if ros2 isn't needed)

should show up in reflex doctor output as a new line item with PASS/WARN/FAIL.

acceptance

  • new check appears in doctor output
  • passes on a box without ros2 (marked optional)
  • catches an unsourced workspace correctly
  • test in tests/ mocking the env vars

see docs/doctor_check_list.md for the existing format.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions