Giter Site home page Giter Site logo

ros_astra_camera's Introduction

1,goto catkin workshop dir and compiler astra_camera
$ catkin_make --pkg astra_camera

note: astra driver provide two work method, normal and
 filter. with filter driver, get better quality depth 
data but need high-performance platform , like pc.
 if you work in the ARM, suggest to use normal method. 
 you can use -DFILTER=ON / OFF to change the method.

$ catkin_make --pkg astra_camera -DFILTER=OFF

2,create astra udev rule
$ roscd astra_camera && ./scripts/create_udev_rules

3,run astra_camera
use astra 
$ roslaunch astra_launch astra.launch
use astra pro (uvc rgb )
$ roslaunch astra_launch astrapro.launch

4,you can use rviz or image_view to verify driver


ros_astra_camera's People

Contributors

clalancette avatar dhood avatar ernestmc avatar gerkey avatar marbosjo avatar mikaelarguedas avatar nuclearsandwich avatar secretarybirds avatar tfoote avatar winros avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

ros_astra_camera's Issues

Astra depth camera doesn't seem to work at resolutions > 320x240

For whatever reason, when I try to set the astra camera use the depth camera at any resolution greater than 320x240, it doesn't produce much data. That is, the lower layers of the driver, and/or the camera itself, don't callback into the ROS layer more than once every few seconds. Something is clearly wrong there; we should debug this and/or compare it to the ROS1 driver to get a better sense of what should be happening there.

Astra Mini compatibility

This is the output of the node when connecting to an Astra Mini (Astra without an enclosure, for OEMs):

Device "2bc5/0404@1/31" found.
Warning: USB events thread - failed to set priority. This might cause loss of data...
Warning: USB events thread - failed to set priority. This might cause loss of data...
Starting color stream.
Cannot stream RGB and IR at the same time. Streaming RGB only.
Starting depth stream.

I couldn't see any depth images in Rviz because the frame id in the header was blank. Tracing this down, I found in the AstraDriver::newDepthFrameCallback, that the depth_registration_ flag is true and so it's populating the header and cam_info data with the color camera and not the depth camera.

I'm guessing this isn't the typical execution path when using a regular Astra, and so it's slightly broken.
I'm happy to help fix the issue, with some pointers on the desired behavior.

Astra driver revamp

The whole of the astra driver really needs to be revamped for ROS2. It is fairly ugly right now, doesn't follow best practices, and has a lot of code commented out. We should probably start by cleaning up the upstream orbbec driver in ROS1, then proceed to fix up the ROS2 version of it.

repo lacks top level LICENSE file

This repo lacks a top level LICENSE file.
The sources have BSD-3 license headers, so the repo should have a matching LICENSE file.

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.