Closed TZECHIN6 closed 1 year ago
Hi everyone, I just somehow installed successfully.
When I run $ ros2 pkg list
, I found no diagnostic_updater
...
So I head to my workspace /ros2_ws
and run $ . install/setup.bash
.
After that, I rerun colcon build --symlink-install
and no error reported.
Although the problem seem solved, however as I am working on Docker environment, how can I insert these step into Dockerfile so that it can constantly deploy to other machine??
Something like:
RUN source /ros2_ws/install/setup.bash && \
colcon build --symlink-install
Environment setup:
Error reproduce (inside docker environment):
Error message:
I have searched a bit in google, most of the answer is telling to install the ros-galactic-diagnostic-updater package, however, seem the problem still exist. Is that a path problem of CMake, so that it cannot locate the required packages? Thanks everyone!