Open mzn723 opened 6 years ago
I had the same issue in a docker container. I solved it by compiling openpose against the ros opencv instead of the system opencv. So in my case I set OpenCV_DIR=/opt/ros/kinetic/share/OpenCV-3.3.1-dev when running cmake.
@lgarattoni How did you install openpose in your Docker container? Do you know where to set OpenCV_DIR=/opt/ros/kinetic/share/OpenCV-3.3.1-dev when installing using the .sh files in the ubuntu_deprecated folder?
@ruksen25 I used cmake to build and install openpose:
RUN mkdir -p $OPEN_POSE/build && cd $OPEN_POSE/build && cmake -DOpenCV_DIR=/opt/ros/kinetic/share/OpenCV-3.3.1-dev -DCMAKE_BUILD_TYPE=Release .. && cd $OPEN_POSE/build && make -j8 && make install
I'm using an older version of openpose, but it should still work. I haven't looked into the scripts you are talking about, I think they have actually been removed in the latest versions of openpose. Hope this helps.
@lgarattoni Thank you for your reply. I have been trying to use your install method. However, when I do, the libcaffe.so and libopenpose.so files are not created in the same places as before and my ROS wrapper will not build. Did you experience something similar? Did you have to change some folder links yourself?
@lgarattoni Thank you for your help. I have my wrapper running now. My problem was a process death with an exit code -11, which your suggestion also solved.
@ruksen25 I used cmake to build and install openpose:
RUN mkdir -p $OPEN_POSE/build && cd $OPEN_POSE/build && cmake -DOpenCV_DIR=/opt/ros/kinetic/share/OpenCV-3.3.1-dev -DCMAKE_BUILD_TYPE=Release .. && cd $OPEN_POSE/build && make -j8 && make install
I'm using an older version of openpose, but it should still work. I haven't looked into the scripts you are talking about, I think they have actually been removed in the latest versions of openpose. Hope this helps.
thanks a lot
The node seems to run successfully at first, until I publish the image_raw topic. Then, it crashes with the error message:
process has died ...exit code -7
Any idea what's causing this or how to fix it?
P.S. Running the original openpose with the same camera and platform seem to work with no errors. I'm using ubuntu 16.04 ros kinetic on an NVIDIA Jetson computer.