firephinx / openpose_ros Goto Github PK
View Code? Open in Web Editor NEWROS Catkin package wrapper for the OpenPose library from https://github.com/CMU-Perceptual-Computing-Lab/openpose.
ROS Catkin package wrapper for the OpenPose library from https://github.com/CMU-Perceptual-Computing-Lab/openpose.
Hi! I started using your code as a ROS interface for OpenPose. I was wondering, which is the measurement unit of the x and y variables of the PointWithProb.msg? Is it pixel or mm?
I supposed pixel but the values are not integers.
In general, it would be nice to add a short description of the variables published.
Thanks!
Edoardo
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.
Hi, I was trying to use your node but I'm facing some issues with the compilation. Here are the steps I have been following:
I downloaded and installed OpenPose latest version https://github.com/CMU-Perceptual-Computing-Lab/openpose and proceeded with the installation, which I think is fine since I can run the examples.
I downloaded your repo and changed the parameters and image topic name as said in the readme.
When I run catkin_make in my catkin_workspace I get the following output:
jlaplaza@romo4:~/catkin_ws$ catkin_make --only-pkg-with-deps=openpose_ros
Base path: /home/jlaplaza/catkin_ws
Source space: /home/jlaplaza/catkin_ws/src
Build space: /home/jlaplaza/catkin_ws/build
Devel space: /home/jlaplaza/catkin_ws/devel
Install space: /home/jlaplaza/catkin_ws/install
Whitelisted packages: openpose_ros, openpose_ros_msgs
.
.
.
[ 82%] Built target openpose_ros_msgs_generate_messages
[ 85%] Building CXX object openpose_ros/openpose_ros/CMakeFiles/openpose_ros_node.dir/src/openpose.cpp.o
[ 89%] Building CXX object openpose_ros/openpose_ros/CMakeFiles/openpose_ros_node.dir/src/openpose_ros_node.cpp.o
[ 92%] Building CXX object openpose_ros/openpose_ros/CMakeFiles/openpose_ros_node.dir/src/openpose_ros_io.cpp.o
[ 96%] Building CXX object openpose_ros/openpose_ros/CMakeFiles/openpose_ros_node.dir/src/gflags_options.cpp.o
/home/jlaplaza/catkin_ws/src/openpose_ros/openpose_ros/src/openpose.cpp: In constructor ‘openpose_ros::OpenPose::OpenPose()’:
/home/jlaplaza/catkin_ws/src/openpose_ros/openpose_ros/src/openpose.cpp:37:115: error: no matching function for call to ‘op::WrapperStructOutput::WrapperStructOutput(double&, fLS::clstring&, op::DataFormat, fLS::clstring&, fLS::clstring&, fLS::clstring&, google::int32&, fLS::clstring&, fLS::clstring&, fLS::clstring&, double&, bool&, fLS::clstring&, fLS::clstring&, fLS::clstring&, fLS::clstring&, fLS::clstring&, fLS::clstring&, fLS::clstring&)’
FLAGS_write_video_adam, FLAGS_write_bvh, FLAGS_udp_host, FLAGS_udp_port)
^
In file included from /usr/local/include/openpose/wrapper/wrapper.hpp:12:0,
from /usr/local/include/openpose/wrapper/headers.hpp:6,
from /usr/local/include/openpose/headers.hpp:47,
from /home/jlaplaza/catkin_ws/src/openpose_ros/openpose_ros/include/openpose.h:7,
from /home/jlaplaza/catkin_ws/src/openpose_ros/openpose_ros/src/openpose.cpp:1:
/usr/local/include/openpose/wrapper/wrapperStructOutput.hpp:150:9: note: candidate: op::WrapperStructOutput::WrapperStructOutput(double, const string&, op::DataFormat, const string&, const string&, int, int, const string&, const string&, const string&, double, bool, const string&, const string&, const string&, const string&, const string&, const string&, const string&)
WrapperStructOutput(
^
/usr/local/include/openpose/wrapper/wrapperStructOutput.hpp:150:9: note: no known conversion for argument 6 from ‘fLS::clstring {aka std::__cxx11::basic_string}’ to ‘int’
/usr/local/include/openpose/wrapper/wrapperStructOutput.hpp:13:19: note: candidate: op::WrapperStructOutput::WrapperStructOutput(const op::WrapperStructOutput&)
struct OP_API WrapperStructOutput
^
/usr/local/include/openpose/wrapper/wrapperStructOutput.hpp:13:19: note: candidate expects 1 argument, 19 provided
/usr/local/include/openpose/wrapper/wrapperStructOutput.hpp:13:19: note: candidate: op::WrapperStructOutput::WrapperStructOutput(op::WrapperStructOutput&&)
/usr/local/include/openpose/wrapper/wrapperStructOutput.hpp:13:19: note: candidate expects 1 argument, 19 provided
openpose_ros/openpose_ros/CMakeFiles/openpose_ros_node.dir/build.make:86: recipe for target 'openpose_ros/openpose_ros/CMakeFiles/openpose_ros_node.dir/src/openpose.cpp.o' failed
make[2]: *** [openpose_ros/openpose_ros/CMakeFiles/openpose_ros_node.dir/src/openpose.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:1743: recipe for target 'openpose_ros/openpose_ros/CMakeFiles/openpose_ros_node.dir/all' failed
make[1]: *** [openpose_ros/openpose_ros/CMakeFiles/openpose_ros_node.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j12 -l12" failed
I think that recently the code was updated to support the latest OpenPose version, is this error due to some mismatch between different versions of OpenPose or am I missing something?
The installation of both OpenPose and this node have been performed twice in 2 different platforms: a NVidia Jetson TX2 and a normal desktop computer, bot with Ubuntu 16.04 (the TX2 is flashed with JetPack 3.3). Both installations lead to the same output.
Thanks for your work!
Running command: "cmake /home/evadro/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/evadro/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/evadro/catkin_ws/install -G Unix Makefiles" in "/home/evadro/catkin_ws/build"
-- Using CATKIN_DEVEL_PREFIX: /home/evadro/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/kinetic
-- This workspace overlays: /opt/ros/kinetic
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.5.2", minimum required is "2")
-- Using PYTHON_EXECUTABLE: /usr/bin/python3
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/evadro/catkin_ws/build/test_results
-- Found gtest sources under '/usr/src/gmock': gtests will be built
-- Found gmock sources under '/usr/src/gmock': gmock will be built
-- Found PythonInterp: /usr/bin/python3 (found version "3.5.2")
-- Using Python nosetests: /usr/bin/nosetests-2.7
ImportError: "from catkin_pkg.package import parse_package" failed: No module named 'catkin_pkg'
Make sure that you have installed "catkin_pkg", it is up to date and on the PYTHONPATH.
CMake Error at /opt/ros/kinetic/share/catkin/cmake/safe_execute_process.cmake:11 (message):
execute_process(/usr/bin/python3
"/opt/ros/kinetic/share/catkin/cmake/parse_package_xml.py"
"/opt/ros/kinetic/share/catkin/cmake/../package.xml"
"/home/evadro/catkin_ws/build/catkin/catkin_generated/version/package.cmake")
returned error code 1
Call Stack (most recent call first):
/opt/ros/kinetic/share/catkin/cmake/catkin_package_xml.cmake:74 (safe_execute_process)
/opt/ros/kinetic/share/catkin/cmake/all.cmake:168 (_catkin_package_xml)
/opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:20 (include)
CMakeLists.txt:56 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/evadro/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/evadro/catkin_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed
please help what is the problem ?and how can i solve it
Hello, thanks for the amazing work this package is really useful to me and done in a very efficient way.
I've migrated your code to be able to run with ROS2 (tested on eloquent), if you are interested can you create a new branch (ros2
or eloquent
) so that i can do a PR on it ?
If you want to have a look at it you can see the code here.
Hello,do you know why is the fps is so low,i think it is about 15fps. How can i increase the frame rate?
Hello,
Thanks for developing an openpose wrapper for ROS!
I'm using Ubuntu 16.04 with ROS Kinetic. The OpenPose package is installed and examples are working.
After install and build of your packages and the dependencies successfully, I ran the node using a launch file with GDB option and I got a segmentation fault.
The image topic is produced by usb_cam package using a 1280*720 image from a logitech HD 720p webcam, and the usb_cam node is executed first:
(gdb) run
Starting program: /home/cyril/catkin_ws/devel/lib/openpose_ros/openpose_ros_node_with_face_and_hands __name:=openpose_node __log:=/home/cyril/.ros/log/c46b30d6-6def-11e7-8639-38d547137ed4/openpose_node-1.log
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffc815a700 (LWP 14222)]
OpenPose ROS Node with Face and Hands
[New Thread 0x7fffc0d24700 (LWP 14225)]
Auto-detecting GPUs... Detected 1 GPU(s), using them all.
Starting thread(s)
[New Thread 0x7fffc0209700 (LWP 14226)]
[New Thread 0x7fffbfa08700 (LWP 14227)]
[New Thread 0x7fffbf207700 (LWP 14228)]
[New Thread 0x7fffbe671700 (LWP 14229)]
[New Thread 0x7fffbde70700 (LWP 14231)]
[New Thread 0x7fffbd66f700 (LWP 14232)]
[New Thread 0x7fffbce6e700 (LWP 14233)]
[New Thread 0x7fffa7fff700 (LWP 14238)]
[New Thread 0x7fffa77fe700 (LWP 14242)]
[New Thread 0x7fff81fff700 (LWP 14249)]
[New Thread 0x7fff817fe700 (LWP 14250)]
[New Thread 0x7fff80ffd700 (LWP 14251)]
[New Thread 0x7fff73fff700 (LWP 14252)]
[New Thread 0x7fff737fe700 (LWP 14253)]
[New Thread 0x7fff72ffd700 (LWP 14254)]
[New Thread 0x7fff727fc700 (LWP 14255)]
[New Thread 0x7fff71ffb700 (LWP 14256)]
[New Thread 0x7fff717fa700 (LWP 14257)]
[New Thread 0x7fff70ff9700 (LWP 14258)]
[New Thread 0x7fff63fff700 (LWP 14259)]
[New Thread 0x7fff637fe700 (LWP 14260)]
[New Thread 0x7fff62ffd700 (LWP 14261)]
[New Thread 0x7fff627fc700 (LWP 14262)]
[New Thread 0x7fff61ffb700 (LWP 14263)]
Thread 4 "openpose_ros_no" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffc0209700 (LWP 14226)]
0x00007ffff5a71db1 in op::resizeFixedAspectRatio(cv::Mat const&, double, op::Point<int> const&, int, cv::Scalar_<double> const&) () from /home/cyril/Downloads/openpose/build/lib/libopenpose.so.1.0.1
(gdb)
Do you know how to solve that ?
Thanks!
Hi! Thank you for your OpenPose ROS wrapper.
I am trying to get this working with a webcam, but I get the following runtime error when I do rosrun openpose_ros openpose_ros_node
. My OpenPose installation can run the demo with no problem, and I am using OpenCV 3.2 with ROS Kinetic on Ubuntu 16.04. To get the webcam stream, I have tried using both the usb_cam
and cv_camera
packages but both give me the same error.
Starting pose estimation demo.
Auto-detecting GPUs... Detected 1 GPU(s), using them all.
Starting thread(s)
Starting thread(s)
Error:
Size(sourcePtrs) must match size(sourceSizes) and size(scaleInputToNetInputs). Currently: 2 vs. 2 vs. 1.
Coming from:
- /home/junshern/Scripts/openpose/src/openpose/core/resizeAndMergeBase.cu:resizeAndMergeGpu():74
- /home/junshern/Scripts/openpose/src/openpose/core/resizeAndMergeBase.cu:resizeAndMergeGpu():160
- /home/junshern/Scripts/openpose/src/openpose/core/resizeAndMergeCaffe.cpp:Forward_gpu():155
- /home/junshern/Scripts/openpose/src/openpose/pose/poseExtractorCaffe.cpp:forwardPass():302
- /home/junshern/Scripts/openpose/include/openpose/pose/wPoseExtractor.hpp:work():80
- /home/junshern/Scripts/openpose/include/openpose/thread/subThread.hpp:workTWorkers():135
- /home/junshern/Scripts/openpose/include/openpose/thread/subThreadQueueInOut.hpp:work():84
- /home/junshern/Scripts/openpose/include/openpose/thread/thread.hpp:threadFunction():203
terminate called after throwing an instance of 'std::runtime_error'
what():
Error:
Size(sourcePtrs) must match size(sourceSizes) and size(scaleInputToNetInputs). Currently: 2 vs. 2 vs. 1.
Coming from:
- /home/junshern/Scripts/openpose/src/openpose/core/resizeAndMergeBase.cu:resizeAndMergeGpu():74
- /home/junshern/Scripts/openpose/src/openpose/core/resizeAndMergeBase.cu:resizeAndMergeGpu():160
- /home/junshern/Scripts/openpose/src/openpose/core/resizeAndMergeCaffe.cpp:Forward_gpu():155
- /home/junshern/Scripts/openpose/src/openpose/pose/poseExtractorCaffe.cpp:forwardPass():302
- /home/junshern/Scripts/openpose/include/openpose/pose/wPoseExtractor.hpp:work():80
- /home/junshern/Scripts/openpose/include/openpose/thread/subThread.hpp:workTWorkers():135
- /home/junshern/Scripts/openpose/include/openpose/thread/subThreadQueueInOut.hpp:work():84
- /home/junshern/Scripts/openpose/include/openpose/thread/thread.hpp:threadFunction():203
Aborted (core dumped)
Any ideas why this might be happening?
Thank you!
i am trying to use the openPose model in https://github.com/Hzzone/pytorch-openpose, is there a way to do so easily ??
Very much similar to #11 and #7, the node runs fine first, but when the data is published on the topic, it fails.
At first, I had an issue exactly the same as in #11, but when suggested, I followed the discussion. Now I am having this issue. I also followed #1 but didn't make any difference.
Here is my output: (skipped the starting part of it, as I thought it wasn't much of help.)
Starting pose estimation demo.
Configuring OpenPose...
Starting thread(s)
Auto-detecting all available GPUs... Detected 1 GPU(s), using 1 of them starting at GPU 0.
F1114 15:19:17.815209 9011 syncedmem.cpp:71] Check failed: error == cudaSuccess (2 vs. 0) out of memory
*** Check failure stack trace: ***
@ 0x7fec8c46b5cd google::LogMessage::Fail()
@ 0x7fec8c46d433 google::LogMessage::SendToLog()
@ 0x7fec8c46b15b google::LogMessage::Flush()
@ 0x7fec8c46de1e google::LogMessageFatal::~LogMessageFatal()
@ 0x7fec8beac9e8 caffe::SyncedMemory::mutable_gpu_data()
@ 0x7fec8be778c2 caffe::Blob<>::mutable_gpu_data()
@ 0x7fec8c023f38 caffe::CuDNNConvolutionLayer<>::Forward_gpu()
@ 0x7fec8be8d041 caffe::Net<>::ForwardFromTo()
@ 0x7fec93456826 op::NetCaffe::forwardPass()
@ 0x7fec9351e74a op::PoseExtractorCaffe::forwardPass()
@ 0x7fec93518c75 op::PoseExtractor::forwardPass()
@ 0x7fec93515e1e op::WPoseExtractor<>::work()
@ 0x7fec93534ff9 op::Worker<>::checkAndWork()
@ 0x7fec9353519b op::SubThread<>::workTWorkers()
@ 0x7fec9353db3b op::SubThreadQueueInOut<>::work()
@ 0x7fec93537f4b op::Thread<>::threadFunction()
@ 0x7fec92956c80 (unknown)
@ 0x7fec8ec776ba start_thread
@ 0x7fec923c541d clone
@ (nil) (unknown)
[openpose_ros_node-2] process has died [pid 9005, exit code -6, cmd /home/ashay/catkin_ws/devel/lib/openpose_ros/openpose_ros_node __name:=openpose_ros_node __log:=/home/ashay/.ros/log/0625404e-071c-11ea-87e0-94de806528fb/openpose_ros_node-2.log].
log file: /home/ashay/.ros/log/0625404e-071c-11ea-87e0-94de806528fb/openpose_ros_node-2*.log
When I run you're program,
$ rosrun openpose_ros openpose_ros_node
I get this error
Error:
Size(sourcePtrs) must match size(sourceSizes) and size(scaleInputToNetInputs). Currently: 2 vs. 2 vs. 1.
Coming from:
I am not sure of where to edit...
Any help will be wonderful! Thanks in advance.
Hello,
since Openpose does not work using tracking techniques but instead it operates on each frame independently, I would like to ask how it indexes people. Specifically, let us assume that we use a video containing 3 people as an input. The information for each detected human will be stored in the human_list structure which is of type OpenPoseHuman. What i would like to know is how the wrapper maps each detected human in the human_list structure. Thanks in advance!!
Without a launch file, the openpose_ros_node seg faults for me when I set the camera topic to a raw format (/camera/rgb/image_rect_color). However if I set to compressed format, there is no seg fault, but when I do an echo of the topic openpose/human_list, it doesn't display anything. Do you know what the reason could be?
Maybe it seems to a easy question, I want to get the keypoints' x,y for my some tests. Which files/codes or How can I extract the keypoints?
Hi,when i run this order: rosrun openpose_ros_pkg openpose_ros_node_firephinx
The error shows like this:
OpenPose ROS Node
[ INFO] [1509412448.441034144]: Initialization Success
[ INFO] [1509412448.827066804]: Performing Forward Pass
[ERROR] [1509412449.295785284]: Failed to call service detect_poses
F1031 09:14:09.306756 20032 syncedmem.cpp:71] Check failed: error == cudaSuccess (2 vs. 0) out of memory
*** Check failure stack trace: ***
@ 0x7ff64f4a85cd google::LogMessage::Fail()
@ 0x7ff64f4aa433 google::LogMessage::SendToLog()
@ 0x7ff64f4a815b google::LogMessage::Flush()
@ 0x7ff64f4aae1e google::LogMessageFatal::~LogMessageFatal()
@ 0x7ff64863d658 caffe::SyncedMemory::mutable_gpu_data()
@ 0x7ff64864dae2 caffe::Blob<>::mutable_gpu_data()
@ 0x7ff64858f0c8 caffe::BaseConvolutionLayer<>::forward_gpu_gemm()
@ 0x7ff6486d3276 caffe::ConvolutionLayer<>::Forward_gpu()
@ 0x7ff6486868e1 caffe::Net<>::ForwardFromTo()
@ 0x7ff64f9f29e7 op::NetCaffe::forwardPass()
@ 0x7ff64f9c6b62 op::PoseExtractorCaffe::forwardPass()
@ 0x426df4 openPoseROSTutorial()
@ 0x427a56 main
@ 0x7ff64eb5b830 __libc_start_main
@ 0x425aa9 _start
@ (nil) (unknown)
已放弃 (核心已转储)
Could you please give me some advice?
I followed tips from #7 to build openpose against /opt/ros/kinetic/share/OpenCV-3.3.1-dev but have been unsuccessful in running successfully.
I am building openpose with built-in caffe, cpu_only, release mode.
Node dies only after I have the video stream from webcam turned on.
Here is my GDB output.
#0 0x00007ffff4b00428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#1 0x00007ffff4b0202a in __GI_abort () at abort.c:89
#2 0x00007ffff513a84d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3 0x00007ffff51386b6 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4 0x00007ffff5138701 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5 0x00007ffff5138919 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6 0x00007ffff6f01d02 in cv::error(cv::Exception const&) () from /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_core3.so.3.3
#7 0x00007ffff6f01e84 in cv::error(int, cv::String const&, char const*, char const*, int) () from /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_core3.so.3.3
#8 0x00007ffff5672871 in cv::imshow(cv::String const&, cv::_InputArray const&) () from /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_highgui3.so.3.3
#9 0x000000000043a95e in openpose_ros::OpenPoseROSIO::display(std::shared_ptr<std::vector<std::shared_ptr<op::Datum>, std::allocator<std::shared_ptr<op::Datum> > > > const&) ()
#10 0x000000000043a355 in openpose_ros::OpenPoseROSIO::processImage(boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&) ()
#11 0x000000000044b88a in boost::_mfi::mf1<void, openpose_ros::OpenPoseROSIO, boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&>::operator()(openpose_ros::OpenPoseROSIO*, boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&) const ()
#12 0x000000000044af77 in void boost::_bi::list2<boost::_bi::value<openpose_ros::OpenPoseROSIO*>, boost::arg<1> >::operator()<boost::_mfi::mf1<void, openpose_ros::OpenPoseROSIO, boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&>, boost::_bi::list1<boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&> >(boost::_bi::type<void>, boost::_mfi::mf1<void, openpose_ros::OpenPoseROSIO, boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&>&, boost::_bi::list1<boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&>&, int)
()
#13 0x000000000044a45b in void boost::_bi::bind_t<void, boost::_mfi::mf1<void, openpose_ros::OpenPoseROSIO, boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&>, boost::_bi::list2<boost::_bi::value<openpose_ros::OpenPoseROSIO*>, boost::arg<1> > >::operator()<boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&>(boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&) ()
#14 0x00000000004495bc in boost::detail::function::void_function_obj_invoker1<boost::_bi::bind_t<void, boost::_mfi::mf1<void, openpose_ros::OpenPoseROSIO, boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&>, boost::_bi::list2<boost::_bi::value<openpose_ros::OpenPoseROSIO*>, boost::arg<1> > >, void, boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&>::invoke(boost::detail::function::function_buffer&, boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&) ()
#15 0x00007fffc77c0cb9 in image_transport::RawSubscriber::internalCallback(boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&, boost::function<void (boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&)> const&) () from /opt/ros/kinetic/lib//libimage_transport_plugins.so
#16 0x00007ffff6a378ec in boost::detail::function::void_function_obj_invoker1<boost::function<void (boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&)>, void, boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> >::invoke(boost::detail::function::function_buffer&, boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const>) () from /opt/ros/kinetic/lib/libimage_transport.so
#17 0x00007fffc77c8703 in ros::SubscriptionCallbackHelperT<boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&, void>::call(ros::SubscriptionCallbackHelperCallParams&) () from /opt/ros/kinetic/lib//libimage_transport_plugins.so
#18 0x00007ffff679ad8d in ros::SubscriptionQueue::call() () from /opt/ros/kinetic/lib/libroscpp.so
#19 0x00007ffff6740838 in ros::CallbackQueue::callOneCB(ros::CallbackQueue::TLS*) () from /opt/ros/kinetic/lib/libroscpp.so
#20 0x00007ffff674223b in ros::CallbackQueue::callAvailable(ros::WallDuration) () from /opt/ros/kinetic/lib/libroscpp.so
#21 0x00007ffff679ee39 in ros::SingleThreadedSpinner::spin(ros::CallbackQueue*) () from /opt/ros/kinetic/lib/libroscpp.so
#22 0x00007ffff6783e9b in ros::spin() () from /opt/ros/kinetic/lib/libroscpp.so
#23 0x0000000000432351 in openPoseROS() ()
could you add the function of 3d skeleton or tell me the ways to add it into your project?
Hi
I get trouble when running catkin_make in my catkin ws. The issue seems to be related to it not being able to identify the openpose package.
The terminal output just before and as the error occurs looks like this:
+++ processing catkin package: 'openpose_ros_msgs'
-- ==> add_subdirectory(ergoadapt/services/openpose_ros/openpose_ros_msgs)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- openpose_ros_msgs: 4 messages, 0 services
-- +++ processing catkin package: 'openpose_ros'
-- ==> add_subdirectory(ergoadapt/services/openpose_ros/openpose_ros)
-- Found OpenCV: /opt/ros/kinetic (found version "3.3.1")
-- Found GFlags: /usr/include
-- Found gflags (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libgflags.so)
-- Found Glog: /usr/include
-- Found glog (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libglog.so)
CMake Error at ergoadapt/services/openpose_ros/openpose_ros/CMakeLists.txt:23 (find_package):
By not providing "FindOpenPose.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "OpenPose",
but CMake did not find one.
Could not find a package configuration file provided by "OpenPose" with any
of the following names:
OpenPoseConfig.cmake
openpose-config.cmake
Add the installation prefix of "OpenPose" to CMAKE_PREFIX_PATH or set
"OpenPose_DIR" to a directory containing one of the above files. If
"OpenPose" provides a separate development package or SDK, be sure it has
been installed.
-- Configuring incomplete, errors occurred!
See also "/home/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/catkin_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed
I have changed the path in gflags_options.cpp as you specified.
The only difference between your guide and what I did - that I can think of - is that I installed Openpose using the .sh file in the scripts/ubuntu_deprecated folder. (and I am seemingly not able to do make install in the build folder after that installation)
The reason I install from the .sh files is that I am working with a Docker container.
I am installing using the 2268242 commit as you suggest.
Do you have any idea what I could do to make the package visible to my ws?
I tried simply taking out the find_package and manually provide the paths to the openpose folders (include, src and lib). When I do that, it comes further in the compilation but complains that some "op" namespace functions are undefined.
Any help or creative ideas will be appreciated.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.