-
Notifications
You must be signed in to change notification settings - Fork 10
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
updated flip realsense #27
Conversation
If this new parameter is suggested (not specifying it results in a warning) can you update the README to cover it, and add a line to the changelog about it? Thanks! |
Thanks for the review @traversaro, I think that the best way is to remove the warning. Under the suggestion of @elandini84 I've put a warning when the parameter is enabled. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the nested for loops are not affecting too much the performance, lgtm
I think you already looked if there is something in the configuration of the device or native functions for flipping in the sdk
On the sdk they're saying to use opencv, so I think this is the best way. Also if this option is not enabled the behavior is the same as before |
I would give a try in order to see if the improvement in performance with OpenCV is worthy adding the dependency. But if you already tested it and you have solid fps we can merge it |
I've not tested it with big fps, since on the robot we're using low fps. But I can open an issue to track it and check it |
I think it does not worth adding opencv dependency for such a simple processing... |
Co-authored-by: Silvio Traversaro <silvio@traversaro.it>
Co-authored-by: Silvio Traversaro <silvio@traversaro.it>
@traversaro do you want me to squash the commits? otherwise for me it can be merged |
Thanks for the remainder and for the PR, I simply forgot. |
no problem, thank you |
Added option
rotateImage180
in order to rotate the image when the realsense is flipped upside down