Update camera configuration files for devel branch #225
Nicogene
started this conversation in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @robotology/all-robotology-developers.
Please, take note of this important announcement only for robots on devel branch.
In the
devel
branch ofyarp
a new network wrapper for handling camera devices has been added, which is calledgrabberDual
(classyarp::dev::ServerGrabber
), with the aim to replace, one day, the oldgrabber
(classyarp::dev::ServerFrameGrabber
) that will be deprecated.The main feature introduced by
grabberDual
is the possibility to handle two subdevices (cameras), and to publish the images on two different ports or stitched side-by-side on the same port.For taking advantage of this new feature, you have to launch.
yarpdev --from ServerGrabberDual.ini
, whereServerGrabberDual.ini
could be:Where
left_config.ini
andright_config.ini
are the ini files containing the parameters of the left and right camera, e.g. usingusbCamera
:and for dragonfly the format doesn't change, here is an example:
This network wrapper can handle also a single device like the
grabber
, through the olddevice subdevice
formula. For further information, I refer to the specific documentation.In robotology/robots-configuration#30 we updated the configuration files for using the dragonfly cameras through the new
grabberDual
.Here a brief guide how to configure your robot for taking advantage of these changes.
Configure your robot for using grabberDual
This guide presumes that
icub-main
andyarp
are indevel
up to date, andicub-contrib-common
correctly installed(see #143 for more detailed information).robots-configurations
(ini files) on pc104:make install
will copy the folder containing the conf files of your robot ( defined through the env variableYARP_ROBOT_NAME
) inROBOT_CODE\icub-contrib-common\build\share\yarp\robots
. Then:this command will copy
$ROBOT_CODE/icub-contrib-common/build/install/share/ICUBcontrib/robots/$YARP_ROBOT_NAME/camera
to~/.local/share/yarp/robots/$YARP_ROBOT_NAME/camera
.2. Then update on your user pc the xml files for launching the new network wrapper through
yarpmanager
After doing that you will have to change the
node
names in function of your setup in these xml files.Please contact me or @barbalberto for any doubt or issue about this procedure or the new network wrapper.
Beta Was this translation helpful? Give feedback.
All reactions