forked from ernestmc/ros_astra_camera
-
Notifications
You must be signed in to change notification settings - Fork 12
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
pedroperrusi
wants to merge
116
commits into
ros2:ros2
Choose a base branch
from
pedroperrusi:foxy
base: ros2
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…er 3,arm/arm64 use no-filter library
Ported from PCL: https://github.com/PointCloudLibrary/pcl/blob/ecd2e89e748bc1151b7fa9a384ba5e0c3ae0c26f/io/src/openni2/openni2_device.cpp#L79-L85 The old openni_camera used a property provided by the OpenNI library for this, but these have been removed in OpenNI2: https://github.com/ros-drivers/openni_camera/blob/84dec85d79075451f41c3dcf37e1b8eacbd14212/src/openni_device.cpp#L180-L183
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.
…es for Astra Mini S
fix makefile bug for platforms except x64
Add Tf prefix to Astra Pro
Conflicts: CMakeLists.txt include/astra_camera/astra_driver.h package.xml src/astra_driver.cpp
This was referenced May 7, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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:
Still working on
I'd love to hear your insights about it