git clone到工作空间之后,进行source环境变量和编译。在编译的过程中报错如下

root@ubuntu:/home/sunrise/Desktop/dev_ws# colcon build
[34.127s] WARNING:colcon.colcon_core.package_selection:Some selected packages are already built in one or more underlay workspaces:
        'hobot_audio' is in: /opt/tros
        'mipi_cam' is in: /opt/tros
If a package in a merged underlay workspace is overridden and it installs headers, then all packages in the overlay must sort their include directories by workspace order. Failure to do so may result in build failures or undefined behavior at run time.
If the overridden package is used by another package in any underlay, then the overriding package in the overlay must be API and ABI compatible or undefined behavior at run time may occur.

If you understand the risks and want to override a package anyways, add the following to the command line:
        --allow-overriding hobot_audio mipi_cam

This may be promoted to an error in a future release of colcon-override-check.
Starting >>> originbot_msgs
Starting >>> serial
Starting >>> audio_control
Starting >>> body_tracking
Finished <<< serial [15.2s]
Starting >>> gesture_control
Finished <<< body_tracking [14.7s]
Finished <<< audio_control [19.3s]
Starting >>> hobot_audio
Starting >>> line_follower_perception
Finished <<< originbot_msgs [36.8s]
Starting >>> mipi_cam
Finished <<< gesture_control [23.6s]
Starting >>> originbot_autonomous
Finished <<< hobot_audio [29.7s]
Starting >>> originbot_bringup
Finished <<< line_follower_perception [32.9s]
Starting >>> originbot_navigation
Finished <<< mipi_cam [32.7s]
Starting >>> originbot_teleop
Finished <<< originbot_bringup [21.4s]
Starting >>> parking_search
--- stderr: originbot_navigation
CMake Error at CMakeLists.txt:20 (find_package):
  By not providing "Findnav2_bringup.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "nav2_bringup", but CMake did not find one.

  Could not find a package configuration file provided by "nav2_bringup" with
  any of the following names:


  Add the installation prefix of "nav2_bringup" to CMAKE_PREFIX_PATH or set
  "nav2_bringup_DIR" to a directory containing one of the above files.  If
  "nav2_bringup" provides a separate development package or SDK, be sure it
  has been installed.

Failed   <<< originbot_navigation [20.3s, exited with code 1]
Aborted  <<< parking_search [4.53s]
Aborted  <<< originbot_teleop [19.4s]
Aborted  <<< originbot_autonomous [1min 3s]

Summary: 9 packages finished [2min 22s]
  1 package failed: originbot_navigation
  3 packages aborted: originbot_autonomous originbot_teleop parking_search
  3 packages had stderr output: originbot_autonomous originbot_navigation originbot_teleop
  10 packages not processed

在这个报告中,主要的错误是针对 originbot_navigation 软件包的,它报告了无法找到 nav2_bringup 的错误。因为这个应用代码不是我自己写的,是直接根据官方网站克隆下来的,我不太清楚为什么会出现这个问题