Coder Social home page Coder Social logo

jazzalin / event_camera_renderer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ros-event-camera/event_camera_renderer

0.0 0.0 0.0 319 KB

renderer to visualize events contained in event_camera_msgs

License: Apache License 2.0

C++ 77.89% Python 9.49% CMake 12.62%

event_camera_renderer's Introduction

event_camera_renderer

This repository holds tools for rendering event_camera_msgs. It builds under both ROS1 and ROS2.

event_image

Supported platforms

Currently tested on Ubuntu 20.04 (ROS Noetic and ROS2 Galactic) and Ubuntu 22.04 (ROS2 Humble).

How to build

Create a ROS workspace, clone this repo, and use vcs to pull in the remaining dependencies:

pkg=event_camera_renderer
mkdir -p ~/$pkg/src
cd ~/$pkg
git clone https://github.com/ros-event-camera/${pkg}.git src/${pkg}
cd src
vcs import < ${pkg}/${pkg}.repos
cd ..

configure and build on ROS1:

catkin config -DCMAKE_BUILD_TYPE=RelWithDebInfo  # (optionally add -DCMAKE_EXPORT_COMPILE_COMMANDS=1)
catkin build

configure and build on ROS2:

cd ~/$pkg/src
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=RelWithDebInfo  # (optionally add -DCMAKE_EXPORT_COMPILE_COMMANDS=1)

How to use

Examine the launch file and adjust the topic remapping, frequency etc, then start as follows (assuming the camera driver is running under node name event_camera):

ROS1:

# create rendered ROS image stream from events
roslaunch event_camera_renderer renderer.launch camera:=event_camera
rqt_image_view

ROS2:

# create rendered ROS image stream from events
ros2 launch event_camera_renderer renderer.launch.py camera:=event_camera
ros2 run rqt_image_view rqt_image_view

Parameters:

  • fps Frequency (in hz) at which images are emitted. Default: 25.
  • display_type Supported types are time_slice (all events between frames are aggregated) or sharp (number of events is auto-controlled to produce sharp features). Default is time_slice. This image shows the difference (left is sharp, right is time_slice):

License

This software is issued under the Apache License Version 2.0.

event_camera_renderer's People

Contributors

berndpfrommer 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.