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

Modify position of the camera on drone #1049

Closed
showaykerker opened this issue May 3, 2018 · 5 comments
Closed

Modify position of the camera on drone #1049

showaykerker opened this issue May 3, 2018 · 5 comments
Labels

Comments

@showaykerker
Copy link
Contributor

I realize that there's an API to change orientations of the already-launch cameras on drone, and also know that it's easy to add additional cameras via setting.json, however, after navigating source codes, I found it hard to understand how to modify cameras' position.
Is there a way to, for example, move the camera with camera_id = 1 to the right of the drone ?

btw, I'm working on a project which needs to get 360 degree point cloud around the vehicle. Are there any chances that a lidar plugin will be release in the future? Or is there any recommendation on how I can implement it ?

@sytelus
Copy link
Contributor

sytelus commented May 3, 2018

@SAmmarAbbas
Copy link

@sytelus I want to modify the camera position and orientation but the above link is not working. Could you check it again? Thanks

@showaykerker
Copy link
Contributor Author

@SAmmarAbbas
I believe it's here
https://github.com/Microsoft/AirSim/blob/master/Unreal/Plugins/AirSim/Source/Vehicles/Car/CarPawn.cpp#L43

@Beijingsheng
Copy link

I have changed the numbers in the FVector of front center camera, however when I use this camera to get images, it seems like the camera is still at its default position. What might cause this?

@Omar-Elmofty
Copy link

I have the same question, I am wondering what did you do to be able to modify the camera's position live while the drone is flying?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants