Open bjrhyqh opened 5 years ago
I have the same problem with the package arm_vs. Where could I find it?
@bjrhyqh Here is the pbvs.cpp, https://github.com/willshw/mfvs/blob/master/src/pbvs.cpp
arm_vs was the old package name. The package is named mfvs now. So, I think if you replace all arm_vs with mfvs, everything should start working again.
I change the code as you say, but I still have problems. I have to change arm_vs in mfvs also in CMakeLists.txt?
You definitely need to change CMakeLists to make sure the dependencies are correct.
[ 86%] Built target cv_bridge_boost
[ 87%] Built target opencl_caffe_viewer
[ 88%] Built target opencl_caffe_nodelet
[ 90%] Built target opencl_caffe_srv
[ 90%] Built target mfvs_generate_messages
[ 91%] Built target mfvs_obj_pointcloud_template_save_to_pcd
[ 92%] Built target mfvs_obj_pointcloud_segmentation
[ 93%] Built target mfvs_pbvs
[ 94%] Built target mfvs_obj_pointcloud_extraction
[ 95%] Built target mfvs_obj_pointcloud_alignment
[ 96%] Built target mfvs_obj_pointcloud_tracking
[ 97%] Built target realsense2_camera_generate_messages
[ 97%] Linking CXX executable /home/yaskawa/catkin_visservo/devel/lib/mfvs/mfvs_obj_image_tracking_w_recognition
[ 97%] Built target easy_handeye_generate_messages
[ 98%] Linking CXX executable /home/yaskawa/catkin_visservo/devel/lib/mfvs/mfvs_obj_image_tracking
[100%] Built target realsense2_camera
CMakeFiles/mfvs_obj_image_tracking_w_recognition.dir/src/obj_image_tracking_w_recognition.cpp.o: In function TrackerCV::resetTracker()': obj_image_tracking_w_recognition.cpp:(.text._ZN9TrackerCV12resetTrackerEv[_ZN9TrackerCV12resetTrackerEv]+0xe4): undefined reference to
cv::TrackerGOTURN::create()'
obj_image_tracking_w_recognition.cpp:(.text._ZN9TrackerCV12resetTrackerEv[_ZN9TrackerCV12resetTrackerEv]+0x134): undefined reference to cv::TrackerCSRT::create()' obj_image_tracking_w_recognition.cpp:(.text._ZN9TrackerCV12resetTrackerEv[_ZN9TrackerCV12resetTrackerEv]+0x18c): undefined reference to
cv::TrackerMOSSE::create()'
obj_image_tracking_w_recognition.cpp:(.text._ZN9TrackerCV12resetTrackerEv[_ZN9TrackerCV12resetTrackerEv]+0x1e4): undefined reference to cv::TrackerKCF::create()' CMakeFiles/mfvs_obj_image_tracking_w_recognition.dir/src/obj_image_tracking_w_recognition.cpp.o: In function
TrackerCV::SyncImgObjInfCallback(boost::shared_ptr<sensormsgs::Image<std::allocatorcv::Tracker::init(cv::_InputArray const&, cv::Rect_<double> const&)' obj_image_tracking_w_recognition.cpp:(.text._ZN9TrackerCV21SyncImgObjInfCallbackERKN5boost10shared_ptrIKN11sensor_msgs6Image_ISaIvEEEEERKNS1_IKN11object_msgs15ObjectsInBoxes_IS4_EEEE[_ZN9TrackerCV21SyncImgObjInfCallbackERKN5boost10shared_ptrIKN11sensor_msgs6Image_ISaIvEEEEERKNS1_IKN11object_msgs15ObjectsInBoxes_IS4_EEEE]+0x41c): undefined reference to
cv::Tracker::update(cv::InputArray const&, cv::RectTrackerCV::TrackerCV(ros::NodeHandle)': obj_image_tracking_w_recognition.cpp:(.text._ZN9TrackerCVC2EN3ros10NodeHandleE[_ZN9TrackerCVC5EN3ros10NodeHandleE]+0x745): undefined reference to
cv::TrackerKCF::create()'
obj_image_tracking_w_recognition.cpp:(.text._ZN9TrackerCVC2EN3ros10NodeHandleE[_ZN9TrackerCVC5EN3ros10NodeHandleE]+0x7ac): undefined reference to cv::TrackerMOSSE::create()' obj_image_tracking_w_recognition.cpp:(.text._ZN9TrackerCVC2EN3ros10NodeHandleE[_ZN9TrackerCVC5EN3ros10NodeHandleE]+0x813): undefined reference to
cv::TrackerCSRT::create()'
obj_image_tracking_w_recognition.cpp:(.text._ZN9TrackerCVC2EN3ros10NodeHandleE[_ZN9TrackerCVC5EN3ros10NodeHandleE]+0x87a): undefined reference to cv::TrackerGOTURN::create()' collect2: error: ld returned 1 exit status mfvs/CMakeFiles/mfvs_obj_image_tracking_w_recognition.dir/build.make:740: recipe for target '/home/yaskawa/catkin_visservo/devel/lib/mfvs/mfvs_obj_image_tracking_w_recognition' failed make[2]: *** [/home/yaskawa/catkin_visservo/devel/lib/mfvs/mfvs_obj_image_tracking_w_recognition] Error 1 CMakeFiles/Makefile2:4083: recipe for target 'mfvs/CMakeFiles/mfvs_obj_image_tracking_w_recognition.dir/all' failed make[1]: *** [mfvs/CMakeFiles/mfvs_obj_image_tracking_w_recognition.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... CMakeFiles/mfvs_obj_image_tracking.dir/src/obj_image_tracking.cpp.o: In function
TrackerCV::imageSubCallback(boost::shared_ptr<sensormsgs::Image<std::allocatorcv::Tracker::init(cv::_InputArray const&, cv::Rect_<double> const&)' obj_image_tracking.cpp:(.text._ZN9TrackerCV16imageSubCallbackERKN5boost10shared_ptrIKN11sensor_msgs6Image_ISaIvEEEEE[_ZN9TrackerCV16imageSubCallbackERKN5boost10shared_ptrIKN11sensor_msgs6Image_ISaIvEEEEE]+0x32c): undefined reference to
cv::Tracker::update(cv::InputArray const&, cv::RectTrackerCV::TrackerCV(ros::NodeHandle)': obj_image_tracking.cpp:(.text._ZN9TrackerCVC2EN3ros10NodeHandleE[_ZN9TrackerCVC5EN3ros10NodeHandleE]+0x26a): undefined reference to
cv::TrackerKCF::create()'
obj_image_tracking.cpp:(.text._ZN9TrackerCVC2EN3ros10NodeHandleE[_ZN9TrackerCVC5EN3ros10NodeHandleE]+0x2e0): undefined reference to cv::TrackerMOSSE::create()' obj_image_tracking.cpp:(.text._ZN9TrackerCVC2EN3ros10NodeHandleE[_ZN9TrackerCVC5EN3ros10NodeHandleE]+0x356): undefined reference to
cv::TrackerCSRT::create()'
obj_image_tracking.cpp:(.text._ZN9TrackerCVC2EN3ros10NodeHandleE[_ZN9TrackerCVC5EN3ros10NodeHandleE]+0x3cc): undefined reference to `cv::TrackerGOTURN::create()'
collect2: error: ld returned 1 exit status
mfvs/CMakeFiles/mfvs_obj_image_tracking.dir/build.make:740: recipe for target '/home/yaskawa/catkin_visservo/devel/lib/mfvs/mfvs_obj_image_tracking' failed
make[2]: [/home/yaskawa/catkin_visservo/devel/lib/mfvs/mfvs_obj_image_tracking] Error 1
CMakeFiles/Makefile2:5431: recipe for target 'mfvs/CMakeFiles/mfvs_obj_image_tracking.dir/all' failed
make[1]: [mfvs/CMakeFiles/mfvs_obj_image_tracking.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j12 -l12" failed
I have this error, can you help me, please?
Hi everyone, I was trying to implement a PBVS from willshw's work. However, I don't find the package arUco Tag. I have tried to search on GitHub but the similar packages seem a little bit different. Can anyone indicate the right repository?
Hi everyone, I was trying to implement a PBVS from willshw's work. However, I don't find the package arUco Tag. I have tried to search on GitHub but the similar packages seem a little bit different. Can anyone indicate the right repository?
arUco repo is removed. Check out this link http://www.uco.es/investiga/grupos/ava/node/26
I have just checked it out, but I need a precise file to launch that is the following:
The website is extremely interesting. However, I don't know the content of the node and this makes the research impossible.
I have another question. I have just noticed that you use the EYEINHAND_CAMERA control law in ViSP. This means that you must send a velocity command to your robot in order to close the feedback control loop. What controller do you use and what type?
I couldn't find package arm_vs,which seems necessary in files such as PBVS.cpp.Where could I find it?