Closed NoobTitan closed 2 weeks ago
You can try this
# build rm_interfaces first
colcon build --packages-select rm_interfaces --symlink-install
. install/setup.bash
# build again
colcon build --symlink-install
Probably because there's some depencies mistakes.
Thank you for your excellent work and prompt responses.
Here is the test process:
/home/sentry_ws# colcon build --packages-select rm_interfaces --symlink-install
[0.245s] WARNING:colcon.colcon_core.package_selection:ignoring unknown package 'rm_interfaces' in --packages-select
Summary: 0 packages finished [0.10s]
. install/setup.bash
colcon build --symlink-install
Starting >>> livox_ros_driver2
Starting >>> auto_aim_interfaces
Starting >>> behaviortree_cpp
Starting >>> behavior_ext_plugins
Starting >>> control_panel
Starting >>> costmap_intensity
Starting >>> pb_rm_simulation
Starting >>> sensor_scan_generation
Starting >>> sentry_bringup
Starting >>> terrain_analysis
Starting >>> terrain_analysis_ext
Starting >>> velocity_smoother_ext
Finished <<< behavior_ext_plugins [0.41s]
Finished <<< sentry_bringup [0.39s]
Finished <<< pb_rm_simulation [0.43s]
Finished <<< costmap_intensity [0.46s]
Finished <<< velocity_smoother_ext [0.68s]
Finished <<< livox_ros_driver2 [0.78s]
Starting >>> fast_lio
Starting >>> icp_relocalization
Starting >>> ros2_livox_simulation
Finished <<< behaviortree_cpp [0.80s]
--- stderr: control_panel
/usr/lib/python3/dist-packages/setuptools/command/easy_install.py:158: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
/usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
---
Finished <<< control_panel [0.92s]
Finished <<< auto_aim_interfaces [1.03s]
Starting >>> rm_decision_cpp
Finished <<< icp_relocalization [0.40s]
--- stderr: rm_decision_cpp
CMake Error at CMakeLists.txt:12 (find_package):
By not providing "Findrm_interfaces.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"rm_interfaces", but CMake did not find one.
Could not find a package configuration file provided by "rm_interfaces"
with any of the following names:
rm_interfacesConfig.cmake
rm_interfaces-config.cmake
Add the installation prefix of "rm_interfaces" to CMAKE_PREFIX_PATH or set
"rm_interfaces_DIR" to a directory containing one of the above files. If
"rm_interfaces" provides a separate development package or SDK, be sure it
has been installed.
---
Failed <<< rm_decision_cpp [0.65s, exited with code 1]
Aborted <<< ros2_livox_simulation [12.5s]
Aborted <<< sensor_scan_generation [15.4s]
Aborted <<< terrain_analysis [18.9s]
Aborted <<< terrain_analysis_ext [20.0s]
Aborted <<< fast_lio [54.7s]
Summary: 10 packages finished [55.6s]
1 package failed: rm_decision_cpp
5 packages aborted: fast_lio ros2_livox_simulation sensor_scan_generation terrain_analysis terrain_analysis_ext
5 packages had stderr output: control_panel fast_lio rm_decision_cpp ros2_livox_simulation terrain_analysis_ext
There is no rm_interfaces package
/home/sentry_ws/src# ls
BehaviorTree.CPP assert icp_relocalization rm_simulation
DevcontainterGuide.md auto_aim_interfaces livox_ros_driver2 sentry_bringup
FAST_LIO autonomous_exploration_development_environment nav2_plugins
README.md control_panel rm_decision_cpp
I see. You may want to synchronize the latest code by running git pull
. The code in the docker image is not the latest version and some packages are missing.
Sorry to bother you, but i can't find newer version by the following methods:
docker pull polarisxq/scurm
Using default tag: latest
Error response from daemon: manifest for polarisxq/scurm:latest not found: manifest unknown: manifest unknown
And docker hub shows:
run this command INSIDE THE CONTAINER
cd /home/sentry_ws/src
git pull
to synchronize
Thank u, the compilation passed
run: `docker pull polarisxq/scurm:nav_tutorial
docker run --gpus all -dit --ipc=host --net=host --privileged -e DISPLAY=host.docker.internal:0.0 -e NVIDIA_DRIVER_CAPABILITIES=all polarisxq/scurm:nav_tutorial
in docker bash
cd /home/sentry_ws colcon build --symlink-install ` expected: compilation finished
result: compilation failed `CMake Error at CMakeLists.txt:12 (find_package): By not providing "Findrm_interfaces.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "rm_interfaces", but CMake did not find one.
Could not find a package configuration file provided by "rm_interfaces" with any of the following names:
Add the installation prefix of "rm_interfaces" to CMAKE_PREFIX_PATH or set "rm_interfaces_DIR" to a directory containing one of the above files. If "rm_interfaces" provides a separate development package or SDK, be sure it has been installed.`