ankitdhall / lidar_camera_calibration

ROS package to find a rigid-body transformation between a LiDAR and a camera for "LiDAR-Camera Calibration using 3D-3D Point correspondences"
http://arxiv.org/abs/1705.09785
GNU General Public License v3.0
1.49k stars 460 forks source link

Directory structure for installation. #43

Closed adioshun closed 6 years ago

adioshun commented 6 years ago

In your instruction,

Clone this repository to your machine.
Put the cloned repository, dependencies/aruco_ros and dependencies/aruco_mapping folders in path/to/your/ros/workspace/src and run the following commands,

So I did following commands

# Move two dependencies folders under the src
cd ~
git clone https://github.com/ankitdhall/lidar_camera_calibration.git
cd lidar_camera_calibration/
cp -r dependencies/ ./../catkin_ws/src/

# Move entire git folder under the src 
cd ~
cp -r lidar_camera_calibration/ ./catkin_ws/src/

Then I type the catkin_make -DCATKIN_WHITELIST_PACKAGES="aruco_ros;aruco_mapping" in ~/catkin_ws/

Is this correct?

karnikram commented 6 years ago

Hi, aruco_ros and aruco_mapping should be inside your src directory, not inside the dependencies directory.

Your fourth command should be,

cp -r dependencies/aruco_* ../catkin_ws/src/
adioshun commented 6 years ago

Thanks @karnikram. The copied aruco_ros folder have multiple subfolders : aruco, aruco_msgs, aruco_ros.

should I keep them under the aruco_ros folder? image

Or should I move them to upper directory of aruc_ros?

image

karnikram commented 6 years ago

No let the sub folders be as such.

adioshun commented 6 years ago

Finally, I install the packages. Thanks.

There is some dependence error, so I move the package one by one.

cd ~
cp -r lidar_camera_calibration/dependencies/aruco_ros/ catkin_ws/src/
cd catkin_ws/
catkin_make
cp -r ~/lidar_camera_calibration/dependencies/aruco_mapping/ ~/catkin_ws/src/
catkin_make
cp -r ~/lidar_camera_calibration ~/catkin_ws/src/
catkin_make
catkin_make install

This looks very inefficient way. please somebody modify the command pipeline.