-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Any docs indicates available filters? #742
Comments
Documentation for the post-processing filter types can be found here: https://github.com/IntelRealSense/librealsense/blob/master/doc/post-processing-filters.md |
@MartyG-RealSense Thanks Sir. Could u provide which string it allowed in realsense_ros that can set inside launch files? From those docs I don't know which string mapping which method |
ROS launch parameters for the filters are listed in the section linked to below. https://github.com/intel-ros/realsense#launch-parameters disparity - convert depth to disparity before applying other filters and back. The launch format is to put the word filters:= and then the filter name that you want to launch. If there is more than one filter name, separate them with commas. For example: roslaunch realsense2_camera rs_camera.launch filters:=hole_filling |
Hi, how would I set the parameters in the launch file then? For example setting the decimation factor to 4? and also how to use disparity filter if I want to filter in the following sequence for the depth stream: decimation(4)->disparity transfrom->spatial->temporal->disparity->hole_filling ? |
You can set the general filter type in the roslaunch instruction, and then set the specifics of the filter in a 'rosrun' instruction after the roslaunch command, using dynamic reconfigure. |
Okay I see, thanks. I ll try dynamic reconfigure. |
I've got the same question. Can I set the parameters for the filters in the launch file, and if so, how? Or where else could I set them programatically (not in rqt_reconfigure), since I understand that the json params file doesn't support post-processing parameters? We could use |
@adrianramospeon , |
@doronhi
It works, and I'm satisfied with it, but it's a different style and a bit messier than the rest of the parameters (like infra_width, depths_fps, etc...). I now understand that these post-processing parameters are meant to be fiddled with, while the of the others described in https://github.com/IntelRealSense/realsense-ros#launch-parameters are rather static, and hence the difference. Thanks and thumbs up for your work on this project! |
Thank you.
It will be incorporated in the upcoming release. |
@adrianramospeon Any other questions about this? Looking forward to your update. Thanks! |
No further questions, previous reply by @doronhi provided exactly what I was looking for. Thanks for the great support. It might be useful for newcomers to add a couple of documentation lines about this in https://github.com/IntelRealSense/realsense-ros#launch-parameters ? |
@doronhi |
The list of supported filters is available, as @MartyG-RealSense commented above.
To get a list of available parameters for the temporal filter run:
Where you can find the available parameters and their current value. All those parameters are not mentioned in the realsense2_camera's documentation because they are inherited, in runtime, from the librealsense2's objects. The documentation regarding each filter is maintained in librealsense2's documentation. Names were changed to follow ROS conventions. |
I want set a detph filters in launch file:
But this filter method actually does not exist.
How many filter methods exist now?
The text was updated successfully, but these errors were encountered: