Skip to content

txfs1926/lidar-and-camera-ttc-measurement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lidar-and-camera-ttc-measurement

Dependencies for Running Locally

Device

  • Camera (Logitech C920 PRO HD Webcam@640×480px, 60fps)
  • LiDAR (Leishen-lidar C16 from Shenzhen Leishen Intelligence System Co, Ltd., Driver)

Usage

Make sure that USB camera and LiDAR are connected and LiDAR driver is working properly. (For lslidar_c16 please refer the insturction to better prepare for your LiDAR. In addition, edit cv::VideoCapture cap(2); to setup your camera.

Note

  1. The weight file under folder dat/yolo/ is a dummy file. Open dat/yolo/yolo.weight via your code editor and follow the procedure to download the true pre-trained weight to replace the existed dummy file.

  2. If you would like to try out this program with your sensors, please replace with your calibration parameters in the file dat/calibration.yaml first.

Then run:

cd /path/to/your/workspace
mkdir src
cd src
git clone https://github.com/txfs1926/lidar-and-camera-ttc-measurement.git
cd ..
catkin_make
source devel/setup.bash
rosrun ttc_measurement ttc_measurement

TODOs

Please refer TODOs in source code files.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published