GithubHelp home page GithubHelp logo

arena_camera's Introduction

arena_camera

arena_camera node publishes image data collected from Lucid Vision Labs Triton GigE cameras in /lucid_vision/camera_"X" /image_raw topic as a ROS message( sensor_msgs/Image). This node can connect to multiple camera devices discovered by Lucid Vision Labs' ArenaSDK. In order to use this node, you need to install Lucid Vision Labs' ArenaSDK.

Installation

This camera driver has been tested on ROS2 Galactic(Ubuntu 20.04) and ROS2 Humble(Ubuntu 22.04).

  1. Download ArenaSDK from here.

  2. Install ArenaSDK.

  3. Before connecting to the camera you need to set your IP address, according to the documentation of Triton Cameras your IP address can be set to 169.254.0.1.

  4. Clone this driver to <your_workspace>/src/.

  5. Check the Serial number of devices and change the serial number values in parameter files. (Serial number writes on the box of the camera) The serial number is different for each product.

    If you have only one camera work on this param file : <your_ws>/src/arena_camera/param/lucid_vision_camera.param.yml If you have more than one camera work on this param file : <your_ws>/src/arena_camera/param/multi_camera.param.yml

  6. Build your code with the following command.

    colcon build

  7. Source the directory and run the executable with following command.

    ros2 launch arena_camera test_node_container.launch.py

    7.1 You can check whether data is flowing or not and what is the rate of it with following commands.

    ros2 topic hz /lucid_vision/<your_camera>/image_raw

  8. Open another terminal and run Rviz2 with following command. rviz2

    8.1 Add the /lucid_vision/<your_camera>/image_raw topic to Display panel. With following "Add">"By topic" section.

    8.2 Set your "Fixed Frame" as "lucid_vision".

    8.3 Set your "Reliability Policy" to "Best Efford". (Best effort works in UDP, Reliable works in TCP/IP)

    8.4 Be sure that the visibility button is checked.

Camera Settings

Camera settings can be made in two ways;

  1. Use default device settings.

    1. Change camera settings with LUCID's ArenaView on a Windows computer.
    2. Load settings to the camera device.
    3. Run this driver using use_default_device_settings parameter as a true.
  2. Change camera setting with rqt_reconfigure.

    1. Open the terminal and run rqt_reconfigure with the following command.

      ros2 run rqt_reconfigure rqt_reconfigure

    2. Change your camera settings with rqt_reconfigure GUI. Choose your camera from the list and change your settings. Choose desired exposure, gain and gamma values. You can also change the FPS of the image. (You can change your settings with ROS2 parameters too. You can find the parameters in the param file.)

    3. Dump your camera settings with the following command.

      ros2 param dump /arena_camera_node --output-dir <your_workspace>/src/arena_camera/param/

      Run the camera node with the new param file. ros2 run arena_camera arena_camera_node_exe --ros-args --params-file <your_workspace>/src/arena_camera/param/arena_camera_node.yaml

arena_camera's People

Contributors

kaancolak avatar senagolcuk avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

izzetbasli

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.