aruco_ros安装easy_handeye安装

1. aruco_ros安装

安装这个是为了识别ArUco marker

cd ~/catkin_ws/src
git clone -b melodic-devel https://github.com/pal-robotics/aruco_ros.git
cd ..
catkin_make 

1.1 你可能会遇到下面的问题

-- Could not find the required component 'pcl_ros'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.
CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
  Could not find a package configuration file provided by "pcl_ros" with any
  of the following names:

    pcl_rosConfig.cmake
    pcl_ros-config.cmake

  Add the installation prefix of "pcl_ros" to CMAKE_PREFIX_PATH or set
  "pcl_ros_DIR" to a directory containing one of the above files.  If
  "pcl_ros" provides a separate development package or SDK, be sure it has
  been installed.

你只需要这样做就可以了t

sudo apt-get install ros-melodic-pcl-ros

接下来你又会看到

The following information may help to resolve the situation:

The following packages have unmet dependencies:
 ros-melodic-pcl-ros : Depends: libpcl-dev but it is not going to be installed
                       Depends: ros-melodic-pcl-conversions but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

你这样做

sudo apt-get install aptitude
sudo aptitude install libpcl-dev

最后,继续编译

catkin_make

2. vision_visp / visp_hand2eye_calibration安装

cd ~/catkin_ws  #the name of your work space
sudo apt-get install ros-melodic-visp
cd src
git clone -b melodic-devel https://github.com/lagadic/vision_visp.git
cd ..
catkin_make --pkg visp_hand2eye_calibration
CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
  Could not find a package configuration file provided by
  "camera_calibration_parsers" with any of the following names:

    camera_calibration_parsersConfig.cmake
    camera_calibration_parsers-config.cmake

  Add the installation prefix of "camera_calibration_parsers" to
  CMAKE_PREFIX_PATH or set "camera_calibration_parsers_DIR" to a directory
 sudo apt-get install ros-melodic-camera-calibration-parsers
CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
  Could not find a package configuration file provided by "image_proc" with
  any of the following names:

    image_procConfig.cmake
    image_proc-config.cmake

  Add the installation prefix of "image_proc" to CMAKE_PREFIX_PATH or set
  "image_proc_DIR" to a directory containing one of the above files.

 sudo apt-get install ros-melodic-image-proc

3. easy_handeye安装

cd ~/catkin_ws/src
git clone https://github.com/IFL-CAMP/easy_handeye
cd ..
catkin_make
评论 11
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值