Code Monkey home page Code Monkey logo

matrixvision_camera's Introduction

matrixvision_camera

ROS Driver for Matrix Vision BlueFOX and BlueCOUGAR cameras

matrixvision_camera's People

Contributors

furgalep avatar simonlynen avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

matrixvision_camera's Issues

mv_camera_node & mv_camera_interface launch files

the launch files have unreadable characters (to the text editor) instead of being XML documents. as a result, when i call roslaunch mv_camera mv_camera_node i get "invalid roslaunch xml syntax: not well-formed (invalid token)".
can you please tell me why i get the invalid launch files?

matrixvision_camera rosmake problem

hello
i am a beginner in ROS ,

I am using ros hydro and i want to use the matrixvision_camera package to run my bluefox camera
"rosmake matrixvision_camera" gives me a failure when building the package mv_camera

can you help me please !

here is the error :

mix@PORTEGE-R830:/ros/ros-pkg$ rosmake matrixvision_camera
[ rosmake ] rosmake starting...
[ rosmake ] Packages requested are: ['matrixvision_camera']
[ rosmake ] Logging to directory /home/mix/.ros/rosmake/rosmake_output-20141210-162910
[ rosmake ] Expanded args ['matrixvision_camera'] to:
['mv_driver', 'mv_camera']
[rosmake-0] Starting >>> roslang [ make ]
[rosmake-1] Starting >>> geometry_msgs [ make ]
[rosmake-2] Starting >>> common_rosdeps [ make ]
[rosmake-3] Starting >>> roslib [ make ]
[rosmake-0] Finished <<< roslang No Makefile in package roslang
[rosmake-1] Finished <<< geometry_msgs No Makefile in package geometry_msgs
[rosmake-0] Starting >>> roscpp [ make ]
[rosmake-1] Starting >>> sensor_msgs [ make ]
[rosmake-3] Finished <<< roslib No Makefile in package roslib
[rosmake-2] Finished <<< common_rosdeps ROS_NOBUILD in package common_rosdeps
[rosmake-3] Starting >>> rostest [ make ]
[rosmake-2] Starting >>> diagnostic_msgs [ make ]
[rosmake-0] Finished <<< roscpp No Makefile in package roscpp
[rosmake-0] Starting >>> std_msgs [ make ]
[rosmake-1] Finished <<< sensor_msgs No Makefile in package sensor_msgs
[rosmake-1] Starting >>> camera_calibration_parsers [ make ]
[rosmake-3] Finished <<< rostest No Makefile in package rostest
[rosmake-3] Starting >>> rospy [ make ]
[rosmake-2] Finished <<< diagnostic_msgs No Makefile in package diagnostic_msgs
[rosmake-0] Finished <<< std_msgs No Makefile in package std_msgs
[rosmake-2] Starting >>> rosservice [ make ]
[rosmake-0] Starting >>> diagnostic_updater [ make ]
[rosmake-1] Finished <<< camera_calibration_parsers ROS_NOBUILD in package camera_calibration_parsers
[rosmake-3] Finished <<< rospy No Makefile in package rospy
[rosmake-2] Finished <<< rosservice No Makefile in package rosservice
[rosmake-0] Finished <<< diagnostic_updater ROS_NOBUILD in package diagnostic_updater
[rosmake-1] Starting >>> camera_info_manager [ make ]
[rosmake-1] Finished <<< camera_info_manager ROS_NOBUILD in package camera_info_manager
[rosmake-3] Starting >>> self_test [ make ]
[rosmake-2] Starting >>> dynamic_reconfigure [ make ]
[rosmake-1] Starting >>> rosbuild [ make ]
[rosmake-0] Starting >>> rosconsole [ make ]
[rosmake-3] Finished <<< self_test ROS_NOBUILD in package self_test
[rosmake-3] Starting >>> message_filters [ make ]
[rosmake-1] Finished <<< rosbuild No Makefile in package rosbuild
[rosmake-2] Finished <<< dynamic_reconfigure ROS_NOBUILD in package dynamic_reconfigure
[rosmake-1] Starting >>> bond [ make ]
[rosmake-0] Finished <<< rosconsole No Makefile in package rosconsole
[rosmake-2] Starting >>> driver_base [ make ]
[rosmake-3] Finished <<< message_filters No Makefile in package message_filters
[rosmake-3] Starting >>> smclib [ make ]
[rosmake-0] Starting >>> pluginlib [ make ]
[rosmake-2] Finished <<< driver_base ROS_NOBUILD in package driver_base
[rosmake-1] Finished <<< bond ROS_NOBUILD in package bond
[rosmake-1] Starting >>> bullet [ make ]
[rosmake-2] Starting >>> angles [ make ]
[rosmake-0] Finished <<< pluginlib ROS_NOBUILD in package pluginlib
[rosmake-0] Starting >>> image_transport [ make ]
[rosmake-3] Finished <<< smclib ROS_NOBUILD in package smclib
[rosmake-3] Starting >>> bondcpp [ make ]
[rosmake-2] Finished <<< angles ROS_NOBUILD in package angles
[rosmake-2] Starting >>> roswtf [ make ]
[rosmake-1] Finished <<< bullet ROS_NOBUILD in package bullet
[rosmake-1] Starting >>> mv_driver [ make ]
[rosmake-3] Finished <<< bondcpp ROS_NOBUILD in package bondcpp
[rosmake-0] Finished <<< image_transport ROS_NOBUILD in package image_transport
[rosmake-3] Starting >>> nodelet [ make ]
[rosmake-2] Finished <<< roswtf No Makefile in package roswtf
[rosmake-2] Starting >>> tf [ make ]
[rosmake-3] Finished <<< nodelet ROS_NOBUILD in package nodelet
[rosmake-2] Finished <<< tf ROS_NOBUILD in package tf
[rosmake-1] Finished <<< mv_driver [PASS] [ 2659.54 seconds ]
[rosmake-1] Starting >>> mv_camera [ make ]
[ rosmake ] Last 40 lines_camera: 25.5 sec ] [ 1 Active 31/32 Complete ]
{-------------------------------------------------------------------------------
make[3]: entrant dans le répertoire « /home/mix/ros/ros-pkg/matrixvision_camera/mv_camera/build »
[ 50%] Building CXX object CMakeFiles/mv_camera_interface.dir/src/driver_interface_node.cpp.o
Scanning dependencies of target mv_camera_driver
make[3]: quittant le répertoire « /home/mix/ros/ros-pkg/matrixvision_camera/mv_camera/build »
make[3]: entrant dans le répertoire « /home/mix/ros/ros-pkg/matrixvision_camera/mv_camera/build »
[ 58%] [ 66%] Building CXX object CMakeFiles/mv_camera_driver.dir/src/driver_mv_camera.cpp.o
[ 75%] Building CXX object CMakeFiles/mv_camera_driver.dir/src/dev_mv_camera.cpp.o
Building CXX object CMakeFiles/mv_camera_driver.dir/src/features.cpp.o
Linking CXX executable ../bin/mv_camera_interface
make[3]: quittant le répertoire « /home/mix/ros/ros-pkg/matrixvision_camera/mv_camera/build »
[ 75%] Built target mv_camera_interface
[ 83%] Building CXX object CMakeFiles/mv_camera_driver.dir/src/formats.cpp.o
Linking CXX shared library ../lib/libmv_camera_driver.so
make[3]: quittant le répertoire « /home/mix/ros/ros-pkg/matrixvision_camera/mv_camera/build »
[ 83%] Built target mv_camera_driver
make[3]: entrant dans le répertoire « /home/mix/ros/ros-pkg/matrixvision_camera/mv_camera/build »
make[3]: entrant dans le répertoire « /home/mix/ros/ros-pkg/matrixvision_camera/mv_camera/build »
Scanning dependencies of target mv_camera_node
make[3]: quittant le répertoire « /home/mix/ros/ros-pkg/matrixvision_camera/mv_camera/build »
make[3]: entrant dans le répertoire « /home/mix/ros/ros-pkg/matrixvision_camera/mv_camera/build »
Scanning dependencies of target mv_camera_nodelet
make[3]: quittant le répertoire « /home/mix/ros/ros-pkg/matrixvision_camera/mv_camera/build »
[ 91%] make[3]: entrant dans le répertoire « /home/mix/ros/ros-pkg/matrixvision_camera/mv_camera/build »
Building CXX object CMakeFiles/mv_camera_node.dir/src/mv_camera_node.cpp.o
[100%] Building CXX object CMakeFiles/mv_camera_nodelet.dir/src/mv_camera_nodelet.cpp.o
Linking CXX executable ../bin/mv_camera_node
../lib/libmv_camera_driver.so: undefined reference to mv_camera::PropertyMapRequest_<std::allocator<void> >::SHOW_FLAGS' ../lib/libmv_camera_driver.so: undefined reference tomv_camera::PropertyMapRequest_std::allocator::SHOW_VALUES'
collect2: ld a retourné 1 code d'état d'exécution
make[3]: *** [../bin/mv_camera_node] Erreur 1
make[3]: quittant le répertoire « /home/mix/ros/ros-pkg/matrixvision_camera/mv_camera/build »
make[2]: *** [CMakeFiles/mv_camera_node.dir/all] Erreur 2
make[2]: *** Attente des tâches non terminées....
Linking CXX shared library ../lib/libmv_camera_nodelet.so
make[3]: quittant le répertoire « /home/mix/ros/ros-pkg/matrixvision_camera/mv_camera/build »
[100%] Built target mv_camera_nodelet
make[2]: quittant le répertoire « /home/mix/ros/ros-pkg/matrixvision_camera/mv_camera/build »
make[1]: *** [all] Erreur 2
make[1]: quittant le répertoire « /home/mix/ros/ros-pkg/matrixvision_camera/mv_camera/build »
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package mv_camera written to:
[ rosmake ] /home/mix/.ros/rosmake/rosmake_output-20141210-162910/mv_camera/build_output.log
[rosmake-1] Finished <<< mv_camera [FAIL] [ 25.55 seconds ]
[ rosmake ] Halting due to failure in package mv_camera.
[ rosmake ] Waiting for other threads to complete.
[ rosmake ] Results:
[ rosmake ] Built 32 packages with 1 failures.
[ rosmake ] Summary output to directory
[ rosmake ] /home/mix/.ros/rosmake/rosmake_output-20141210-162910
mix@PORTEGE-R830:
/ros/ros-pkg$ rosmake matrixvision_camera

Running on Odroid U3

I'm trying to get the driver running on an odroid u3, running ubuntu 14.04 and ROS Indigo. I've compiled the driver against the latest ARM mvBlueFOX drivers from the matrixvision site. I'm running into some trouble, if I specify a device ID the driver cannot find it

process[mv_camera-2]: started with pid [5457]
[ INFO] [1427884667.227587241]: trying to open camera 25001480
[ WARN] [1427884667.228135782]: [camera] exception opening device (retrying): [MVCamera::open]: Could not find a camera
[ INFO] [1427884667.228706699]: trying to open camera 25001480
[ WARN] [1427884667.229154532]: [camera] exception opening device (retrying): [MVCamera::open]: Could not find a camera
[ INFO] [1427884667.229570616]: trying to open camera 25001480
[ WARN] [1427884667.229894032]: [camera] exception opening device (retrying): [MVCamera::open]: Could not find a camera
[ INFO] [1427884667.230259991]: trying to open camera 25001480
[ WARN] [1427884667.230558324]: [camera] exception opening device (retrying): [MVCamera::open]: Could not find a camera
[ INFO] [1427884667.231285282]: trying to open camera 25001480
[ WARN] [1427884667.231453699]: [camera] exception opening device (retrying): [MVCamera::open]: Could not find a camera
[ INFO] [1427884667.231701907]: trying to open camera 25001480
[ERROR] [1427884667.232133449]: [camera] device open failed: [MVCamera::open]: Could not find a camera

Running the node with no device id specified results in a virtual device being loaded:

[ INFO] [1427884942.609842914]: Connected to master at [localhost:11311]
[ INFO] [1427884942.979972456]: no GUID specified or not properly specified (guid=""), trying to open first available camera
[ INFO] [1427884942.991588789]: camera family:mvVirtualDevice; camera model: VirtualDevice; firmware version: 666; serial number: VD000001
[ INFO] [1427884942.996294539]: [MV_CAMERA_VD000001] opened!
[ WARN] [1427884942.997131831]: Reconfigure callback failed with exception Invalid proplist ID: 

Am I using the right version on the ARM driver? I can only find 2.12 of mvIMPACT_Acquire.

Thanks

fix Request::infoFrameID and Request::infoFrameNr

now int64 as of v 2.4.0:

The properties 'Request::infoFrameID' and 'Requst::infoFrameNr' are reported as 64
bit integers now. Applications compiled with this version of the interface MUST
update mvPropHandling-lib on the target system when accessing these properties!

Supported interfaces

Hi I wanted to know what interfaces (USB 2.0, USB 3.0, Gigabit Ethernet) are supported in this driver package.

Thanks!

fix new GigE libraries names / locations

from history file:
11.01.2013 2.3.0 CHANGED BEHAVIOUR:
- mvBlueCOUGAR-msi packages have been renamed to mvGenTL_Acquire-msi. Some libaries (mvBlueCOUGAR.msi -> mvGenTL_Acquire.msi)
belonging to these packages also changed their name: mvBlueCOUGAR-lib became (mvBlueCOUGAR-lib -> mvGenTLConsumer-lib)
mvGenTLConsumer-lib, mvTLIClientGigE.cti became mvGenTLProducer.cti. This change (mvTLIClientGigE.cti -> mvGenTLProducer.cti)
became necessary as by now a much wider range of products(e.g. mvBlueFOX3,
mvBlueLYNX-X) is supported by this package and therefore the names became misleading.
The old files are still part of the package but are not installed by default anymore.
See 'Installation from private setup routines' for details.

Second compilation of mv_driver fails

Trying to compile the mv_driver package succeeds the first time, then fails as wget refuses to redownload and exits with an error:

ptf@V-Charge-ubuntu:~/Work/ethz/code/ros_vc/matrixvision_camera/mv_driver$ make
./make.sh
### downloading and unpacking drivers to /home/ptf/Work/ethz/code/ros_vc/matrixvision_camera/mv_driver ###
File `mvGenTL_Acquire-x86_64_ABI2-2.5.1.tgz' already there; not retrieving.
make: *** [all] Error 1

Scanning the wget man page, I didn't see a flag that would help here (although there probably is one).

check/fix adjusted bluefox gain parameters

  • mvBlueFOX-x00w: Increased gain range (lower limit is -1dB now).
  • mvBlueFOX-x00w: Increased minimum exposure time to the minimum the sensor can actually work with properly.
  • mvBlueFOX-x00w: Adjusted gain in HDR mode.

Errors with rosmake and mv_camera on Hydro

Hello, I am trying to compile the package on my rosbuild directory in Hydro (Ubuntu 12.04), but I am getting very similar errors to those from issue #8, unfortunately that issue was closed without an answer.

In my case, when I apply rosmake matrixvision_camera the package starts compiling, remains like that for some minutes and in the end I get the following error:

[ rosmake ] Last 40 lines_camera: 5.9 sec ] [ 1 Active 64/65 Complete ]
{-------------------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/ros/hydro/share/dynamic_reconfigure/cmake/gendeps", line 66, in
imp.load_module("main", f, srcfile, ('.cfg', 'U', 1))
File "/home/irene/hydro_workspace/sandbox/matrixvision_camera/mv_camera/cfg/mv_camera.cfg", line 38, in
import roslib; roslib.load_manifest(PACKAGE)
File "/opt/ros/hydro/lib/python2.7/dist-packages/roslib/launcher.py", line 62, in load_manifest
sys.path = _generate_python_path(package_name, _rospack) + sys.path
File "/opt/ros/hydro/lib/python2.7/dist-packages/roslib/launcher.py", line 98, in _generate_python_path
packages = get_depends(pkg, rospack)
File "/opt/ros/hydro/lib/python2.7/dist-packages/roslib/launcher.py", line 51, in get_depends
vals = rospack.get_depends(package, implicit=True)
File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 236, in get_depends
s.update(self.get_depends(p, implicit))
File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 236, in get_depends
s.update(self.get_depends(p, implicit))
File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 236, in get_depends
s.update(self.get_depends(p, implicit))
File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 230, in get_depends
names = [p.name for p in self.get_manifest(name).depends]
File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 163, in get_manifest
return self._load_manifest(name)
File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 207, in _load_manifest
retval = self._manifests[name] = parse_manifest_file(self.get_path(name), self._manifest_name, rospack=self)
File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 199, in get_path
raise ResourceNotFound(name, ros_paths=self._ros_paths)
rospkg.common.ResourceNotFound: cmake_modules
ROS path [0]=/opt/ros/hydro/share/ros
ROS path [1]=/home/irene/hydro_workspace/sandbox
ROS path [2]=/opt/ros/hydro/share
ROS path [3]=/opt/ros/hydro/stacks

CMake Error at /opt/ros/hydro/share/dynamic_reconfigure/cmake/cfgbuild.cmake:78 (string):
string sub-command REPLACE requires at least four arguments.
Call Stack (most recent call first):
/opt/ros/hydro/share/dynamic_reconfigure/cmake/cfgbuild.cmake:99 (gencfg_cpp)
CMakeLists.txt:22 (include)

-- Configuring incomplete, errors occurred!
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package mv_camera written to:
[ rosmake ] /home/irene/.ros/rosmake/rosmake_output-20150617-160025/mv_camera/build_output.log
[rosmake-3] Finished <<< mv_camera [FAIL] [ 5.92 seconds ]
[ rosmake ] Halting due to failure in package mv_camera.
[ rosmake ] Waiting for other threads to complete.
[ rosmake ] Results:
[ rosmake ] Built 65 packages with 1 failures.

The mv_driver seems to compile well according to the log but the error is in mv_camera. It seems to be an error with dynamic_reconfigure but I do not understand it and have not been able to fix it. When I apply once again the command rosmake matrixvision_camera, I get this:

[ rosmake ] rosmake starting...
[ rosmake ] Packages requested are: ['matrixvision_camera']
[ rosmake ] Logging to directory /home/irene/.ros/rosmake/rosmake_output-20150617-161505
[ rosmake ] Expanded args ['matrixvision_camera'] to:
[]
[ rosmake ] WARNING: The following args could not be parsed as stacks or packages: ['matrixvision_camera']
[ rosmake ] ERROR: No arguments could be parsed into valid package or stack names.

I have worked mostly with catkin since I am new to ros, so I might be omitting something, but I haven't been able to find out what it can be. Thank you in advance for the help.

The complete log of the errors can be found here: https://gist.github.com/Athria/6fd4e4c7356b6058f0ea

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.