Giter Site home page Giter Site logo

prosilica_driver's Introduction

prosilica_driver

Contains the ROS driver and the SDK for AVT/Prosilica cameras.

This code was originally developed by Willow Garage and has been edited by Allison Thackston

This software is released under a BSD license:

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of the Carnegie Mellon University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

prosilica_driver's People

Contributors

ahendrix avatar athackst avatar jack-oquin avatar mihelich avatar trainman419 avatar wjwwood avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

prosilica_driver's Issues

Noetic version of procilica camera cause error when nodelet is used.

If apt version of this package is installed to ROS Noetic PC. Error about plugin definition happens and plugin system cannot be used.

TODO

This is because actual placement of nodelet_plugin.xml and definition of it in package.xml are different if this package is installed. This causes error.

<export>
<nodelet plugin="${prefix}/plugins/nodelet_plugins.xml" />
</export>

install(FILES prosilica.launch streaming.launch plugins/nodelet_plugins.xml
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})

Couldn't find executable named ListCameras

I am running ROS Indigo on Ubuntu 14.04. I have installed the prosilica_camera package in a catkin_ws. I used catkin_make instead of rosmake. When I use rosmake, I get a "No Makefile in package prosilica_camera" message.

I am trying to find my camera's IP address according to the tutorial. I am getting stuck on the "rosrun prosilica_gige_sdk ListCameras" step, as I get the following error:

[rosrun] Couldn't find executable named ListCameras below /opt/ros/indigo/share/prosilica_gige_sdk

Looking through the prosilica_gige_sdk code, I can't find the ListCameras executable either? Is this because I didn't successfully use rosmake?

Prosilica as nodelet

Is adding a driver nodelet a planned feature or anyone is already working on it?
I think that it would be viable to have the capability to pass the raw images with zero-copy with image processing nodes.

Indigo release

I am currently working on migrating our software to ROS Indigo and found these packages missing. Will they be released for Indigo?

prosilica_node crashes after running for a while

After running for a while, the prosilica driver thinks that the camera is unplugged and dies. I can reproduce this on a PR2, but haven't tried to reproduce it elsewhere yet.

The timing between problems is inconsistent; a few trials put it around 1-10 minutes.

Using the prosilica driver from debs, version 1.8.2-s1352964595~precise

$ time rosrun prosilica_camera prosilica_node
[ INFO] [1354137621.570694751]: Found camera, guid = 104940
[ INFO] [1354137621.571916537]: Loaded calibration for camera 'prosilica104940'
terminate called after throwing an instance of 'prosilica::ProsilicaException'
what(): Couldn't get attribute StreamBytesPerSecond: Camera was unplugged
Aborted

real 2m30.151s
user 0m0.541s
sys 0m0.410s

$ time rosrun prosilica_camera prosilica_node
[ INFO] [1354137800.713434578]: Found camera, guid = 104940
[ INFO] [1354137800.714648425]: Loaded calibration for camera 'prosilica104940'
terminate called after throwing an instance of 'prosilica::ProsilicaException'
what(): Couldn't get attribute StreamBytesPerSecond: Camera was unplugged
Aborted

real 6m45.111s
user 0m0.974s
sys 0m1.040s

"Camera handle is invalid" error

When I'm running prosilica_node I get this error:
"Reconfigure callback failed with exception Could not start capture: Camera handle is invalid:
terminate called after throwing an instance of 'prosilica::ProsilicaException'
what(): Couldn't get attribute StatFrameRate: Camera handle is invalid".

I am able to ping camera with no problem. On my second PC with this same camera this node is working fine, there are no errors. Both PCs are working under Ubuntu 14.04 and ros Indigo. Samples from pvapi also work fine. My camera is Manta G28B. What is the problem and what should I do to resolve it?

The problem of launch file

When I launch the launch file,it showed the error:
ERROR: cannot launch node of type [prosilica_camera/prosilica_node]: Cannot locate node of type [prosilica_node] in package [prosilica_camera]. Make sure file exists in package path and permission is set to executable (chmod +x)

Could you please give me some idea how to solve it? Thank you very much!

Missing prosilica_gige_sdk command line tools

In hydro all of the command line tools (SampleViewer, ListCameras, etc.) that used to be distributed in the prosilica_gige_sdk package appear to be missing. The package also seems to have been removed from this repository during the cakinization process.

[Noetic Dev Branch] Package Does Not Compile Because Boost Version

It seems ROS Noetic utilized a newer version of Boost than what is used in the prosilica driver nodelet. It seems the version shipped with ROS Noetic now is Version: 1.71.0.0ubuntu2

Tried including the prosilica_driver package from noetic-devel branch in my workspace on my Ubuntu 20 Server, 64 bit machine. I ran into the following issue:

image

I was able to address one of the issues simply by including format after boost was included (line 52 of prosilica_nodelet.cpp):

#include <boost/format.hpp>

However I still run into more issues, as after that I recompile and get:

image

I am not a seasoned enough C++ programmer / Boost library user to try contribute more, and was wondering if anyone knew how to go about addressing this issue? I was going to try uninstall Boost and try install an older version, such as 1.54, but in the process I would end up completely uninstalling ROS Noetic, which is not desirable.

Let me know if I can provide any more information to help.

-Raymond

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.