Skip to content

qiayuanl/galaxy_camera

Repository files navigation

galaxy_camera

ROS wrapper for the galaxy camera made by Daheng Imaging.

Dependencies:

  • ROS Melodic
  • gxiapi

ONLY TESTED ON MER-139!!!

Getting started

Install dependencies

Download and build code

This is a ros_packages,you should put it in your ROS workspace.

  1. Get the source:
git clone git@github.com:QiayuanLiao/git@github.com:QiayuanLiao/galaxy_camera.git
  1. Make in your workspace
catkin_make
source devel/setup.bash

Test

  1. Connect the camera by USB, run:
roslaunch galaxy_camera MER-139.launch

check the image on rqt_image_view.

  1. Adjust the params by rqt_reconfigure:
rosrun rqt_reconfigure rqt_reconfigure

image.png

  1. Calibrate:
rosrun camera_calibration cameracalibrator.py --size 7x5 --square 0.030 image:=/galaxy_camera/image_raw camera:=/galaxy_camera
  1. More information: http://wiki.ros.org/image_pipeline

TODO

  • Multi-camera support
  • nodelet support
  • test on other device