Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Astra driver revamp #31

Open
wants to merge 116 commits into
base: ros2
Choose a base branch
from
Open

Astra driver revamp #31

wants to merge 116 commits into from

Conversation

pedroperrusi
Copy link

Hello everyone,

In my lab we need to integrate Astra Pro cameras into our workflow, so I started to work on its revamp as described in #19 .
I've merged the ROS2 repo with the latest changes in the original ROS driver.

Changes include:

  • Compiles in ROS2 Foxy
  • ROS2 parameter integration
  • Example lunch file
  • Device detection working with Astra PRO

Still working on

  • Depth frame acquisition (callbacks don't work)

I'd love to hear your insights about it

ob-tim-liu and others added 30 commits July 10, 2017 17:24
Cannot include PS1080.h, and it's the wrong file anyway. It would be
nice if the Astra defined the baseline somewhere, so we could use it
here.
Both `freenect_camera` and `openni_camera` publish the topic
`/camera/projector/camera_info`, but `openni2_camera` and `astra_camera`
didn't. This commit fixes that.

The topic is required for the disparity image to work (see
ros-drivers/rgbd_launch#6). This commit is a port from the original
openni_camera driver.

How to test:

    roslaunch astra_launch astra.launch disparity_processing:=true
    rosrun image_view disparity_view image:=/camera/depth/disparity

or:

    roslaunch astra_launch astra.launch depth_registration:=true disparity_registered_processing:=true
    rosrun image_view disparity_view image:=/camera/depth_registered/disparity
The parameters "bootorder" and "devnums" were retrieved twice: Once in
the removed lines, then again immediately below. This removes the
unnecessary first lines to clean up the code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.