Airsim: Modify position of the camera on drone

Created on 3 May 2018  Â·  5Comments  Â·  Source: microsoft/AirSim

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 ?

question

Most helpful comment

All 5 comments

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

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?

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?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

p3jawors picture p3jawors  Â·  3Comments

M-Kasem picture M-Kasem  Â·  3Comments

Kim-BongSu picture Kim-BongSu  Â·  4Comments

kharyal picture kharyal  Â·  3Comments

zywOwO picture zywOwO  Â·  3Comments