Giter VIP home page Giter VIP logo

basler_camera's Introduction

Basler camera interface with ROS

These are the steps needed to publish Basler camera images to ROS:

  1. Get the Pylon 5 Camera Software Suite from the Basler website:

    http://www.baslerweb.com/en/support/downloads/software-downloads?type=28&series=0&model=0

  2. Follow these instructions (also available in the install file):

a. Change to the directory which contains this INSTALL file, e.g.:

cd ~/pylon-5.0.1.6388-x86_64

b. Extract the corresponding SDK into /opt

sudo tar -C /opt -xzf pylonSDK*.tar.gz

c. Install udev-rules to set up permissions for basler USB cameras

./setup-usb.sh

d. Unplug and replug all USB cameras to get the udev rules applied.

e. Execute /opt/pylon5/bin/PylonViewerApp to test your cameras.

  1. Setup your environment for pylon to find the necessary dependencies:

    source /opt/pylon5/bin/pylon-setup-env.sh /opt/pylon5

    If using it more than once, you probably also want to add this to your ~/.bashrc

  2. Build the package using catkin_make

  3. Launch the basler_Camera node with:

    roslaunch basler_camera basler_camera.launch

    The frame rate could be modified using the frame_rate parameter.

    The camera can optionally be selected with the serial_number parameter.

  4. The image can be visualized using image_view:

    rosrun image_view image_view image:=/camera/image_raw
  5. If you have a stereo system then launch the cameras as:

    roslaunch basler_camera stereo_rectified.launch

    or:

    roslaunch basler_camera stereo_unrectified.launch

basler_camera's People

Contributors

dg-shadow avatar andriypt avatar ugocupcic avatar contradict avatar

Watchers

James Cloos avatar

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.