Unit 14 · lesson

Prerequisite Checkpoint: Verify the Package Contract

A ROS 2 package has source plus metadata that tells the build system what the package is and how it should be built.

Inspect one package and record:

  • package name;
  • build type;
  • declared dependencies;
  • installed resources or launch/config responsibilities;
  • evidence source for each claim.

Do not reteach package.xml or CMakeLists.txt line by line here. The bridge question is whether the package metadata supports the startup/integration role you expect.

Failure thought experiment

If the source directory exists but the package cannot be discovered after build, which layer would you inspect next: source naming, metadata, build output, install output, or shell overlay?

State your answer and the evidence you would collect.

If package metadata is unfamiliar, reactivate the ROS prerequisite before continuing.