lagadic / visp_ros Goto Github PK
View Code? Open in Web Editor NEWA basket of generic ros nodes based on ViSP library
License: GNU General Public License v2.0
A basket of generic ros nodes based on ViSP library
License: GNU General Public License v2.0
My ROS master is running on Robo's PC and so whenever I try to run the vpRosGrapper test script I get this error:
euroage@euroage:~$ roslaunch vision vision.launch
... logging to /home/euroage/.ros/log/3b23780c-85c2-11ec-9501-e0d55e204096/roslaunch-euroage-27418.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://192.168.1.101:34219/
SUMMARY
========
PARAMETERS
* /rosdistro: melodic
* /rosversion: 1.14.12
NODES
/
vpRosGrapper (vision/vpRosGrapper)
ROS_MASTER_URI=http://192.168.1.100:11311/
process[vpRosGrapper-1]: started with pid [27432]
[ERROR] [1643982987.714933681]: [registerPublisher] Failed to contact master at [localhost:11311]. Retrying...
I only get no error when I run the master on localhost.
How can I get around this problem?
Hi, I am having the following build errors when trying to build visp_ros
. Any suggestions?
/usr/bin/ld: CMakeFiles/tutorial-franka-real-pbvs-apriltag.dir/tutorial/franka/real-robot/tutorial-franka-real-pbvs-apriltag.cpp.o: undefined reference to symbol 'rs2_get_failed_function' //usr/local/lib/librealsense2.so.2.50: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
CMakeFiles/tutorial-franka-real-pbvs-apriltag.dir/build.make:205: recipe for target '/home/panda/Documents/panda_vision_ws/devel_isolated/visp_ros/lib/visp_ros/tutorial-franka-real-pbvs-apri
ltag' failed
make[2]: *** [/home/panda/Documents/panda_vision_ws/devel_isolated/visp_ros/lib/visp_ros/tutorial-franka-real-pbvs-apriltag] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/tutorial-franka-real-pbvs-apriltag.dir/all' failed
make[1]: *** [CMakeFiles/tutorial-franka-real-pbvs-apriltag.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 95%] Linking CXX executable /home/panda/Documents/panda_vision_ws/devel_isolated/visp_ros/lib/visp_ros/tutorial-franka-real-ibvs-apriltag
/usr/bin/ld: CMakeFiles/tutorial-franka-real-ibvs-apriltag.dir/tutorial/franka/real-robot/tutorial-franka-real-ibvs-apriltag.cpp.o: undefined reference to symbol 'rs2_get_failed_function'
//usr/local/lib/librealsense2.so.2.50: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
CMakeFiles/tutorial-franka-real-ibvs-apriltag.dir/build.make:205: recipe for target '/home/panda/Documents/panda_vision_ws/devel_isolated/visp_ros/lib/visp_ros/tutorial-franka-real-ibvs-apr$ltag' failed
make[2]: *** [/home/panda/Documents/panda_vision_ws/devel_isolated/visp_ros/lib/visp_ros/tutorial-franka-real-ibvs-apriltag] Error 1
CMakeFiles/Makefile2:994: recipe for target 'CMakeFiles/tutorial-franka-real-ibvs-apriltag.dir/all' failed
make[1]: *** [CMakeFiles/tutorial-franka-real-ibvs-apriltag.dir/all] Error 2
[ 97%] Linking CXX executable /home/panda/Documents/panda_vision_ws/devel_isolated/visp_ros/lib/visp_ros/visp_ros_pbvs_blob_node
[100%] Linking CXX executable /home/panda/Documents/panda_vision_ws/devel_isolated/visp_ros/lib/visp_ros/visp_ros_blob_tracker_node
[100%] Built target visp_ros_pbvs_blob_node
[100%] Built target visp_ros_blob_tracker_node
Makefile:138: recipe for target 'all' failed
Can I do a demo with visp in UR robot for grasping?
Q1 : Is there any way to communicate with CoppeliaSim on the client side (cpp or ROS)?
In the tutorial-franka-coppeliasim-ibvs-apriltag.cpp, I see we can get the camera parameters like g.getCameraInfo( cam ).
Q2 : How can I get the camera parameters?
Q3 : Is there any way to get the pose/position/rotation of the camera(or other Objects in CoppeliaSim)?
When I compile this package, I keep getting three errors
Error is as follows:
/home/jixuan/catkin_ws/src/visp_ros/src/robot/sim-robot/franka/vpRobotFrankaSim.cpp: In member function ‘virtual void vpRobotFrankaSim::set_flMe(const vpHomogeneousMatrix&)’:
/home/jixuan/catkin_ws/src/visp_ros/src/robot/sim-robot/franka/vpRobotFrankaSim.cpp:196:27: error: ‘__gnu_cxx::__alloc_traits<std::allocatorKDL::Segment >::value_type {aka class KDL::Segment}’ has no member named ‘setFrameToTip’
m_chain_kdl.segments[7].setFrameToTip( f8Me_kdl );
^
/home/jixuan/catkin_ws/src/visp_ros/src/robot/sim-robot/franka/vpRobotFrankaSim.cpp: In member function ‘vpColVector vpRobotFrankaSim::solveIK(const vpHomogeneousMatrix&)’:
/home/jixuan/catkin_ws/src/visp_ros/src/robot/sim-robot/franka/vpRobotFrankaSim.cpp:556:8: error: ‘E_MAX_ITERATIONS_EXCEEDED’ is not a member of ‘KDL::SolverI’
case KDL::SolverI::E_MAX_ITERATIONS_EXCEEDED:
^
/home/jixuan/catkin_ws/src/visp_ros/src/robot/sim-robot/franka/vpRobotFrankaSim.cpp:561:8: error: ‘E_NOT_IMPLEMENTED’ is not a member of ‘KDL::SolverI’
case KDL::SolverI::E_NOT_IMPLEMENTED:
^
visp_ros/CMakeFiles/visp_ros.dir/build.make:110: recipe for target 'visp_ros/CMakeFiles/visp_ros.dir/src/robot/sim-robot/franka/vpRobotFrankaSim.cpp.o' failed
make[2]: *** [visp_ros/CMakeFiles/visp_ros.dir/src/robot/sim-robot/franka/vpRobotFrankaSim.cpp.o] Error 1
CMakeFiles/Makefile2:5021: recipe for target 'visp_ros/CMakeFiles/visp_ros.dir/all' failed
make[1]: *** [visp_ros/CMakeFiles/visp_ros.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j4 -l4" failed
This issue occurs with melodic
on Ubuntu 18.04
.../catkin_ws/src/visp_ros/nodes/blob_tracker.cpp:20:10: fatal error: visp_ros/BlobTracker.h: No such file or directory
#include <visp_ros/BlobTracker.h>
.../catkin_ws/src/visp_ros/nodes/pbvs_blob.cpp:12:10: fatal error: visp_ros/BlobTracker.h: No such file or directory
#include <visp_ros/BlobTracker.h>
Hello,
I want to simulate Franka robor for an ETH camera.
How can I modify the frankaSim.ttt file for a ETH camera?
Maybe I want to mark a tag on the Gripper? How can I modify the .ttt file?
Or, is there an example for an ETH camera?
Hello, I encounter an issue in Ubuntu 16.04 and ROS kinetic. How could I solve it?
When I run
make -j4
It fail.
[ 23%] Building CXX object modules/visual_features/CMakeFiles/visp_visual_features.dir/src/visual-feature/vpFeaturePoint.cpp.o
Scanning dependencies of target testFloodFill
[ 23%] Building CXX object modules/visual_features/CMakeFiles/visp_visual_features.dir/src/visual-feature/vpFeaturePoint3D.cpp.o
[ 23%] Building CXX object modules/visual_features/CMakeFiles/visp_visual_features.dir/src/visual-feature/vpFeatureEllipse.cpp.o
[ 23%] Building CXX object modules/imgproc/CMakeFiles/testFloodFill.dir/test/testFloodFill.cpp.o
Scanning dependencies of target testContours
[ 23%] Building CXX object modules/imgproc/CMakeFiles/testContours.dir/test/testContours.cpp.o
[ 23%] Building CXX object modules/visual_features/CMakeFiles/visp_visual_features.dir/src/visual-feature/vpFeatureDepth.cpp.o
[ 23%] Linking CXX shared library ../../lib/libvisp_gui.so
[ 23%] Building CXX object modules/visual_features/CMakeFiles/visp_visual_features.dir/src/visual-feature/vpFeatureMomentCentered.cpp.o
[ 23%] Built target visp_gui
Scanning dependencies of target testImgproc
[ 23%] Building CXX object modules/imgproc/CMakeFiles/testImgproc.dir/test/testImgproc.cpp.o
Scanning dependencies of target testNurbs
[ 23%] Building CXX object modules/me/CMakeFiles/testNurbs.dir/test/testNurbs.cpp.o
[ 23%] Building CXX object modules/visual_features/CMakeFiles/visp_visual_features.dir/src/visual-feature/vpFeatureMomentCInvariant.cpp.o
[ 23%] Building CXX object modules/visual_features/CMakeFiles/visp_visual_features.dir/src/visual-feature/vpFeatureMoment.cpp.o
[ 23%] Linking CXX executable testConnectedComponents
[ 23%] Building CXX object modules/visual_features/CMakeFiles/visp_visual_features.dir/src/visual-feature/vpFeatureMomentCommon.cpp.o
[ 23%] Building CXX object modules/visual_features/CMakeFiles/visp_visual_features.dir/src/visual-feature/vpFeatureSegment.cpp.o
[ 24%] Building CXX object modules/visual_features/CMakeFiles/visp_visual_features.dir/src/visual-feature/vpFeatureMomentAreaNormalized.cpp.o
[ 24%] Building CXX object modules/visual_features/CMakeFiles/visp_visual_features.dir/src/visual-feature/vpFeatureThetaU.cpp.o
Scanning dependencies of target visp_ar
[ 24%] Building CXX object modules/visual_features/CMakeFiles/visp_visual_features.dir/src/visual-feature/vpBasicFeature.cpp.o
[ 24%] Building CXX object modules/ar/CMakeFiles/visp_ar.dir/src/ogre-simulator/vpAROgre.cpp.o
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFReadDirectory@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFWriteEncodedStrip@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFIsTiled@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFOpen@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFReadEncodedStrip@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFSetField@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFWriteScanline@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFGetField@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFScanlineSize@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFNumberOfStrips@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFSetWarningHandler@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFSetErrorHandler@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFReadEncodedTile@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFReadRGBATile@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFClose@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFRGBAImageOK@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFClientOpen@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFReadRGBAStrip@LIBTIFF_4.0'
collect2: error: ld returned 1 exit status
modules/imgproc/CMakeFiles/testConnectedComponents.dir/build.make:115: recipe for target 'modules/imgproc/testConnectedComponents' failed
make[2]: *** [modules/imgproc/testConnectedComponents] Error 1
CMakeFiles/Makefile2:6415: recipe for target 'modules/imgproc/CMakeFiles/testConnectedComponents.dir/all' failed
make[1]: *** [modules/imgproc/CMakeFiles/testConnectedComponents.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 24%] Building CXX object modules/ar/CMakeFiles/visp_ar.dir/src/vpSimulatorException.cpp.o
[ 24%] Linking CXX executable testAutoThreshold
[ 24%] Building CXX object modules/ar/CMakeFiles/visp_ar.dir/src/coin-simulator/vpSimulator.cpp.o
[ 24%] Building CXX object modules/ar/CMakeFiles/visp_ar.dir/src/coin-simulator/vpAR.cpp.o
[ 24%] Building CXX object modules/visual_features/CMakeFiles/visp_visual_features.dir/src/visual-feature/vpFeatureMomentArea.cpp.o
[ 24%] Building CXX object modules/ar/CMakeFiles/visp_ar.dir/src/coin-simulator/vpViewer.cpp.o
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFReadDirectory@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFWriteEncodedStrip@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFIsTiled@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFOpen@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFReadEncodedStrip@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFSetField@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFWriteScanline@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFGetField@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFScanlineSize@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFNumberOfStrips@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFSetWarningHandler@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFSetErrorHandler@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFReadEncodedTile@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFReadRGBATile@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFClose@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFRGBAImageOK@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFClientOpen@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFReadRGBAStrip@LIBTIFF_4.0'
collect2: error: ld returned 1 exit status
modules/imgproc/CMakeFiles/testAutoThreshold.dir/build.make:115: recipe for target 'modules/imgproc/testAutoThreshold' failed
make[2]: *** [modules/imgproc/testAutoThreshold] Error 1
CMakeFiles/Makefile2:6454: recipe for target 'modules/imgproc/CMakeFiles/testAutoThreshold.dir/all' failed
make[1]: *** [modules/imgproc/CMakeFiles/testAutoThreshold.dir/all] Error 2
[ 24%] Building CXX object modules/visual_features/CMakeFiles/visp_visual_features.dir/src/visual-feature/vpFeatureTranslation.cpp.o
[ 24%] Building CXX object modules/visual_features/CMakeFiles/visp_visual_features.dir/src/visual-feature/vpGenericFeature.cpp.o
[ 24%] Linking CXX executable testFloodFill
[ 24%] Building CXX object modules/visual_features/CMakeFiles/visp_visual_features.dir/src/visual-feature/vpFeatureVanishingPoint.cpp.o
[ 24%] Linking CXX executable testContours
[ 25%] Linking CXX executable testNurbs
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFReadDirectory@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFWriteEncodedStrip@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFIsTiled@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFOpen@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFReadEncodedStrip@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFSetField@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFWriteScanline@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFGetField@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFScanlineSize@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFNumberOfStrips@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFSetWarningHandler@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFSetErrorHandler@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFReadEncodedTile@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFReadRGBATile@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFClose@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFRGBAImageOK@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFClientOpen@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFReadRGBAStrip@LIBTIFF_4.0'
collect2: error: ld returned 1 exit status
modules/imgproc/CMakeFiles/testFloodFill.dir/build.make:115: recipe for target 'modules/imgproc/testFloodFill' failed
make[2]: *** [modules/imgproc/testFloodFill] Error 1
CMakeFiles/Makefile2:6493: recipe for target 'modules/imgproc/CMakeFiles/testFloodFill.dir/all' failed
make[1]: *** [modules/imgproc/CMakeFiles/testFloodFill.dir/all] Error 2
[ 25%] Linking CXX executable testImgproc
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFReadDirectory@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFWriteEncodedStrip@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFIsTiled@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFOpen@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFReadEncodedStrip@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFSetField@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFWriteScanline@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFGetField@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFScanlineSize@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFNumberOfStrips@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFSetWarningHandler@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFSetErrorHandler@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFReadEncodedTile@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFReadRGBATile@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFClose@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFRGBAImageOK@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFClientOpen@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFReadRGBAStrip@LIBTIFF_4.0'
collect2: error: ld returned 1 exit status
modules/imgproc/CMakeFiles/testContours.dir/build.make:115: recipe for target 'modules/imgproc/testContours' failed
make[2]: *** [modules/imgproc/testContours] Error 1
CMakeFiles/Makefile2:6569: recipe for target 'modules/imgproc/CMakeFiles/testContours.dir/all' failed
make[1]: *** [modules/imgproc/CMakeFiles/testContours.dir/all] Error 2
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFReadRGBAStrip@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFReadDirectory@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFWriteEncodedStrip@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFIsTiled@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFWriteScanline@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFGetField@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFNumberOfStrips@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFScanlineSize@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFReadEncodedTile@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFReadRGBATile@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFClose@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFClientOpen@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFRGBAImageOK@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFOpen@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFReadEncodedStrip@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFSetField@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFSetWarningHandler@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFSetErrorHandler@LIBTIFF_4.0'
collect2: error: ld returned 1 exit status
modules/me/CMakeFiles/testNurbs.dir/build.make:120: recipe for target 'modules/me/testNurbs' failed
make[2]: *** [modules/me/testNurbs] Error 1
CMakeFiles/Makefile2:6865: recipe for target 'modules/me/CMakeFiles/testNurbs.dir/all' failed
make[1]: *** [modules/me/CMakeFiles/testNurbs.dir/all] Error 2
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFReadDirectory@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFWriteEncodedStrip@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFIsTiled@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFOpen@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFReadEncodedStrip@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFSetField@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFWriteScanline@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFGetField@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFScanlineSize@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFNumberOfStrips@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFSetWarningHandler@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFSetErrorHandler@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFReadEncodedTile@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFReadRGBATile@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFClose@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFRGBAImageOK@LIBTIFF_4.0'
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFClientOpen@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to
TIFFReadRGBAStrip@LIBTIFF_4.0'
collect2: error: ld returned 1 exit status
modules/imgproc/CMakeFiles/testImgproc.dir/build.make:115: recipe for target 'modules/imgproc/testImgproc' failed
make[2]: *** [modules/imgproc/testImgproc] Error 1
CMakeFiles/Makefile2:6608: recipe for target 'modules/imgproc/CMakeFiles/testImgproc.dir/all' failed
make[1]: *** [modules/imgproc/CMakeFiles/testImgproc.dir/all] Error 2
[ 25%] Linking CXX shared library ../../lib/libvisp_visual_features.so
[ 25%] Built target visp_visual_features
[ 25%] Linking CXX shared library ../../lib/libvisp_sensor.so
[ 25%] Built target visp_sensor
[ 25%] Linking CXX shared library ../../lib/libvisp_ar.so
[ 25%] Built target visp_ar
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
In tutorial-franka-coppeliasim-ibvs-apriltag.cpp, I run the code:
if ( 1 )
{
robot.setRobotState( vpRobot::STATE_POSITION_CONTROL );
vpColVector q;
robot.getPosition( vpRobot::JOINT_STATE, q );
std::cout << "Initial joint position: " << q.t() << std::endl;
vpHomogeneousMatrix fMfl(
vpTranslationVector( 0.3261, 0.0932, 0.6310 ),
vpRotationMatrix( vpRxyzVector( vpMath::rad( 168.17 ), vpMath::rad( 25.55 ), vpMath::rad( 39.13 ) ) ) );
vpHomogeneousMatrix fMe(
vpTranslationVector( 0.3707, 0.0740, 0.5396 ),
vpRotationMatrix( vpRxyzVector( vpMath::rad( 168.17 ), vpMath::rad( 25.55 ), vpMath::rad( -5.87 ) ) ) );
vpHomogeneousMatrix flMe = fMfl.inverse() * fMe;
robot.set_flMe( flMe );
vpMatrix fJe1( 6, 7 );
robot.get_fJe( fJe1 );
std::cout << "fJe1 :\n" << fJe1 << std::endl;
robot.set_flMe( flMe );
vpMatrix fJe2( 6, 7 );
robot.get_fJe( fJe2 );
std::cout << "fJe2 :\n" << fJe2 << std::endl;
robot.coppeliasimStopSimulation();
exit( 0 );
q[0] += vpMath::rad( 10 ); // Add 10 deg axis 1
std::cout << "Move to joint position: " << q.t() << std::endl;
robot.setPosition( vpRobot::JOINT_STATE, q );
}
the output of the terminal:
...
fJe1 :
-0.05467073158 0.1084435441 -0.06656774707 0.1563449403 -0.08512165615 0.2266723672 -6.380964504e-05
0.4152706188 0.03947027947 0.3703218312 0.05690490497 0.2338695687 0.1516690187 -1.289307891e-05
0 -0.4089251852 0.06410448092 0.5740346342 -0.09065734369 0.1785741546 -2.846647752e-05
0 -0.3420205819 -0.664462926 0.3420204838 0.9396924968 0.3213941366 0.4313169748
0 0.9396924612 -0.241845078 -0.9396924968 0.3420204838 -0.8830221533 -0.1850333388
1 6.123233996e-17 0.7071067657 -1.043081929e-07 1.589324944e-08 0.3420200078 -0.8830222709
fJe2 :
-0.03548340805 0.02259416643 -0.03090553266 0.2421943192 -0.1163683104 0.31390685 -0.0001021800582
0.4599599919 0.008223615989 0.3412173109 0.08815155484 0.3197189504 0.1963159302 -6.991089272e-05
0 -0.4443569927 0.087661651 0.6094664452 -0.1239722087 0.2118691679 -3.526088605e-05
0 -0.3420205819 -0.664462926 0.3420204838 0.9396924968 0.3213941366 0.4313169748
0 0.9396924612 -0.241845078 -0.9396924968 0.3420204838 -0.8830221533 -0.1850333388
1 6.123233996e-17 0.7071067657 -1.043081929e-07 1.589324944e-08 0.3420200078 -0.8830222709
Segmentation fault (core dumped)
I read fMfl and fMe from CoppeliaSim.
I got fJe1≠fJe2. There seems to be a BUG with robots.set_flMe().
I get the following CMake error:
Project 'xxxxxxxxxxxx' tried to find library
'libvisp_ros_bebop2_visual_servo_nodelet'. The library is neither a target
nor built/installed properly. Did you compile project 'visp_ros'? Did you
find_package() it before the subdirectory containing its code is included?
Easily fixed by removing the lib
from libvisp_ros_bebop2_visual_servo_nodelet
in https://github.com/lagadic/visp_ros/blob/master/CMakeLists.txt#L27
The ros package about visp_ros support ros version kinetic ?
And how can I do ?
Thank you!
Hi,
I am using a Asus Xtion Pro camera with the openni2.launch launch file from ros. That opens the required topics for your ros grabber tutorial.
While calling the open(vpImage<RGBa> & I)
function, the program stops working after this output:
Use camera info: no
Subscribe to raw image on /camera/image_raw topic
Subscribe to camera_info on camera_info topic
Can you help me investigate the error please?
Best regards
when i build visp_ros, i meet this error.I want to know if visp_ros didn't support ubuntu16.04.I have installed kdl as instruction.Look forward to your answer,thank you!
Hello, I build the source under Ubuntu 18.04 and ROS melodic.
At the first time I run ./coppeliaSim.sh, it works.
The next day, I encounter an issue when I run ./coppeliaSim.sh
How can I solved the problem?
The script is wrriten in ~/catkin_ws/doc/html/tutorial-franka-coppeliasim.html:
$ source ~/catkin_ws/devel/setup.bash
$ cd ~/Downloads/CoppeliaSim_Edu_V4_1_0_Ubuntu18_04
$ ./coppeliaSim.sh
Hi
I run camera-usb.launch then ./tutorial-ros-grabber
then I get segmentation error.
Can you help me? I use IDS uEye camera.
Thank you
Hello,
I'm not able to build libsimExtROSInterface.so.
I'm on Ubuntu 20.04 and ROS Noetic
Current CoppeliaSim is 4.4.0, if I follow the tutorial tutorial and download libPlugin from https://github.com/CoppeliaRobotics/libPlugin.git in the new libPlugin folder of CoppeliaSim directory there is only a README.md which says
Files moved to [include.git](https://github.com/CoppeliaRobotics/include)
and when I try to catikin_make the simROSExtInterface from catkin_ws it returns me an error about CMake not found in include directory of CoppeliaSim, so in CoppeliaSim directory I moved the original include folder and clone the above git
cd ~/software/CoppeliaSim/
mv include include_origin
git clone https://github.com/CoppeliaRobotics/include
in this way the simExtROSInterface builds correctly but there is no libsimExtROSInterface.so in catkin_ws/devel/lib/, I only find libsimExtROS.so and when I start CoppeliaSim it returns me the error
ROS interface was not found.
It seems that they are some issues with the package dependencies called "visp_ros_bebop2_visual_servo_nodelet" if I'm not mistaken, could you help me with my issue bellow:
gaspard-irt-jv@gaspardirtjv-VirtualBox:~/catkin_ws$ catkin_make -DCMAKE_BUILD_TYPE=Release --pkg visp_ros
Base path: /home/gaspard-irt-jv/catkin_ws
Source space: /home/gaspard-irt-jv/catkin_ws/src
Build space: /home/gaspard-irt-jv/catkin_ws/build
Devel space: /home/gaspard-irt-jv/catkin_ws/devel
Install space: /home/gaspard-irt-jv/catkin_ws/install
-- Using CATKIN_DEVEL_PREFIX: /home/gaspard-irt-jv/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /home/gaspard-irt-jv/ws_moveit/devel;/opt/ros/kinetic
-- This workspace overlays: /home/gaspard-irt-jv/ws_moveit/devel;/opt/ros/kinetic
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/gaspard-irt-jv/catkin_ws/build/test_results
-- Found gmock sources under '/usr/src/gmock': gmock will be built
-- Found gtest sources under '/usr/src/gmock': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.7.18
-- BUILD_SHARED_LIBS is on
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 7 packages in topological order:
-- ~~ - vision_visp (metapackage)
-- ~~ - visp_bridge
-- ~~ - visp_camera_calibration
-- ~~ - visp_hand2eye_calibration
-- ~~ - visp_ros
-- ~~ - visp_tracker
-- ~~ - visp_auto_tracker
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin metapackage: 'vision_visp'
-- ==> add_subdirectory(vision_visp/vision_visp)
-- +++ processing catkin package: 'visp_bridge'
-- ==> add_subdirectory(vision_visp/visp_bridge)
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- filesystem
-- program_options
-- system
-- +++ processing catkin package: 'visp_camera_calibration'
-- ==> add_subdirectory(vision_visp/visp_camera_calibration)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- visp_camera_calibration: 4 messages, 1 services
-- +++ processing catkin package: 'visp_hand2eye_calibration'
-- ==> add_subdirectory(vision_visp/visp_hand2eye_calibration)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- visp_hand2eye_calibration: 1 messages, 3 services
-- +++ processing catkin package: 'visp_ros'
-- ==> add_subdirectory(visp_ros)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- +++ processing catkin package: 'visp_tracker'
-- ==> add_subdirectory(vision_visp/visp_tracker)
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- filesystem
-- thread
-- system
-- chrono
-- date_time
-- atomic
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- visp_tracker: 7 messages, 1 services
-- +++ processing catkin package: 'visp_auto_tracker'
-- ==> add_subdirectory(vision_visp/visp_auto_tracker)
-- Performing Test COMPILER_SUPPORTS_CXX11
-- Performing Test COMPILER_SUPPORTS_CXX11 - Success
-- Performing Test COMPILER_SUPPORTS_GNUXX11
-- Performing Test COMPILER_SUPPORTS_GNUXX11 - Success
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- filesystem
-- system
-- signals
-- regex
-- date_time
-- program_options
-- thread
-- chrono
-- atomic
-- Configuring done
-- Generating done
-- Build files have been written to: /home/gaspard-irt-jv/catkin_ws/build
Scanning dependencies of target visp_bridge
[ 8%] Building CXX object vision_visp/visp_bridge/CMakeFiles/visp_bridge.dir/src/compat/vpQuaternionVector.cpp.o
[ 8%] Building CXX object vision_visp/visp_bridge/CMakeFiles/visp_bridge.dir/src/conversions/3dpose.cpp.o
[ 16%] Building CXX object vision_visp/visp_bridge/CMakeFiles/visp_bridge.dir/src/conversions/camera.cpp.o
[ 16%] Building CXX object vision_visp/visp_bridge/CMakeFiles/visp_bridge.dir/src/conversions/image.cpp.o
[ 25%] Linking CXX shared library /home/gaspard-irt-jv/catkin_ws/devel/lib/libvisp_bridge.so
[ 25%] Built target visp_bridge
Scanning dependencies of target visp_ros_bebop2_visual_servo_node
[ 33%] Building CXX object visp_ros/CMakeFiles/visp_ros_bebop2_visual_servo_node.dir/tutorial/bebop2/visual_servo_node.cpp.o
[ 33%] Linking CXX executable /home/gaspard-irt-jv/catkin_ws/devel/lib/visp_ros/visp_ros_bebop2_visual_servo_node
[ 33%] Built target visp_ros_bebop2_visual_servo_node
Scanning dependencies of target visp_ros_viper850_node
[ 33%] Building CXX object visp_ros/CMakeFiles/visp_ros_viper850_node.dir/nodes/viper850.cpp.o
[ 41%] Linking CXX executable /home/gaspard-irt-jv/catkin_ws/devel/lib/visp_ros/visp_ros_viper850_node
[ 41%] Built target visp_ros_viper850_node
Scanning dependencies of target visp_ros_viper650_node
[ 50%] Building CXX object visp_ros/CMakeFiles/visp_ros_viper650_node.dir/nodes/viper650.cpp.o
[ 58%] Linking CXX executable /home/gaspard-irt-jv/catkin_ws/devel/lib/visp_ros/visp_ros_viper650_node
[ 58%] Built target visp_ros_viper650_node
Scanning dependencies of target visp_ros_bebop2_visual_servo_nodelet
[ 66%] Building CXX object visp_ros/CMakeFiles/visp_ros_bebop2_visual_servo_nodelet.dir/tutorial/bebop2/visual_servo_nodelet.cpp.o
/home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp: In member function ‘void bebopVSNodelet::imageCallback(const ImageConstPtr&)’:
/home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:307:34: error: ‘selectAtanOneOverRho’ is not a member of ‘vpFeatureVanishingPoint’
vpFeatureVanishingPoint::selectAtanOneOverRho());
^
/home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:369:37: error: no matching function for call to ‘vpDisplay::displayLine(vpImage&, __gnu_cxx::__alloc_traits<std::allocator >::value_type&, __gnu_cxx::__alloc_traits<std::allocator >::value_type&, const vpColor&, int, bool)’
false);
^
In file included from /opt/ros/kinetic/include/visp3/gui/vpDisplayX.h:43:0,
from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:67:
/opt/ros/kinetic/include/visp3/core/vpDisplay.h:334:16: note: candidate: virtual void vpDisplay::displayLine(const vpImagePoint&, const vpImagePoint&, const vpColor&, unsigned int)
virtual void displayLine(const vpImagePoint &ip1, const vpImagePoint &ip2, const vpColor &color,
^
/opt/ros/kinetic/include/visp3/core/vpDisplay.h:334:16: note: candidate expects 4 arguments, 6 provided
/opt/ros/kinetic/include/visp3/core/vpDisplay.h:740:15: note: candidate: static void vpDisplay::displayLine(const vpImage&, const vpImagePoint&, const vpImagePoint&, const vpColor&, unsigned int)
static void displayLine(const vpImage &I, const vpImagePoint &ip1, const vpImagePoint &ip2,
^
/opt/ros/kinetic/include/visp3/core/vpDisplay.h:740:15: note: candidate expects 5 arguments, 6 provided
/opt/ros/kinetic/include/visp3/core/vpDisplay.h:742:15: note: candidate: static void vpDisplay::displayLine(const vpImage&, int, int, int, int, const vpColor&, unsigned int)
static void displayLine(const vpImage &I, int i1, int j1, int i2, int j2, const vpColor &color,
^
/opt/ros/kinetic/include/visp3/core/vpDisplay.h:742:15: note: no known conversion for argument 2 from ‘__gnu_cxx::__alloc_traits<std::allocator >::value_type {aka vpImagePoint}’ to ‘int’
/opt/ros/kinetic/include/visp3/core/vpDisplay.h:744:15: note: candidate: static void vpDisplay::displayLine(const vpImage&, const std::vector&, bool, const vpColor&, unsigned int)
static void displayLine(const vpImage &I, const std::vector &ips,
^
/opt/ros/kinetic/include/visp3/core/vpDisplay.h:744:15: note: candidate expects 5 arguments, 6 provided
/opt/ros/kinetic/include/visp3/core/vpDisplay.h:839:15: note: candidate: static void vpDisplay::displayLine(const vpImage&, const vpImagePoint&, const vpImagePoint&, const vpColor&, unsigned int)
static void displayLine(const vpImage &I, const vpImagePoint &ip1, const vpImagePoint &ip2,
^
/opt/ros/kinetic/include/visp3/core/vpDisplay.h:839:15: note: candidate expects 5 arguments, 6 provided
/opt/ros/kinetic/include/visp3/core/vpDisplay.h:841:15: note: candidate: static void vpDisplay::displayLine(const vpImage&, int, int, int, int, const vpColor&, unsigned int)
static void displayLine(const vpImage &I, int i1, int j1, int i2, int j2, const vpColor &color,
^
/opt/ros/kinetic/include/visp3/core/vpDisplay.h:841:15: note: no known conversion for argument 1 from ‘vpImage’ to ‘const vpImage&’
/opt/ros/kinetic/include/visp3/core/vpDisplay.h:843:15: note: candidate: static void vpDisplay::displayLine(const vpImage&, const std::vector&, bool, const vpColor&, unsigned int)
static void displayLine(const vpImage &I, const std::vector &ips, const bool closeTheShape,
^
/opt/ros/kinetic/include/visp3/core/vpDisplay.h:843:15: note: candidate expects 5 arguments, 6 provided
/home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:375:37: error: no matching function for call to ‘vpDisplay::displayLine(vpImage&, __gnu_cxx::__alloc_traits<std::allocator >::value_type&, __gnu_cxx::__alloc_traits<std::allocator >::value_type&, const vpColor&, int, bool)’
false);
^
In file included from /opt/ros/kinetic/include/visp3/gui/vpDisplayX.h:43:0,
from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:67:
/opt/ros/kinetic/include/visp3/core/vpDisplay.h:334:16: note: candidate: virtual void vpDisplay::displayLine(const vpImagePoint&, const vpImagePoint&, const vpColor&, unsigned int)
virtual void displayLine(const vpImagePoint &ip1, const vpImagePoint &ip2, const vpColor &color,
^
/opt/ros/kinetic/include/visp3/core/vpDisplay.h:334:16: note: candidate expects 4 arguments, 6 provided
/opt/ros/kinetic/include/visp3/core/vpDisplay.h:740:15: note: candidate: static void vpDisplay::displayLine(const vpImage&, const vpImagePoint&, const vpImagePoint&, const vpColor&, unsigned int)
static void displayLine(const vpImage &I, const vpImagePoint &ip1, const vpImagePoint &ip2,
^
/opt/ros/kinetic/include/visp3/core/vpDisplay.h:740:15: note: candidate expects 5 arguments, 6 provided
/opt/ros/kinetic/include/visp3/core/vpDisplay.h:742:15: note: candidate: static void vpDisplay::displayLine(const vpImage&, int, int, int, int, const vpColor&, unsigned int)
static void displayLine(const vpImage &I, int i1, int j1, int i2, int j2, const vpColor &color,
^
/opt/ros/kinetic/include/visp3/core/vpDisplay.h:742:15: note: no known conversion for argument 2 from ‘__gnu_cxx::__alloc_traits<std::allocator >::value_type {aka vpImagePoint}’ to ‘int’
/opt/ros/kinetic/include/visp3/core/vpDisplay.h:744:15: note: candidate: static void vpDisplay::displayLine(const vpImage&, const std::vector&, bool, const vpColor&, unsigned int)
static void displayLine(const vpImage &I, const std::vector &ips,
^
/opt/ros/kinetic/include/visp3/core/vpDisplay.h:744:15: note: candidate expects 5 arguments, 6 provided
/opt/ros/kinetic/include/visp3/core/vpDisplay.h:839:15: note: candidate: static void vpDisplay::displayLine(const vpImage&, const vpImagePoint&, const vpImagePoint&, const vpColor&, unsigned int)
static void displayLine(const vpImage &I, const vpImagePoint &ip1, const vpImagePoint &ip2,
^
/opt/ros/kinetic/include/visp3/core/vpDisplay.h:839:15: note: candidate expects 5 arguments, 6 provided
/opt/ros/kinetic/include/visp3/core/vpDisplay.h:841:15: note: candidate: static void vpDisplay::displayLine(const vpImage&, int, int, int, int, const vpColor&, unsigned int)
static void displayLine(const vpImage &I, int i1, int j1, int i2, int j2, const vpColor &color,
^
/opt/ros/kinetic/include/visp3/core/vpDisplay.h:841:15: note: no known conversion for argument 1 from ‘vpImage’ to ‘const vpImage&’
/opt/ros/kinetic/include/visp3/core/vpDisplay.h:843:15: note: candidate: static void vpDisplay::displayLine(const vpImage&, const std::vector&, bool, const vpColor&, unsigned int)
static void displayLine(const vpImage &I, const std::vector &ips, const bool closeTheShape,
^
/opt/ros/kinetic/include/visp3/core/vpDisplay.h:843:15: note: candidate expects 5 arguments, 6 provided
/home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp: In member function ‘void bebopVSNodelet::initVS()’:
/home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:455:52: error: no matching function for call to ‘vpRotationMatrix::vpRotationMatrix()’
vpRotationMatrix c1Re{0, 1, 0, 0, 0, 1, 1, 0, 0}; // Rotation between camera 1 and E
^
In file included from /opt/ros/kinetic/include/visp3/core/vpHomogeneousMatrix.h:60:0,
from /opt/ros/kinetic/include/visp3/core/vpPoseVector.h:59,
from /opt/ros/kinetic/include/visp3/core/vpColVector.h:44,
from /opt/ros/kinetic/include/visp3/core/vpExponentialMap.h:48,
from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:54:
/opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:84:3: note: candidate: vpRotationMatrix::vpRotationMatrix(double, double, double)
vpRotationMatrix(const double tux, const double tuy, const double tuz);
^
/opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:84:3: note: candidate expects 3 arguments, 9 provided
/opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:83:12: note: candidate: vpRotationMatrix::vpRotationMatrix(const vpMatrix&)
explicit vpRotationMatrix(const vpMatrix &R);
^
/opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:83:12: note: candidate expects 1 argument, 9 provided
/opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:82:12: note: candidate: vpRotationMatrix::vpRotationMatrix(const vpQuaternionVector&)
explicit vpRotationMatrix(const vpQuaternionVector &q);
^
/opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:82:12: note: candidate expects 1 argument, 9 provided
/opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:81:12: note: candidate: vpRotationMatrix::vpRotationMatrix(const vpRzyxVector&)
explicit vpRotationMatrix(const vpRzyxVector &r);
^
/opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:81:12: note: candidate expects 1 argument, 9 provided
/opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:80:12: note: candidate: vpRotationMatrix::vpRotationMatrix(const vpRxyzVector&)
explicit vpRotationMatrix(const vpRxyzVector &r);
^
/opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:80:12: note: candidate expects 1 argument, 9 provided
/opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:79:12: note: candidate: vpRotationMatrix::vpRotationMatrix(const vpRzyzVector&)
explicit vpRotationMatrix(const vpRzyzVector &r);
^
/opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:79:12: note: candidate expects 1 argument, 9 provided
/opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:78:12: note: candidate: vpRotationMatrix::vpRotationMatrix(const vpPoseVector&)
explicit vpRotationMatrix(const vpPoseVector &p);
^
/opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:78:12: note: candidate expects 1 argument, 9 provided
/opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:77:12: note: candidate: vpRotationMatrix::vpRotationMatrix(const vpThetaUVector&)
explicit vpRotationMatrix(const vpThetaUVector &r);
^
/opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:77:12: note: candidate expects 1 argument, 9 provided
/opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:76:12: note: candidate: vpRotationMatrix::vpRotationMatrix(const vpHomogeneousMatrix&)
explicit vpRotationMatrix(const vpHomogeneousMatrix &M);
^
/opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:76:12: note: candidate expects 1 argument, 9 provided
/opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:75:3: note: candidate: vpRotationMatrix::vpRotationMatrix(const vpRotationMatrix&)
vpRotationMatrix(const vpRotationMatrix &R);
^
/opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:75:3: note: candidate expects 1 argument, 9 provided
/opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:74:3: note: candidate: vpRotationMatrix::vpRotationMatrix()
vpRotationMatrix();
^
/opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:74:3: note: candidate expects 0 arguments, 9 provided
/home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:508:37: error: ‘selectAtanOneOverRho’ is not a member of ‘vpFeatureVanishingPoint’
m_task.addFeature(s_vp, s_vp_d, vpFeatureVanishingPoint::selectAtanOneOverRho());
^
/home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:518:12: error: ‘class vpFeatureVanishingPoint’ has no member named ‘setAtanOneOverRho’
s_vp_d.setAtanOneOverRho(0);
^
/home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:519:12: error: ‘class vpFeatureVanishingPoint’ has no member named ‘setAlpha’
s_vp_d.setAlpha(0);
^
/home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp: In member function ‘vpColVector bebopVSNodelet::velocityToPosition(vpColVector&, double)’:
/home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:530:13: error: no match for ‘operator<<’ (operand types are ‘vpColVector’ and ‘double’)
res << 0., 0., 0., 0.;
^
In file included from /opt/ros/kinetic/include/visp3/core/vpExponentialMap.h:48:0,
from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:54:
/opt/ros/kinetic/include/visp3/core/vpColVector.h:219:16: note: candidate: vpColVector& vpColVector::operator<<(const vpColVector&)
vpColVector &operator<<(const vpColVector &v);
^
/opt/ros/kinetic/include/visp3/core/vpColVector.h:219:16: note: no known conversion for argument 1 from ‘double’ to ‘const vpColVector&’
/opt/ros/kinetic/include/visp3/core/vpColVector.h:220:16: note: candidate: vpColVector& vpColVector::operator<<(double*)
vpColVector &operator<<(double );
^
/opt/ros/kinetic/include/visp3/core/vpColVector.h:220:16: note: no known conversion for argument 1 from ‘double’ to ‘double’
In file included from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:66:0:
/opt/ros/kinetic/include/visp3/detection/vpDetectorAprilTag.h:332:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpDetectorAprilTag::vpAprilTagFamily&)
inline std::ostream &operator<<(std::ostream &os, const vpDetectorAprilTag::vpAprilTagFamily &tagFamily)
^
/opt/ros/kinetic/include/visp3/detection/vpDetectorAprilTag.h:332:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’
/opt/ros/kinetic/include/visp3/detection/vpDetectorAprilTag.h:301:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpDetectorAprilTag::vpPoseEstimationMethod&)
inline std::ostream &operator<<(std::ostream &os, const vpDetectorAprilTag::vpPoseEstimationMethod &method)
^
/opt/ros/kinetic/include/visp3/detection/vpDetectorAprilTag.h:301:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’
In file included from /opt/ros/kinetic/include/visp3/core/vpImageConvert.h:54:0,
from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:55:
/opt/ros/kinetic/include/visp3/core/vpImage.h:454:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpImage&)
inline std::ostream &operator<<(std::ostream &s, const vpImage &I)
^
/opt/ros/kinetic/include/visp3/core/vpImage.h:454:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’
/opt/ros/kinetic/include/visp3/core/vpImage.h:427:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpImage&)
inline std::ostream &operator<<(std::ostream &s, const vpImage &I)
^
/opt/ros/kinetic/include/visp3/core/vpImage.h:427:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’
/opt/ros/kinetic/include/visp3/core/vpImage.h:401:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpImage&)
inline std::ostream &operator<<(std::ostream &s, const vpImage &I)
^
/opt/ros/kinetic/include/visp3/core/vpImage.h:401:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’
/opt/ros/kinetic/include/visp3/core/vpImage.h:375:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpImage&)
inline std::ostream &operator<<(std::ostream &s, const vpImage &I)
^
/opt/ros/kinetic/include/visp3/core/vpImage.h:375:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’
/opt/ros/kinetic/include/visp3/core/vpImage.h:352:37: note: candidate: template std::ostream& operator<<(std::ostream&, const vpImage&)
template std::ostream &operator<<(std::ostream &s, const vpImage &I)
^
/opt/ros/kinetic/include/visp3/core/vpImage.h:352:37: note: template argument deduction/substitution failed:
/home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:530:16: note: cannot convert ‘res’ (type ‘vpColVector’) to type ‘std::ostream& {aka std::basic_ostream&}’
res << 0., 0., 0., 0.;
^
In file included from /opt/ros/kinetic/include/ros/node_handle.h:52:0,
from /opt/ros/kinetic/include/ros/ros.h:45,
from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:40:
/opt/ros/kinetic/include/xmlrpcpp/XmlRpcValue.h:192:15: note: candidate: std::ostream& operator<<(std::ostream&, const XmlRpc::XmlRpcValue&)
std::ostream& operator<<(std::ostream& os, const XmlRpc::XmlRpcValue& v);
^
/opt/ros/kinetic/include/xmlrpcpp/XmlRpcValue.h:192:15: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’
In file included from /opt/ros/kinetic/include/visp3/core/vpColVector.h:42:0,
from /opt/ros/kinetic/include/visp3/core/vpExponentialMap.h:48,
from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:54:
/opt/ros/kinetic/include/visp3/core/vpArray2D.h:275:24: note: candidate: std::ostream& operator<<(std::ostream&, const vpArray2D&)
friend std::ostream &operator<<(std::ostream &s, const vpArray2D &A)
^
/opt/ros/kinetic/include/visp3/core/vpArray2D.h:275:24: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’
/home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:546:13: error: no match for ‘operator<<’ (operand types are ‘vpColVector’ and ‘double’)
res << 0., 0., 0., 0.;
^
In file included from /opt/ros/kinetic/include/visp3/core/vpExponentialMap.h:48:0,
from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:54:
/opt/ros/kinetic/include/visp3/core/vpColVector.h:219:16: note: candidate: vpColVector& vpColVector::operator<<(const vpColVector&)
vpColVector &operator<<(const vpColVector &v);
^
/opt/ros/kinetic/include/visp3/core/vpColVector.h:219:16: note: no known conversion for argument 1 from ‘double’ to ‘const vpColVector&’
/opt/ros/kinetic/include/visp3/core/vpColVector.h:220:16: note: candidate: vpColVector& vpColVector::operator<<(double*)
vpColVector &operator<<(double );
^
/opt/ros/kinetic/include/visp3/core/vpColVector.h:220:16: note: no known conversion for argument 1 from ‘double’ to ‘double’
In file included from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:66:0:
/opt/ros/kinetic/include/visp3/detection/vpDetectorAprilTag.h:332:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpDetectorAprilTag::vpAprilTagFamily&)
inline std::ostream &operator<<(std::ostream &os, const vpDetectorAprilTag::vpAprilTagFamily &tagFamily)
^
/opt/ros/kinetic/include/visp3/detection/vpDetectorAprilTag.h:332:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’
/opt/ros/kinetic/include/visp3/detection/vpDetectorAprilTag.h:301:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpDetectorAprilTag::vpPoseEstimationMethod&)
inline std::ostream &operator<<(std::ostream &os, const vpDetectorAprilTag::vpPoseEstimationMethod &method)
^
/opt/ros/kinetic/include/visp3/detection/vpDetectorAprilTag.h:301:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’
In file included from /opt/ros/kinetic/include/visp3/core/vpImageConvert.h:54:0,
from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:55:
/opt/ros/kinetic/include/visp3/core/vpImage.h:454:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpImage&)
inline std::ostream &operator<<(std::ostream &s, const vpImage &I)
^
/opt/ros/kinetic/include/visp3/core/vpImage.h:454:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’
/opt/ros/kinetic/include/visp3/core/vpImage.h:427:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpImage&)
inline std::ostream &operator<<(std::ostream &s, const vpImage &I)
^
/opt/ros/kinetic/include/visp3/core/vpImage.h:427:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’
/opt/ros/kinetic/include/visp3/core/vpImage.h:401:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpImage&)
inline std::ostream &operator<<(std::ostream &s, const vpImage &I)
^
/opt/ros/kinetic/include/visp3/core/vpImage.h:401:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’
/opt/ros/kinetic/include/visp3/core/vpImage.h:375:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpImage&)
inline std::ostream &operator<<(std::ostream &s, const vpImage &I)
^
/opt/ros/kinetic/include/visp3/core/vpImage.h:375:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’
/opt/ros/kinetic/include/visp3/core/vpImage.h:352:37: note: candidate: template std::ostream& operator<<(std::ostream&, const vpImage&)
template std::ostream &operator<<(std::ostream &s, const vpImage &I)
^
/opt/ros/kinetic/include/visp3/core/vpImage.h:352:37: note: template argument deduction/substitution failed:
/home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:546:16: note: cannot convert ‘res’ (type ‘vpColVector’) to type ‘std::ostream& {aka std::basic_ostream&}’
res << 0., 0., 0., 0.;
^
In file included from /opt/ros/kinetic/include/ros/node_handle.h:52:0,
from /opt/ros/kinetic/include/ros/ros.h:45,
from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:40:
/opt/ros/kinetic/include/xmlrpcpp/XmlRpcValue.h:192:15: note: candidate: std::ostream& operator<<(std::ostream&, const XmlRpc::XmlRpcValue&)
std::ostream& operator<<(std::ostream& os, const XmlRpc::XmlRpcValue& v);
^
/opt/ros/kinetic/include/xmlrpcpp/XmlRpcValue.h:192:15: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’
In file included from /opt/ros/kinetic/include/visp3/core/vpColVector.h:42:0,
from /opt/ros/kinetic/include/visp3/core/vpExponentialMap.h:48,
from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:54:
/opt/ros/kinetic/include/visp3/core/vpArray2D.h:275:24: note: candidate: std::ostream& operator<<(std::ostream&, const vpArray2D&)
friend std::ostream &operator<<(std::ostream &s, const vpArray2D &A)
^
/opt/ros/kinetic/include/visp3/core/vpArray2D.h:275:24: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’
/home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:551:13: error: no match for ‘operator<<’ (operand types are ‘vpColVector’ and ‘double’)
res << 0., 0., 0., 0.;
^
In file included from /opt/ros/kinetic/include/visp3/core/vpExponentialMap.h:48:0,
from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:54:
/opt/ros/kinetic/include/visp3/core/vpColVector.h:219:16: note: candidate: vpColVector& vpColVector::operator<<(const vpColVector&)
vpColVector &operator<<(const vpColVector &v);
^
/opt/ros/kinetic/include/visp3/core/vpColVector.h:219:16: note: no known conversion for argument 1 from ‘double’ to ‘const vpColVector&’
/opt/ros/kinetic/include/visp3/core/vpColVector.h:220:16: note: candidate: vpColVector& vpColVector::operator<<(double*)
vpColVector &operator<<(double );
^
/opt/ros/kinetic/include/visp3/core/vpColVector.h:220:16: note: no known conversion for argument 1 from ‘double’ to ‘double’
In file included from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:66:0:
/opt/ros/kinetic/include/visp3/detection/vpDetectorAprilTag.h:332:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpDetectorAprilTag::vpAprilTagFamily&)
inline std::ostream &operator<<(std::ostream &os, const vpDetectorAprilTag::vpAprilTagFamily &tagFamily)
^
/opt/ros/kinetic/include/visp3/detection/vpDetectorAprilTag.h:332:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’
/opt/ros/kinetic/include/visp3/detection/vpDetectorAprilTag.h:301:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpDetectorAprilTag::vpPoseEstimationMethod&)
inline std::ostream &operator<<(std::ostream &os, const vpDetectorAprilTag::vpPoseEstimationMethod &method)
^
/opt/ros/kinetic/include/visp3/detection/vpDetectorAprilTag.h:301:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’
In file included from /opt/ros/kinetic/include/visp3/core/vpImageConvert.h:54:0,
from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:55:
/opt/ros/kinetic/include/visp3/core/vpImage.h:454:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpImage&)
inline std::ostream &operator<<(std::ostream &s, const vpImage &I)
^
/opt/ros/kinetic/include/visp3/core/vpImage.h:454:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’
/opt/ros/kinetic/include/visp3/core/vpImage.h:427:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpImage&)
inline std::ostream &operator<<(std::ostream &s, const vpImage &I)
^
/opt/ros/kinetic/include/visp3/core/vpImage.h:427:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’
/opt/ros/kinetic/include/visp3/core/vpImage.h:401:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpImage&)
inline std::ostream &operator<<(std::ostream &s, const vpImage &I)
^
/opt/ros/kinetic/include/visp3/core/vpImage.h:401:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’
/opt/ros/kinetic/include/visp3/core/vpImage.h:375:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpImage&)
inline std::ostream &operator<<(std::ostream &s, const vpImage &I)
^
/opt/ros/kinetic/include/visp3/core/vpImage.h:375:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’
/opt/ros/kinetic/include/visp3/core/vpImage.h:352:37: note: candidate: template std::ostream& operator<<(std::ostream&, const vpImage&)
template std::ostream &operator<<(std::ostream &s, const vpImage &I)
^
/opt/ros/kinetic/include/visp3/core/vpImage.h:352:37: note: template argument deduction/substitution failed:
/home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:551:16: note: cannot convert ‘res’ (type ‘vpColVector’) to type ‘std::ostream& {aka std::basic_ostream&}’
res << 0., 0., 0., 0.;
^
In file included from /opt/ros/kinetic/include/ros/node_handle.h:52:0,
from /opt/ros/kinetic/include/ros/ros.h:45,
from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:40:
/opt/ros/kinetic/include/xmlrpcpp/XmlRpcValue.h:192:15: note: candidate: std::ostream& operator<<(std::ostream&, const XmlRpc::XmlRpcValue&)
std::ostream& operator<<(std::ostream& os, const XmlRpc::XmlRpcValue& v);
^
/opt/ros/kinetic/include/xmlrpcpp/XmlRpcValue.h:192:15: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’
In file included from /opt/ros/kinetic/include/visp3/core/vpColVector.h:42:0,
from /opt/ros/kinetic/include/visp3/core/vpExponentialMap.h:48,
from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:54:
/opt/ros/kinetic/include/visp3/core/vpArray2D.h:275:24: note: candidate: std::ostream& operator<<(std::ostream&, const vpArray2D&)
friend std::ostream &operator<<(std::ostream &s, const vpArray2D &A)
^
/opt/ros/kinetic/include/visp3/core/vpArray2D.h:275:24: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’
/home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:558:9: error: no match for ‘operator<<’ (operand types are ‘vpColVector’ and ‘double’)
res << t[0], t[1], t[2], dThetaZ;
^
In file included from /opt/ros/kinetic/include/visp3/core/vpExponentialMap.h:48:0,
from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:54:
/opt/ros/kinetic/include/visp3/core/vpColVector.h:219:16: note: candidate: vpColVector& vpColVector::operator<<(const vpColVector&)
vpColVector &operator<<(const vpColVector &v);
^
/opt/ros/kinetic/include/visp3/core/vpColVector.h:219:16: note: no known conversion for argument 1 from ‘double’ to ‘const vpColVector&’
/opt/ros/kinetic/include/visp3/core/vpColVector.h:220:16: note: candidate: vpColVector& vpColVector::operator<<(double*)
vpColVector &operator<<(double );
^
/opt/ros/kinetic/include/visp3/core/vpColVector.h:220:16: note: no known conversion for argument 1 from ‘double’ to ‘double’
In file included from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:66:0:
/opt/ros/kinetic/include/visp3/detection/vpDetectorAprilTag.h:332:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpDetectorAprilTag::vpAprilTagFamily&)
inline std::ostream &operator<<(std::ostream &os, const vpDetectorAprilTag::vpAprilTagFamily &tagFamily)
^
/opt/ros/kinetic/include/visp3/detection/vpDetectorAprilTag.h:332:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’
/opt/ros/kinetic/include/visp3/detection/vpDetectorAprilTag.h:301:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpDetectorAprilTag::vpPoseEstimationMethod&)
inline std::ostream &operator<<(std::ostream &os, const vpDetectorAprilTag::vpPoseEstimationMethod &method)
^
/opt/ros/kinetic/include/visp3/detection/vpDetectorAprilTag.h:301:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’
In file included from /opt/ros/kinetic/include/visp3/core/vpImageConvert.h:54:0,
from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:55:
/opt/ros/kinetic/include/visp3/core/vpImage.h:454:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpImage&)
inline std::ostream &operator<<(std::ostream &s, const vpImage &I)
^
/opt/ros/kinetic/include/visp3/core/vpImage.h:454:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’
/opt/ros/kinetic/include/visp3/core/vpImage.h:427:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpImage&)
inline std::ostream &operator<<(std::ostream &s, const vpImage &I)
^
/opt/ros/kinetic/include/visp3/core/vpImage.h:427:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’
/opt/ros/kinetic/include/visp3/core/vpImage.h:401:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpImage&)
inline std::ostream &operator<<(std::ostream &s, const vpImage &I)
^
/opt/ros/kinetic/include/visp3/core/vpImage.h:401:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’
/opt/ros/kinetic/include/visp3/core/vpImage.h:375:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpImage&)
inline std::ostream &operator<<(std::ostream &s, const vpImage &I)
^
/opt/ros/kinetic/include/visp3/core/vpImage.h:375:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’
/opt/ros/kinetic/include/visp3/core/vpImage.h:352:37: note: candidate: template std::ostream& operator<<(std::ostream&, const vpImage&)
template std::ostream &operator<<(std::ostream &s, const vpImage &I)
^
/opt/ros/kinetic/include/visp3/core/vpImage.h:352:37: note: template argument deduction/substitution failed:
/home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:558:15: note: cannot convert ‘res’ (type ‘vpColVector’) to type ‘std::ostream& {aka std::basic_ostream&}’
res << t[0], t[1], t[2], dThetaZ;
^
In file included from /opt/ros/kinetic/include/ros/node_handle.h:52:0,
from /opt/ros/kinetic/include/ros/ros.h:45,
from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:40:
/opt/ros/kinetic/include/xmlrpcpp/XmlRpcValue.h:192:15: note: candidate: std::ostream& operator<<(std::ostream&, const XmlRpc::XmlRpcValue&)
std::ostream& operator<<(std::ostream& os, const XmlRpc::XmlRpcValue& v);
^
/opt/ros/kinetic/include/xmlrpcpp/XmlRpcValue.h:192:15: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’
In file included from /opt/ros/kinetic/include/visp3/core/vpColVector.h:42:0,
from /opt/ros/kinetic/include/visp3/core/vpExponentialMap.h:48,
from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:54:
/opt/ros/kinetic/include/visp3/core/vpArray2D.h:275:24: note: candidate: std::ostream& operator<<(std::ostream&, const vpArray2D&)
friend std::ostream &operator<<(std::ostream &s, const vpArray2D &A)
^
/opt/ros/kinetic/include/visp3/core/vpArray2D.h:275:24: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’
visp_ros/CMakeFiles/visp_ros_bebop2_visual_servo_nodelet.dir/build.make:62: recipe for target 'visp_ros/CMakeFiles/visp_ros_bebop2_visual_servo_nodelet.dir/tutorial/bebop2/visual_servo_nodelet.cpp.o' failed
make[2]: *** [visp_ros/CMakeFiles/visp_ros_bebop2_visual_servo_nodelet.dir/tutorial/bebop2/visual_servo_nodelet.cpp.o] Error 1
CMakeFiles/Makefile2:3119: recipe for target 'visp_ros/CMakeFiles/visp_ros_bebop2_visual_servo_nodelet.dir/all' failed
make[1]: *** [visp_ros/CMakeFiles/visp_ros_bebop2_visual_servo_nodelet.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j1 -l1" failed
Hi,
I'm not able to make the build of tutorial-ros-grabber using make.
(Ubuntu 18.04, Ros-Melodic)
(Followed the instructions from this Github to install)
I get:
~/catkin_ws/src/visp_ros/tutorial/grabber/ros$ make
[ 50%] Linking CXX executable tutorial-ros-grabber
/home/giulio/catkin_ws/install/lib/libvisp_ros.so: undefined reference to `cv::Mat::Mat()'
collect2: error: ld returned 1 exit status
CMakeFiles/tutorial-ros-grabber.dir/build.make:192: recipe for target 'tutorial-ros-grabber' failed
make[2]: *** [tutorial-ros-grabber] Error 1
CMakeFiles/Makefile2:707: recipe for target 'CMakeFiles/tutorial-ros-grabber.dir/all' failed
make[1]: *** [CMakeFiles/tutorial-ros-grabber.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
I had got the same error when building the whole catkin_ws but since it was just a problem of Franka's tutorial I had removed it from the make list.
The Homogeneous Matrix flMe maybe wrong. According to Franka Emika Robot’s Instruction Handbook [see Page 164 of the handbook], the corrected one is:
vpHomogeneousMatrix flMe(
vpTranslationVector( 0, 0, 0.1034 ),
vpRotationMatrix( { std::cos( vpMath::rad( 45 ) ), std::sin( vpMath::rad( 45 ) ), 0,
-std::sin( vpMath::rad( 45 ) ), std::cos( vpMath::rad( 45 ) ), 0, 0, 0, 1 } ) );
I run the tutorial-franka-coppeliasim-ibvs-apriltag.cpp.
Tthe definition of the 4 3D points corresponding to the CAD model of the Apriltag
point[0].setWorldCoordinates( -opt_tagSize / 2., -opt_tagSize / 2., 0 );
point[1].setWorldCoordinates( opt_tagSize / 2., -opt_tagSize / 2., 0 );
point[2].setWorldCoordinates( opt_tagSize / 2., opt_tagSize / 2., 0 );
point[3].setWorldCoordinates( -opt_tagSize / 2., opt_tagSize / 2., 0 );
It seems that the ponit[0] is at x<0 and y>0(as shown below). Why are the coordinates in the code(x<0 and y<0) different?
Besides, I calculate the cMo(= fMc.inverse() * fMe * eMo) and compare with cMo_vec[0]. It seems that cMo ≠ cMo_vec[0].
Why cMo ≠ cMo_vec[0]?
fMc : the homogeneous transformation between the robot base frame and the camera frame
eMo : the homogeneous transformation between the end-effector frame and the object(AprilTag) frame.
fMe = robot.get_fMe() the homogeneous transformation between the robot base frame and the robot end-effector frame
cMo : the homogeneous transformation between the camera frame and the object(AprilTag) frame
I set fMc and eMo by reading the value in CoppeliaSim(as shown below).
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.