moveit / moveit_task_constructor

A hierarchical multi-stage manipulation planner
https://moveit.github.io/moveit_task_constructor
BSD 3-Clause "New" or "Revised" License
183 stars 152 forks source link

Isaac ROS docker build fails at moveit_tak_constructor #596

Closed singh-jayant closed 4 months ago

singh-jayant commented 4 months ago

Hi, my docker build of Isaac ROS from this dockerfile is failing at line 241:

# Install MoveIt task constructor from source.  The "demo" package depends on moveit_resources_panda_moveit_config,
# installed from source above.
RUN --mount=type=cache,target=/var/cache/apt \
    mkdir -p ${ROS_ROOT}/src && cd ${ROS_ROOT}/src \
    && git clone https://github.com/ros-planning/moveit_task_constructor.git -b humble \
    && cd moveit_task_constructor && source ${ROS_ROOT}/setup.bash \
    && cd msgs && bloom-generate rosdebian && fakeroot debian/rules binary \
    && cd ../ && apt-get install -y ./*.deb && rm ./*.deb \
    && cd rviz_marker_tools && bloom-generate rosdebian && fakeroot debian/rules binary \
    && cd ../ && apt-get install -y ./*.deb && rm ./*.deb \
    && cd core && bloom-generate rosdebian && fakeroot debian/rules binary DEB_BUILD_OPTIONS=nocheck \
    && cd ../ && apt-get install -y ./*.deb && rm ./*.deb \
    && cd capabilities && bloom-generate rosdebian && fakeroot debian/rules binary DEB_BUILD_OPTIONS=nocheck \
    && cd ../ && apt-get install -y ./*.deb && rm ./*.deb \
    && cd visualization && bloom-generate rosdebian && fakeroot debian/rules binary DEB_BUILD_OPTIONS=nocheck \
    && cd ../ && apt-get install -y ./*.deb && rm ./*.deb \
    && cd demo && bloom-generate rosdebian && fakeroot debian/rules binary DEB_BUILD_OPTIONS=nocheck \
    && cd ../ && apt-get install -y ./*.deb && rm ./*.deb

And I get the following error:

190.6 -- Found moveit_task_constructor_msgs: 0.1.3 (/opt/ros/humble/share/moveit_task_constructor_msgs/cmake)
191.0 CMake Error at CMakeLists.txt:15 (find_package):
191.0   By not providing "Findpy_binding_tools.cmake" in CMAKE_MODULE_PATH this
191.0   project has asked CMake to find a package configuration file provided by
191.0   "py_binding_tools", but CMake did not find one.
191.0 
191.0   Could not find a package configuration file provided by "py_binding_tools"
191.0   with any of the following names:
191.0 
191.0     py_binding_toolsConfig.cmake
191.0     py_binding_tools-config.cmake
191.0 
191.0   Add the installation prefix of "py_binding_tools" to CMAKE_PREFIX_PATH or
191.0   set "py_binding_tools_DIR" to a directory containing one of the above
191.0   files.  If "py_binding_tools" provides a separate development package or
191.0   SDK, be sure it has been installed.
191.0 
191.0 
191.0 -- Configuring incomplete, errors occurred!

I saw this response by @rhaschke which I'm not sure if its relevant to this or not but here you go: https://github.com/moveit/moveit_task_constructor/issues/563#issuecomment-2226895529_

rhaschke commented 4 months ago

py_binding_tools is a new dependency for MTC. I filed a PR, which hopefully fixes the issue (untested): https://github.com/NVIDIA-ISAAC-ROS/isaac_ros_common/pull/136