Matrix Vision Cameras (MLC200G / MLC200C) ROS Driver Installation
Matrix vision cameras and also called as blue fox cameras (I dont know why there are being called like that) is a very light weight and small in size. It is given with a old usb 2.0 port to access the camera by directly plugging to laptop.
The best part is, for ROS developers the the driver (bluefox2) is available (here).
 Along with the above, bluefox2 depends on  camera_base package. Clone both the packages into your workspace and make it using (catkin).
Prior to this you need to install the driver for camera into your machine.
Go to matrix vision website for the driver (here). Download the driver form software tab in that and do the following for the installation
$ tar xvzf mvBlueFOX-x86_64_ABI2-2.19.0.tgz
$ cd mvIMPACT_acquire-x86_64-2.19.0/
$ cd lib/x_86_64/
$ sudo cp -P lib* /usr/local/lib/
$ sudo ldconfig
come back to mvIMPACT_acquire-x86_64-2.19.0
$ cd Scripts/
$ sudo cp 51-mvbf.rules /etc/udev/rules.d/
$ sudo service udev restart
$ cd ..
$ cd apps/
$ make
after this if all the things goes fine its okay then you can launch the gui to check the camera from
$ cd mvIMPACT_acquire-x86_64-2.19.0/apps/mvPropView/x86_64/
$ ./wxPropView
After this a gui wil open there you can connect and update the camera to see the feed.
If the make comes with error install g++multilib, that will make your run smooth
$ sudo apt-get install g++-multilib
Now everything will go fine, after this repeat the above step to open gui.
After all this installations comming back to ROS , you now launch the nodes with the device id of the camera
$ roslaunch bluefox2 single_node.launch device:="(your camera id)"
ID you can get from the GUI or else you enter some wrong name the console will show the available devices connected. Then you can proceed with that ID.
Everything is done, just connect the camera, launch the node get the feed from  image_raw topic.

Enjoy.


Comments