Closed JoSharon closed 3 years ago
@JoSharon I believe this docker file might not support Window env since the path given in Unix format
This file should work on Windows! Most processes are agnostic to Windows vs. *nix style path separators. @JoSharon can you double-check that you've checked out the ros_tcp_endpoint
submodule into the project? You should see a directory full of code here. If not, you may need to run git submodule update --init --recursive
from within your local copy of the repository in order to checkout the requisite submodules that CMake cannot find here. Let me know if that does not fix the issue.
Hi @JoSharon -- has the submodule checkout resolved this issue? If there are no additional complications I'd like to close this issue.
Hi @JoSharon -- has the submodule checkout resolved this issue? If there are no additional complications I'd like to close this issue.
It works! Thank you! I don't know why submodule files are missing in clone zip of "Robotics-Object-Pose-Estimation", and need to clone each submodule and copy into "Robotics-Object-Pose-Estimation".
Similar issue here. However, I can confirm the solution from @mrpropellers from above, git submodule update --init --recursive
fixed it for me :)
In Pick-and-Place with Object Pose Estimation: Quick Demo, Set Up the ROS Side, Step2. use "docker build -t unity-robotics:pose-estimation -f docker/Dockerfile ." and show error. What should I do? Thanks!
E:\UnityProjects\2020\Robotics-Object-Pose-Estimation>docker build -t unity-robotics:pose-estimation -f docker/Dockerfile . [+] Building 14.2s (17/18) => [internal] load build definition from Dockerfile 0.1s => => transferring dockerfile: 1.41kB 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [internal] load metadata for docker.io/library/ros:noetic-ros-base 5.1s => [internal] load build context 2.0s => => transferring context: 110.51MB 1.9s => [ 1/14] FROM docker.io/library/ros:noetic-ros-base@sha256:68085c6624824d5ad276450d21377d34dccdc75785707f244a9 0.0s => CACHED [ 2/14] RUN sudo apt-get update && sudo apt-get install -y vim iputils-ping net-tools python3-pip ros- 0.0s => CACHED [ 3/14] RUN sudo -H pip3 --no-cache-dir install rospkg numpy jsonpickle scipy easydict torch==1.7.1+cu 0.0s => CACHED [ 4/14] WORKDIR /catkin_ws 0.0s => CACHED [ 5/14] COPY ./ROS/src/moveit_msgs /catkin_ws/src/moveit_msgs 0.0s => CACHED [ 6/14] COPY ./ROS/src/robotiq /catkin_ws/src/robotiq 0.0s => CACHED [ 7/14] COPY ./ROS/src/ros_tcp_endpoint /catkin_ws/src/ros_tcp_endpoint 0.0s => CACHED [ 8/14] COPY ./ROS/src/universal_robot /catkin_ws/src/universal_robot 0.0s => [ 9/14] COPY ./ROS/src/ur3_moveit /catkin_ws/src/ur3_moveit 1.1s => [10/14] COPY ./docker/set-up-workspace /setup.sh 0.1s => [11/14] COPY docker/tutorial / 0.1s => [12/14] RUN /bin/bash -c "find /catkin_ws -type f -print0 | xargs -0 dos2unix" 1.0s => ERROR [13/14] RUN dos2unix /tutorial && dos2unix /setup.sh && chmod +x /setup.sh && /setup.sh && rm /setup.sh 4.8s