Closed yctros2 closed 9 months ago
The default branch of this repository targets ROS 2 galactic
as indicated in README#dependencies.
You could try using the humble
branch, but it is not tested.
该存储库的默认分支以 ROS 2 为目标,如README#dependencies
galactic
中所示。您可以尝试使用该
humble
分支,但尚未经过测试。
Thank you for being able to answer me in your busy schedule, but I have encountered a lot of tricky problems as a beginner, I would like to go and reproduce your program, but I don't know which piece is wrong right now, can you help me to solve it remotely, I will be very grateful!
To compile the humble
branch, you can try following these steps:
cd <your_workspace>
git clone https://github.com/AndrejOrsula/panda_ign_moveit2.git -b humble
vcs import < panda_ign_moveit2/panda_ign_moveit2.repos
IGNITION_VERSION=fortress rosdep install -y -r -i --rosdistro humble --from-paths .
colcon build --merge-install --symlink-install --cmake-args "-DCMAKE_BUILD_TYPE=Release"
Alternatively, you can test this repository using Docker (image is available on Docker Hub):
git clone https://github.com/AndrejOrsula/panda_ign_moveit2.git
panda_ign_moveit2/.docker/run.bash
Closing due to inactivity
Hi, I'm a beginner and I'm having some problems with the build. Much appreciated. `colcon build --merge-install --symlink-install --cmake-args "-DCMAKE_BUILD_TYPE=Release" [1.951s] WARNING:colcon.colcon_core.package_selection:Some selected packages are already built in one or more underlay workspaces: 'gripper_controllers' is in: /opt/ros/humble 'effort_controllers' is in: /opt/ros/humble 'velocity_controllers' is in: /opt/ros/humble 'joint_state_broadcaster' is in: /opt/ros/humble 'diff_drive_controller' is in: /opt/ros/humble 'ros2_controllers' is in: /opt/ros/humble 'joint_trajectory_controller' is in: /opt/ros/humble 'position_controllers' is in: /opt/ros/humble 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 diff_drive_controller effort_controllers gripper_controllers joint_state_broadcaster joint_trajectory_controller position_controllers ros2_controllers velocity_controllers
This may be promoted to an error in a future release of colcon-override-check. Starting >>> ros_ign_gazebo Starting >>> ros_ign_interfaces --- stderr: ros_ign_gazebo
CMake Error at CMakeLists.txt:32 (find_package): By not providing "Findignition-transport10.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "ignition-transport10", but CMake did not find one.
Could not find a package configuration file provided by "ignition-transport10" with any of the following names:
Add the installation prefix of "ignition-transport10" to CMAKE_PREFIX_PATH or set "ignition-transport10_DIR" to a directory containing one of the above files. If "ignition-transport10" provides a separate development package or SDK, be sure it has been installed.
Failed <<< ros_ign_gazebo [2.47s, exited with code 1] Aborted <<< ros_ign_interfaces [3.17s]
Summary: 0 packages finished [5.16s] 1 package failed: ros_ign_gazebo 1 package aborted: ros_ign_interfaces 1 package had stderr output: ros_ign_gazebo 20 packages not processed