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

Gimbaled Stereo Camera on Drone #2805

Closed
Omar-Elmofty opened this issue Jun 27, 2020 · 3 comments
Closed

Gimbaled Stereo Camera on Drone #2805

Omar-Elmofty opened this issue Jun 27, 2020 · 3 comments

Comments

@Omar-Elmofty
Copy link

I am trying to simulate a gimballed stereo camera that is attached to the drone. I realize that there is a gimbal that can be setup for individual monocular cameras, however I am wondering if there is a simple way to setup the gimbal for a stereo pair?

If I have to develop a custom solution for this problem, I will have to be able to modify the position and orientation of each of the cameras forming the stereo pair. I know you can change the camera's orientation using the python API call simSetCameraOrientation, however how can you modify the camera's position? I looked at issue #1049 but it's not clear to me how it was resolved!

@rajat2004
Copy link
Contributor

There is a PR #2710 which upgrades the existing simSetCameraOrientation to simSetCameraPose and allows setting of position & orientation, that might be what you're looking for

@Omar-Elmofty
Copy link
Author

This works! Thanks for your help!

@rajat2004
Copy link
Contributor

Glad to hear, do comment on the PR if any more documentation is required or any examples should be added

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

No branches or pull requests

2 participants