If you have installed ROS 2 from source, there may have been changes made to the source code since the time that you checked it out.
To keep your source checkout up to date, you will have to periodically update your ros2.repos
file, download the latest sources, and rebuild your workspace.
Each ROS 2 release includes a ros2.repos
file that contains the list of repositories and their version for that release.
To download the repository list from the latest ROS 2 release, run:
@[if os is not 'windows']@