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.54k stars 462 forks source link

error: pathspec 'melodic' did not match any file(s) known to git. #139

Open konnoeric opened 3 years ago

konnoeric commented 3 years ago

I am at an installation step and encountering some error. Please help me. I received this error when I executed git checkout melodic. What is the reason causing this issue?

error: pathspec 'melodic' did not match any file(s) known to git.

OS : Ubuntu 18.04 ROS : Melodic

Screenshot from 2021-10-12 13-37-42

louislelay commented 3 months ago

Hi @konnoeric, it looks like you didn't clone the repository correctly. The error in your terminal indicates that the lidar_camera_calibration directory already exists and is not empty, so the repository wasn't cloned. You should go back to ~/catkin_ws/src, remove the existing directory, and then run the git clone command again.

As a final piece of advice, no offense intended, but it's always good to check your terminal for basic errors you could troubleshoot easily before opening an issue. Seeing "fatal" in response to a git clone command is a clear sign to stop and troubleshoot before proceeding with the next installation commands.