CourseWare Wiki
Search
Log In
b232
help
common
kamera_matlab_chameleon_en
Differences
This shows you the differences between two versions of the page.
View differences:
Side by Side
Inline
Go
Link to this comparison view
Both sides previous revision
Previous revision
2022/10/25 12:27 wagnelib [Camera Control (Python)]
2022/10/25 12:24 wagnelib [Camera Control (Python)]
2022/10/25 12:10 wagnelib [Camera control (ROS)]
2021/10/20 13:48 wagnelib [Camera control (ROS)]
2021/10/20 13:48 wagnelib [Camera control (Matlab on Linux)]
2021/10/20 13:44 wagnelib
2021/10/20 13:43 wagnelib
2021/10/20 13:43 wagnelib [Camera control (Matlab on Linux)]
2021/10/20 13:41 wagnelib
2021/10/20 13:38 wagnelib [Camera control (Matlab on Linux)]
2021/10/20 13:38 wagnelib [Camera control (Matlab on Linux)]
2021/10/20 11:54 wagnelib [Camera control (ROS)]
2021/10/20 11:52 wagnelib [Camera control (ROS)]
2021/10/20 11:52 wagnelib [Camera control (ROS)]
2021/10/20 11:51 wagnelib [Camera control (ROS)]
2021/10/20 11:22 wagnelib [Camera control (ROS)]
2021/10/20 11:06 wagnelib
2018/02/03 10:49 external edit
2014/02/19 13:36 zimmerk
2014/02/19 13:34 zimmerk [Camera control]
2014/02/19 13:32 zimmerk [Camera control]
2014/02/19 13:30 zimmerk [USB camera Chameleon]
2014/02/19 11:42 zimmerk [Parameter Settings]
2014/02/19 11:12 zimmerk [Parameter Settings]
2014/02/19 10:36 zimmerk [Parameter Settings]
2014/02/19 10:26 zimmerk [Nastavení parametrů kamery]
2014/02/19 09:58 zimmerk
2014/02/19 09:52 zimmerk
2014/02/18 15:37 zimmerk
2014/02/18 15:27 zimmerk
2014/02/18 15:19 zimmerk created
Go
Next revision
Previous revision
2022/10/25 12:27 wagnelib [Camera Control (Python)]
2022/10/25 12:24 wagnelib [Camera Control (Python)]
2022/10/25 12:10 wagnelib [Camera control (ROS)]
2021/10/20 13:48 wagnelib [Camera control (ROS)]
2021/10/20 13:48 wagnelib [Camera control (Matlab on Linux)]
2021/10/20 13:44 wagnelib
2021/10/20 13:43 wagnelib
2021/10/20 13:43 wagnelib [Camera control (Matlab on Linux)]
2021/10/20 13:41 wagnelib
2021/10/20 13:38 wagnelib [Camera control (Matlab on Linux)]
2021/10/20 13:38 wagnelib [Camera control (Matlab on Linux)]
2021/10/20 11:54 wagnelib [Camera control (ROS)]
2021/10/20 11:52 wagnelib [Camera control (ROS)]
2021/10/20 11:52 wagnelib [Camera control (ROS)]
2021/10/20 11:51 wagnelib [Camera control (ROS)]
2021/10/20 11:22 wagnelib [Camera control (ROS)]
2021/10/20 11:06 wagnelib
2018/02/03 10:49 external edit
2014/02/19 13:36 zimmerk
2014/02/19 13:34 zimmerk [Camera control]
2014/02/19 13:32 zimmerk [Camera control]
2014/02/19 13:30 zimmerk [USB camera Chameleon]
2014/02/19 11:42 zimmerk [Parameter Settings]
2014/02/19 11:12 zimmerk [Parameter Settings]
2014/02/19 10:36 zimmerk [Parameter Settings]
2014/02/19 10:26 zimmerk [Nastavení parametrů kamery]
2014/02/19 09:58 zimmerk
2014/02/19 09:52 zimmerk
2014/02/18 15:37 zimmerk
2014/02/18 15:27 zimmerk
2014/02/18 15:19 zimmerk created
Go
Next revision
Both sides next revision
help:common:kamera_matlab_chameleon_en [2018/02/03 10:49]
127.0.0.1
external edit
help:common:kamera_matlab_chameleon_en [2021/10/20 13:48]
wagnelib
[Camera control (ROS)]
Line 2:
Line 2:
Camera Chameleon is digital USB 2.0 camera //[[http://www.ptgrey.com/products/chameleon/Chameleon_datasheet.pdf|Chameleon]]// manufactued by [[http://www.ptgrey.com|PointGrey]].
Camera Chameleon is digital USB 2.0 camera //[[http://www.ptgrey.com/products/chameleon/Chameleon_datasheet.pdf|Chameleon]]// manufactued by [[http://www.ptgrey.com|PointGrey]].
-
==== Camera control ====
+
==== Camera control
(Matlab on Windows)
====
The camera can be operated in MATLAB via [[http://www.mathworks.com/access/helpdesk/help/toolbox/imaq/f9-75080.html|Image Acquisition Toolboxu]].
The camera can be operated in MATLAB via [[http://www.mathworks.com/access/helpdesk/help/toolbox/imaq/f9-75080.html|Image Acquisition Toolboxu]].
Line 16:
Line 16:
- Eventually, you can clear the memory by the following commands <code>stop(vid);
- Eventually, you can clear the memory by the following commands <code>stop(vid);
delete(vid);</code>
delete(vid);</code>
+
+
+
==== Camera control (Matlab on Linux) ====
+
+
* In linux version of matlab the driver for the camera doe's not work properly, therefore we have added simple function to grab an image (**flygrab**).
+
* First add path to the flygrab directory:
+
<code matlab>
+
addpath('/opt/flygrab');
+
</code>
+
+
* Then grab an image:
+
<code matlab>
+
img = flygrab();
+
</code>
+
+
* In order to configuration the camera use the **FlyCap2** utility.
+
+
==== Camera control (ROS) ====
+
+
Driver documentation: [[http://wiki.ros.org/pointgrey_camera_driver|pointgray_camera_driver]]
+
+
Start camera driver nodes:
+
<code bash>
+
# Assuming that the B3B33ROB ROS Enviroment was properly sourced i.e. :
+
source /opt/ros/b3b33rob
+
+
# just camera driver
+
$ roslaunch b3b33rob_ros camera.launch
+
+
# or camera with robot
+
$ roslaunch b3b33rob_ros start_rv6sdl.launch camera:=true
+
$ roslaunch b3b33rob_ros start_rv6s.launch camera:=true
+
$ roslaunch b3b33rob_ros start_fake_rv6sdl.launch camera:=true
+
$ roslaunch b3b33rob_ros start_fake_rv6sdl.launch camera:=true
+
</code>
+
+
Display camera stream:
+
<code bash>
+
$ rosrun image_view image_view image:=/camera/image_color
+
</code>
+
+
* In order to configuration the camera use the **FlyCap2** utility.
==== Parameter Settings ====
==== Parameter Settings ====
Line 46:
Line 88:
* Picture degradation (spillage) when using different image resolution.
* Picture degradation (spillage) when using different image resolution.
+
==== Parameter Settings (flycap2) ====
+
+
* In terminal run:
+
<code shell>
+
$ flycap2
+
<code>
help/common/kamera_matlab_chameleon_en.txt
· Last modified: 2022/10/25 12:27 by
wagnelib