asitaku / hk_camera

the driver of hk_camera

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hk_camera

ROS wrapper for the hk camera made by Hikrobot.

Install dependencies

Dependencies:

  • ROS Noetic
  • libMvCameraControl.so download MVS_STD_GML_V2.1.1_220511 from https://www.hikrobotics.com/cn/machinevision/service/download?module=0 and install, then extract MVS-2.1.1_x86_64_20220511.tar.gz and decompress it.
  • In the catalogue of which you decompressed, run sudo ./setup.sh.
  • Then run sudo cp /opt/MVS/lib/64/libMvCameraControl.so /usr/lib.

Calibrate

rosrun camera_calibration cameracalibrator.py --size 11x8 --square 0.020 image:=/hk_camera/image_raw camera:=/hk_camera
  • size:the size of the inner corners of the chessboard.

  • square:the length of each square (unit:m).

More information:

About

the driver of hk_camera


Languages

Language:C 92.4%Language:C++ 6.7%Language:Python 0.6%Language:CMake 0.3%